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:
[ "942ff51a-d544-4b5a-8a6a-604329aefa86", "607050dd-09c0-4cc7-a20a-58727274b5db" ]
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>942ff51a-d544-4b5a-8a6a-604329aefa86</guid> <guid>607050dd-09c0-4cc7-a20a-58727274b5db</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>