POST User/Sys_User/Edit

Request Information

URI Parameters

None.

Body Parameters

IUserEdit
NameDescriptionTypeAdditional information
userId

integer

None.

action_user

string

None.

Sys_User

Sys_User

None.

modify_date

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": 1,
  "action_user": "sample string 2",
  "Sys_User": {
    "IID": 1,
    "Uname": "sample string 2",
    "Upwd": "sample string 3",
    "U_RightStr": "sample string 4",
    "U_IsEnable": true,
    "U_Worker_NO": "sample string 6",
    "U_Worker_name": "sample string 7",
    "U_Worker_Post_Info": "sample string 8",
    "Maker": "sample string 9",
    "Make_Date": "2024-11-28 14:48:52",
    "Modifier": "sample string 10",
    "Modi_Date": "2024-11-28 14:48:52",
    "Remark": "sample string 11",
    "Random_Code": 1,
    "Power_Lv": 1,
    "Contact_User": "sample string 12",
    "Contact_Phone": "sample string 13",
    "Email": "sample string 14",
    "Status": 1,
    "Company_Adress": "sample string 15",
    "Dept_Code": "sample string 16",
    "Dept_Name": "sample string 17",
    "P_Dept_Code": "sample string 18",
    "Role_ID": "sample string 19",
    "Role_Name": "sample string 20",
    "Company_Name": "sample string 21",
    "Phone": "sample string 22",
    "Guid": "sample string 23",
    "User_Sign": "sample string 24",
    "file_content": "QEA=",
    "Standard": "sample string 25"
  },
  "modify_date": "sample string 3"
}

application/xml, text/xml

Sample:
<IUserEdit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.Request">
  <Sys_User xmlns:d2p1="http://schemas.datacontract.org/2004/07/WeldingAPI.Models.EF">
    <d2p1:Company_Adress>sample string 15</d2p1:Company_Adress>
    <d2p1:Company_Name>sample string 21</d2p1:Company_Name>
    <d2p1:Contact_Phone>sample string 13</d2p1:Contact_Phone>
    <d2p1:Contact_User>sample string 12</d2p1:Contact_User>
    <d2p1:Dept_Code>sample string 16</d2p1:Dept_Code>
    <d2p1:Dept_Name>sample string 17</d2p1:Dept_Name>
    <d2p1:Email>sample string 14</d2p1:Email>
    <d2p1:Guid>sample string 23</d2p1:Guid>
    <d2p1:IID>1</d2p1:IID>
    <d2p1:Make_Date>2024-11-28T14:48:52.145264+08:00</d2p1:Make_Date>
    <d2p1:Maker>sample string 9</d2p1:Maker>
    <d2p1:Modi_Date>2024-11-28T14:48:52.145264+08:00</d2p1:Modi_Date>
    <d2p1:Modifier>sample string 10</d2p1:Modifier>
    <d2p1:P_Dept_Code>sample string 18</d2p1:P_Dept_Code>
    <d2p1:Phone>sample string 22</d2p1:Phone>
    <d2p1:Power_Lv>1</d2p1:Power_Lv>
    <d2p1:Random_Code>1</d2p1:Random_Code>
    <d2p1:Remark>sample string 11</d2p1:Remark>
    <d2p1:Role_ID>sample string 19</d2p1:Role_ID>
    <d2p1:Role_Name>sample string 20</d2p1:Role_Name>
    <d2p1:Standard>sample string 25</d2p1:Standard>
    <d2p1:Status>1</d2p1:Status>
    <d2p1:U_IsEnable>true</d2p1:U_IsEnable>
    <d2p1:U_RightStr>sample string 4</d2p1:U_RightStr>
    <d2p1:U_Worker_NO>sample string 6</d2p1:U_Worker_NO>
    <d2p1:U_Worker_Post_Info>sample string 8</d2p1:U_Worker_Post_Info>
    <d2p1:U_Worker_name>sample string 7</d2p1:U_Worker_name>
    <d2p1:Uname>sample string 2</d2p1:Uname>
    <d2p1:Upwd>sample string 3</d2p1:Upwd>
    <d2p1:User_Sign>sample string 24</d2p1:User_Sign>
    <d2p1:file_content>QEA=</d2p1:file_content>
  </Sys_User>
  <action_user>sample string 2</action_user>
  <modify_date>sample string 3</modify_date>
  <userId>1</userId>
</IUserEdit>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BaseResult
NameDescriptionTypeAdditional information
Success

integer

None.

Msg

string

None.

Token

string

None.

Key

string

None.

FileName

string

None.

FilePageCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": 1,
  "Msg": "sample string 2",
  "Token": "sample string 3",
  "Key": "sample string 4",
  "FileName": "sample string 5",
  "FilePageCount": 6
}

application/xml, text/xml

Sample:
<BaseResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WeldingAPI.Models">
  <FileName>sample string 5</FileName>
  <FilePageCount>6</FilePageCount>
  <Key>sample string 4</Key>
  <Msg>sample string 2</Msg>
  <Success>1</Success>
  <Token>sample string 3</Token>
</BaseResult>