POST api/Leave/CommonDeclineLeave

Request Information

URI Parameters

None.

Body Parameters

DeclineLeave
NameDescriptionTypeAdditional information
LeaveId

integer

None.

EmployeeId

integer

None.

DeclinedReason

string

None.

device_id

string

None.

LeaveTypeId

integer

None.

user_name

string

None.

user_id

string

None.

token

string

None.

geoLocation

string

None.

LeaveType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LeaveId": 1,
  "EmployeeId": 2,
  "DeclinedReason": "sample string 3",
  "device_id": "sample string 4",
  "LeaveTypeId": 5,
  "user_name": "sample string 6",
  "user_id": "sample string 7",
  "token": "sample string 8",
  "geoLocation": "sample string 9",
  "LeaveType": 10
}

application/xml, text/xml

Sample:
<DeclineLeave xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebApi.Models">
  <DeclinedReason>sample string 3</DeclinedReason>
  <EmployeeId>2</EmployeeId>
  <LeaveId>1</LeaveId>
  <LeaveType>10</LeaveType>
  <LeaveTypeId>5</LeaveTypeId>
  <device_id>sample string 4</device_id>
  <geoLocation>sample string 9</geoLocation>
  <token>sample string 8</token>
  <user_id>sample string 7</user_id>
  <user_name>sample string 6</user_name>
</DeclineLeave>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.