POST api/LeaveRequest/ApplyUnInformLeave
Request Information
URI Parameters
None.
Body Parameters
UninformLeaveViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | decimal number |
None. |
|
| EmployeeID | decimal number |
None. |
|
| LeaveReason | string |
None. |
|
| LeaveStartDate | string |
None. |
|
| LeaveEndDate | string |
None. |
|
| lstdate | Collection of LeaveDateList |
None. |
|
| BranchID | decimal number |
None. |
|
| OrganizationID | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserID": 1.0,
"EmployeeID": 2.0,
"LeaveReason": "sample string 3",
"LeaveStartDate": "sample string 4",
"LeaveEndDate": "sample string 5",
"lstdate": [
{
"LeaveDate": "sample string 1",
"LeaveDay": "sample string 2",
"LeaveDuration": "sample string 3"
},
{
"LeaveDate": "sample string 1",
"LeaveDay": "sample string 2",
"LeaveDuration": "sample string 3"
}
],
"BranchID": 6.0,
"OrganizationID": 7.0
}
application/xml, text/xml
Sample:
<UninformLeaveViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebAPI.Areas.LeaveRequest.Models">
<BranchID>6</BranchID>
<EmployeeID>2</EmployeeID>
<LeaveEndDate>sample string 5</LeaveEndDate>
<LeaveReason>sample string 3</LeaveReason>
<LeaveStartDate>sample string 4</LeaveStartDate>
<OrganizationID>7</OrganizationID>
<UserID>1</UserID>
<lstdate>
<LeaveDateList>
<LeaveDate>sample string 1</LeaveDate>
<LeaveDay>sample string 2</LeaveDay>
<LeaveDuration>sample string 3</LeaveDuration>
</LeaveDateList>
<LeaveDateList>
<LeaveDate>sample string 1</LeaveDate>
<LeaveDay>sample string 2</LeaveDay>
<LeaveDuration>sample string 3</LeaveDuration>
</LeaveDateList>
</lstdate>
</UninformLeaveViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |