POST api/AdminUser/bindAdminUser_Role
Request Information
URI Parameters
None.
Body Parameters
WORK_AdminUser_Role| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| UserID | integer |
None. |
|
| RoleID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"UserID": 2,
"RoleID": 3
}
application/xml, text/xml
Sample:
<WORK_AdminUser_Role xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WORK.Domain.Entities"> <ID>1</ID> <RoleID>3</RoleID> <UserID>2</UserID> </WORK_AdminUser_Role>
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>