POST api/permissions
Request Information
URI Parameters
None.
Body Parameters
PermissionsName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Permission | string |
None. |
|
Description | string |
None. |
|
DisplayName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Permission": "sample string 2", "Description": "sample string 3", "DisplayName": "sample string 4" }
text/html
Sample:
{"Id":1,"Permission":"sample string 2","Description":"sample string 3","DisplayName":"sample string 4"}
application/xml, text/xml
Sample:
<Permissions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models"> <Description>sample string 3</Description> <DisplayName>sample string 4</DisplayName> <Id>1</Id> <Permission>sample string 2</Permission> </Permissions>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.