POST api/UserRole/Update
Request Information
URI Parameters
None.
Body Parameters
UpdateUserRoleModelName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
UserId | string |
None. |
|
AppId | integer |
None. |
|
RoleId | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "UserId": "sample string 2", "AppId": 3, "RoleId": [ 1, 2 ] }
application/xml, text/xml
Sample:
<UpdateUserRoleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AvicollectSecurity.Logic.Models"> <AppId>3</AppId> <Id>1</Id> <RoleId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </RoleId> <UserId>sample string 2</UserId> </UpdateUserRoleModel>
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.