POST api/Leave/ShortLeaveApprove
Request Information
URI Parameters
None.
Body Parameters
ParamShortLeaveName | Description | Type | Additional information |
---|---|---|---|
UserName | string |
None. |
|
DateOfShortLeave | date |
None. |
|
HalfDayType | string |
None. |
|
Reason | string |
None. |
|
LeaveId | string |
None. |
|
device_id | string |
None. |
|
token | string |
None. |
|
geoLocation | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserName": "sample string 1", "DateOfShortLeave": "2025-01-03T21:58:47.684167+00:00", "HalfDayType": "sample string 3", "Reason": "sample string 4", "LeaveId": "sample string 5", "device_id": "sample string 6", "token": "sample string 7", "geoLocation": "sample string 8" }
application/xml, text/xml
Sample:
<ParamShortLeave xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebApi.Models"> <DateOfShortLeave>2025-01-03T21:58:47.684167+00:00</DateOfShortLeave> <HalfDayType>sample string 3</HalfDayType> <LeaveId>sample string 5</LeaveId> <Reason>sample string 4</Reason> <UserName>sample string 1</UserName> <device_id>sample string 6</device_id> <geoLocation>sample string 8</geoLocation> <token>sample string 7</token> </ParamShortLeave>
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.