POST api/Role
Request Information
URI Parameters
None.
Body Parameters
ObjectNone.
Request Formats
application/json, text/json, text/html
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseDataName | Description | Type | Additional information |
---|---|---|---|
Total | integer |
None. |
|
Data | Object |
None. |
|
Message | string |
None. |
|
IsSuccess | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Total": 1, "Data": {}, "Message": "sample string 3", "IsSuccess": true }
application/xml, text/xml
Sample:
<ResponseData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyzerg.Model"> <Data /> <IsSuccess>true</IsSuccess> <Message>sample string 3</Message> <Total>1</Total> </ResponseData>
text/html
Sample:
{"Total":1,"Data":{},"Message":"sample string 3","IsSuccess":true}