POST api/users/setUserRole/{userRoleId}/in/{userGroupId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userGroupId | globally unique identifier |
Required |
|
| userRoleId | globally unique identifier |
Required |
Body Parameters
Collection of globally unique identifierRequest Formats
application/json, text/json
Sample:
[ "8eb21c1b-472c-4fed-a74a-40c153e7ee64", "81bbacb5-7ca9-41bc-a3e0-ebb7403104d6" ]
application/xml, text/xml
Sample:
<ArrayOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <guid>8eb21c1b-472c-4fed-a74a-40c153e7ee64</guid> <guid>81bbacb5-7ca9-41bc-a3e0-ebb7403104d6</guid> </ArrayOfguid>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Errors | Collection of Error |
None. |
|
| IsValid | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Errors": [
{
"PropertyName": "sample string 1",
"Message": "sample string 2"
},
{
"PropertyName": "sample string 1",
"Message": "sample string 2"
}
],
"IsValid": false
}
application/xml, text/xml
Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alice.Dto.Core">
<Errors>
<Error>
<Message>sample string 2</Message>
<PropertyName>sample string 1</PropertyName>
</Error>
<Error>
<Message>sample string 2</Message>
<PropertyName>sample string 1</PropertyName>
</Error>
</Errors>
</ApiResponse>