POST api/TRol
Request Information
URI Parameters
None.
Body Parameters
TRolName | Description | Type | Additional information |
---|---|---|---|
Id | string |
String length: inclusive between 0 and 60 |
|
Description | string |
Required String length: inclusive between 0 and 100 |
Request Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "Description": "sample string 2" }
application/xml, text/xml
Sample:
<TRol xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Uniqueness.Store.Ticket.API.Models"> <Description>sample string 2</Description> <Id>sample string 1</Id> </TRol>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TRolName | Description | Type | Additional information |
---|---|---|---|
Id | string |
String length: inclusive between 0 and 60 |
|
Description | string |
Required String length: inclusive between 0 and 100 |
Response Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "Description": "sample string 2" }
application/xml, text/xml
Sample:
<TRol xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Uniqueness.Store.Ticket.API.Models"> <Description>sample string 2</Description> <Id>sample string 1</Id> </TRol>