POST api/Leave/CommonLeaveApprove
Request Information
URI Parameters
None.
Body Parameters
LeaveApprovalParamName | Description | Type | Additional information |
---|---|---|---|
CurrentUserName | string |
None. |
|
CurrentEmployeeId | integer |
None. |
|
LeaveId | integer |
None. |
|
Reason | string |
None. |
|
device_id | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "CurrentUserName": "sample string 1", "CurrentEmployeeId": 2, "LeaveId": 3, "Reason": "sample string 4", "device_id": "sample string 5" }
application/xml, text/xml
Sample:
<LeaveApprovalParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebApi.Models"> <CurrentEmployeeId>2</CurrentEmployeeId> <CurrentUserName>sample string 1</CurrentUserName> <LeaveId>3</LeaveId> <Reason>sample string 4</Reason> <device_id>sample string 5</device_id> </LeaveApprovalParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.