POST api/cancleLeave
Request Information
URI Parameters
None.
Body Parameters
ModLeaveStatus| Name | Description | Type | Additional information |
|---|---|---|---|
| empId | integer |
None. |
|
| adminId | integer |
None. |
|
| leaveId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"empId": 1,
"adminId": 2,
"leaveId": 3
}
application/xml, text/xml
Sample:
<ModLeaveStatus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MnbebookApi.Models"> <adminId>2</adminId> <empId>1</empId> <leaveId>3</leaveId> </ModLeaveStatus>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CommonResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | integer |
None. |
|
| Data | Object |
None. |
|
| Message | string |
None. |
|
| refresh_token | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 1,
"Data": {},
"Message": "sample string 3",
"refresh_token": "sample string 4"
}
application/xml, text/xml
Sample:
<CommonResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MnbebookApi.Models"> <Data /> <Message>sample string 3</Message> <Status>1</Status> <refresh_token>sample string 4</refresh_token> </CommonResponse>