POST api/v1/mobile/employees/{employeeId}/leaves
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| employeeId | integer |
Required |
Body Parameters
LeaveSaveRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| type | string |
None. |
|
| reason | string |
None. |
|
| approved | boolean |
None. |
|
| from | string |
None. |
|
| to | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"type": "sample string 1",
"reason": "sample string 2",
"approved": true,
"from": "sample string 4",
"to": "sample string 5"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.