POST api/PermissionAndOvertime/DeletePermission

Request Information

URI Parameters

None.

Body Parameters

DeletePermissionEntity
NameDescriptionTypeAdditional information
permissionId

integer

None.

userId

integer

None.

year

integer

None.

Language

string

None.

Token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "permissionId": 1,
  "userId": 2,
  "year": 3,
  "Language": "sample string 4",
  "Token": "sample string 5"
}

text/html

Sample:
{"permissionId":1,"userId":2,"year":3,"Language":"sample string 4","Token":"sample string 5"}

application/xml, text/xml

Sample:
<PermissionAndOvertimeController.DeletePermissionEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers">
  <Language>sample string 4</Language>
  <Token>sample string 5</Token>
  <permissionId>1</permissionId>
  <userId>2</userId>
  <year>3</year>
</PermissionAndOvertimeController.DeletePermissionEntity>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DeletePermissionEntity'.

Response Information

Resource Description

Dictionary of Object [key] and Object [value]

Response Formats

application/json, text/json, text/html

Sample:
{"System.Object":{},"System.Object":{}}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
</ArrayOfKeyValueOfanyTypeanyType>