POST api/usrrole2action/update
Request Information
URI Parameters
None.
Body Parameters
UsrRole2Action| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| RoleId | integer |
Required |
|
| ActionId | integer |
Required |
|
| GrantAccess | boolean |
Required |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"RowGuid": "bcce6c71-6e25-4e30-b0cd-31a8fd18b7af",
"RoleId": 3,
"ActionId": 4,
"GrantAccess": true
}
application/xml, text/xml
Sample:
<UsrRole2Action xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.Tools.Usr.Models"> <ActionId>4</ActionId> <GrantAccess>true</GrantAccess> <Id>1</Id> <RoleId>3</RoleId> <RowGuid>bcce6c71-6e25-4e30-b0cd-31a8fd18b7af</RowGuid> </UsrRole2Action>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
UsrRole2ActionDisplay| Name | Description | Type | Additional information |
|---|---|---|---|
| ActionIdDisplay | string |
None. |
|
| RoleIdDisplay | string |
None. |
|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| RoleId | integer |
Required |
|
| ActionId | integer |
Required |
|
| GrantAccess | boolean |
Required |
Response Formats
application/json, text/json
Sample:
{
"ActionIdDisplay": "sample string 1",
"RoleIdDisplay": "sample string 2",
"Id": 3,
"RowGuid": "41e03a57-b34a-4bd5-8c33-bb5097bf4b7f",
"RoleId": 5,
"ActionId": 6,
"GrantAccess": true
}
application/xml, text/xml
Sample:
<UsrRole2ActionDisplay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.Tools.Usr.Models"> <ActionId>6</ActionId> <GrantAccess>true</GrantAccess> <Id>3</Id> <RoleId>5</RoleId> <RowGuid>41e03a57-b34a-4bd5-8c33-bb5097bf4b7f</RowGuid> <ActionIdDisplay>sample string 1</ActionIdDisplay> <RoleIdDisplay>sample string 2</RoleIdDisplay> </UsrRole2ActionDisplay>