POST api/usrrole/insert
Request Information
URI Parameters
None.
Body Parameters
UsrRole| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| DisplayOrder | integer |
Required |
|
| Custom1 | string |
None. |
|
| Custom2 | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"RowGuid": "cd9ccb09-a84e-4df0-bd95-e104f83b67d7",
"Name": "sample string 3",
"Description": "sample string 4",
"DisplayOrder": 5,
"Custom1": "sample string 6",
"Custom2": "sample string 7"
}
application/xml, text/xml
Sample:
<UsrRole xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.Tools.Usr.Models"> <Custom1>sample string 6</Custom1> <Custom2>sample string 7</Custom2> <Description>sample string 4</Description> <DisplayOrder>5</DisplayOrder> <Id>1</Id> <Name>sample string 3</Name> <RowGuid>cd9ccb09-a84e-4df0-bd95-e104f83b67d7</RowGuid> </UsrRole>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
UsrRoleDisplay| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
|
| RowGuid | globally unique identifier |
Required |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| DisplayOrder | integer |
Required |
|
| Custom1 | string |
None. |
|
| Custom2 | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"RowGuid": "abe6e503-d0c1-477d-9859-65f23d8b293d",
"Name": "sample string 3",
"Description": "sample string 4",
"DisplayOrder": 5,
"Custom1": "sample string 6",
"Custom2": "sample string 7"
}
application/xml, text/xml
Sample:
<UsrRoleDisplay xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IWeb.Tools.Usr.Models"> <Custom1>sample string 6</Custom1> <Custom2>sample string 7</Custom2> <Description>sample string 4</Description> <DisplayOrder>5</DisplayOrder> <Id>1</Id> <Name>sample string 3</Name> <RowGuid>abe6e503-d0c1-477d-9859-65f23d8b293d</RowGuid> </UsrRoleDisplay>