POST api/Member/User/{ID}/Roles
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | string |
Required |
Body Parameters
Collection of DTO_Role| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | string |
None. |
|
| Name | string |
None. |
|
| Is_Admin | boolean |
None. |
|
| Is_User | boolean |
None. |
|
| Is_Guest | boolean |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"ID": "sample string 1",
"Name": "sample string 2",
"Is_Admin": true,
"Is_User": true,
"Is_Guest": true
},
{
"ID": "sample string 1",
"Name": "sample string 2",
"Is_Admin": true,
"Is_User": true,
"Is_Guest": true
}
]
application/xml, text/xml
Sample:
<ArrayOfDTO_Role xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PrintService.DTO">
<DTO_Role>
<ID>sample string 1</ID>
<Is_Admin>true</Is_Admin>
<Is_Guest>true</Is_Guest>
<Is_User>true</Is_User>
<Name>sample string 2</Name>
</DTO_Role>
<DTO_Role>
<ID>sample string 1</ID>
<Is_Admin>true</Is_Admin>
<Is_Guest>true</Is_Guest>
<Is_User>true</Is_User>
<Name>sample string 2</Name>
</DTO_Role>
</ArrayOfDTO_Role>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.