POST api/Admin/LeaveHistory
Request Information
URI Parameters
None.
Body Parameters
LeaveHistoryRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Employeeid | integer |
None. |
|
| Fromleave | date |
None. |
|
| Toleave | date |
None. |
|
| Reason | string |
None. |
|
| Status | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Employeeid": 1,
"Fromleave": "2025-12-12T00:47:02.4622884+05:30",
"Toleave": "2025-12-12T00:47:02.4622884+05:30",
"Reason": "sample string 4",
"Status": "sample string 5"
}
application/xml, text/xml
Sample:
<LeaveHistoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebapiExample.Models"> <Employeeid>1</Employeeid> <Fromleave>2025-12-12T00:47:02.4622884+05:30</Fromleave> <Reason>sample string 4</Reason> <Status>sample string 5</Status> <Toleave>2025-12-12T00:47:02.4622884+05:30</Toleave> </LeaveHistoryRequest>
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.