POST api/Role/Manage
Request Information
URI Parameters
None.
Body Parameters
UsersInRoleModelName | Description | Type | Additional information |
---|---|---|---|
Id | string |
Required |
|
EnrolledUsers | Collection of string |
None. |
|
RemovedUsers | Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "EnrolledUsers": [ "sample string 1", "sample string 2" ], "RemovedUsers": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<UsersInRoleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AvicollectSecurity.Logic.Models"> <EnrolledUsers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </EnrolledUsers> <Id>sample string 1</Id> <RemovedUsers xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </RemovedUsers> </UsersInRoleModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.