POST api/employee/ApproveRejectEmpLeaveBySenior?EmployeeId={EmployeeId}&SessionId={SessionId}&DeviceID={DeviceID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
EmployeeId

integer

Required

SessionId

string

Required

DeviceID

string

Required

Body Parameters

EmployeeLeaveApprovalRequestBySenior
NameDescriptionTypeAdditional information
EmpLeaveId

integer

None.

LeaveStatus

integer

None.

LeaveRemark

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EmpLeaveId": 1,
  "LeaveStatus": 2,
  "LeaveRemark": "sample string 3"
}

application/xml, text/xml

Sample:
<EmployeeLeaveApprovalRequestBySenior xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/application.knh.webapi.Models">
  <EmpLeaveId>1</EmpLeaveId>
  <LeaveRemark>sample string 3</LeaveRemark>
  <LeaveStatus>2</LeaveStatus>
</EmployeeLeaveApprovalRequestBySenior>

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.