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": "0060cbc5-1d6d-47dd-b6a5-2a1468a10e99",
"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>0060cbc5-1d6d-47dd-b6a5-2a1468a10e99</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": "381e02a0-96a7-4346-830a-c1651c006e3f",
"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>381e02a0-96a7-4346-830a-c1651c006e3f</RowGuid> <UserId>5</UserId> <RoleIdDisplay>sample string 1</RoleIdDisplay> <UserIdDisplay>sample string 2</UserIdDisplay> </UsrUser2RoleDisplay>