POST api/Leave/CommonLeaveApprove

Request Information

URI Parameters

None.

Body Parameters

LeaveApprovals
NameDescriptionTypeAdditional information
EmployeeId

integer

None.

BranchId

integer

None.

LeaveId

integer

None.

LeaveTypeId

integer

None.

device_id

string

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:
{
  "EmployeeId": 1,
  "BranchId": 2,
  "LeaveId": 3,
  "LeaveTypeId": 4,
  "device_id": "sample string 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:
<LeaveApprovals xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebApi.Models">
  <BranchId>2</BranchId>
  <EmployeeId>1</EmployeeId>
  <LeaveId>3</LeaveId>
  <LeaveType>10</LeaveType>
  <LeaveTypeId>4</LeaveTypeId>
  <device_id>sample string 5</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>
</LeaveApprovals>

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.