POST api/usruser2role/update
Request Information
URI Parameters
None.
Body Parameters
UsrUser2Role| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| UserId | integer |
Required |
|
| RoleId | integer |
Required |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"RowGuid": "fb35d0c9-e58a-4c4b-adcd-58a04f9436b7",
"UserId": 3,
"RoleId": 4
}
application/xml, text/xml
Sample:
<UsrUser2Role xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.Tools.Usr.Models"> <Id>1</Id> <RoleId>4</RoleId> <RowGuid>fb35d0c9-e58a-4c4b-adcd-58a04f9436b7</RowGuid> <UserId>3</UserId> </UsrUser2Role>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
UsrUser2RoleDisplay| Name | Description | Type | Additional information |
|---|---|---|---|
| RoleIdDisplay | string |
None. |
|
| UserIdDisplay | string |
None. |
|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| UserId | integer |
Required |
|
| RoleId | integer |
Required |
Response Formats
application/json, text/json
Sample:
{
"RoleIdDisplay": "sample string 1",
"UserIdDisplay": "sample string 2",
"Id": 3,
"RowGuid": "4a8033fc-ea0b-47e3-99d0-a23bf551fb9d",
"UserId": 5,
"RoleId": 6
}
application/xml, text/xml
Sample:
<UsrUser2RoleDisplay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.Tools.Usr.Models"> <Id>3</Id> <RoleId>6</RoleId> <RowGuid>4a8033fc-ea0b-47e3-99d0-a23bf551fb9d</RowGuid> <UserId>5</UserId> <RoleIdDisplay>sample string 1</RoleIdDisplay> <UserIdDisplay>sample string 2</UserIdDisplay> </UsrUser2RoleDisplay>