POST api/v1/leave/assign
Request Information
URI Parameters
None.
Body Parameters
AssignLeaveDto| Name | Description | Type | Additional information |
|---|---|---|---|
| EmpId | integer |
None. |
|
| LeaveId | integer |
None. |
|
| SelectedDates | string |
None. |
|
| Comment | string |
None. |
|
| IgnorePublicHolidays | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"EmpId": 1,
"LeaveId": 2,
"SelectedDates": "sample string 3",
"Comment": "sample string 4",
"IgnorePublicHolidays": true
}
application/xml, text/xml
Sample:
<LeaveController.AssignLeaveDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <Comment>sample string 4</Comment> <EmpId>1</EmpId> <IgnorePublicHolidays>true</IgnorePublicHolidays> <LeaveId>2</LeaveId> <SelectedDates>sample string 3</SelectedDates> </LeaveController.AssignLeaveDto>
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.