POST api/AdminUser/editBackendAdminUser
Request Information
URI Parameters
None.
Body Parameters
BackendAdminUserModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| LoginName | string |
None. |
|
| NickName | string |
None. |
|
| Password | string |
None. |
|
| WorkerID | integer |
None. |
|
| PhoneNo | string |
None. |
|
| Remark | string |
None. |
|
| CreateTime | string |
None. |
|
| Role | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"LoginName": "sample string 2",
"NickName": "sample string 3",
"Password": "sample string 4",
"WorkerID": 5,
"PhoneNo": "sample string 6",
"Remark": "sample string 7",
"CreateTime": "sample string 8",
"Role": [
1,
2
]
}
application/xml, text/xml
Sample:
<BackendAdminUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WORK.Api.Models">
<CreateTime>sample string 8</CreateTime>
<ID>1</ID>
<LoginName>sample string 2</LoginName>
<NickName>sample string 3</NickName>
<Password>sample string 4</Password>
<PhoneNo>sample string 6</PhoneNo>
<Remark>sample string 7</Remark>
<Role xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</Role>
<WorkerID>5</WorkerID>
</BackendAdminUserModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| msg | string |
None. |
|
| data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"msg": "sample string 2",
"data": {}
}
application/xml, text/xml
Sample:
<HttpResOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WORK.Api.Models"> <code>1</code> <data /> <msg>sample string 2</msg> </HttpResOfstring>