GET api/Leave/LeaveItemList?empId={empId}&empNo={empNo}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| empId | integer |
Required |
|
| empNo | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of HrmsLeaveOptionDto| Name | Description | Type | Additional information |
|---|---|---|---|
| LEAVE_SETUP_REFERENCE_ID | integer |
None. |
|
| LEAVE_SETUP_CLASS | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"LEAVE_SETUP_REFERENCE_ID": 1,
"LEAVE_SETUP_CLASS": "sample string 2"
},
{
"LEAVE_SETUP_REFERENCE_ID": 1,
"LEAVE_SETUP_CLASS": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfHrmsLeaveOptionDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QuestComposite._104WorkFlow.Application.Dtos.HRMS">
<HrmsLeaveOptionDto>
<LEAVE_SETUP_CLASS>sample string 2</LEAVE_SETUP_CLASS>
<LEAVE_SETUP_REFERENCE_ID>1</LEAVE_SETUP_REFERENCE_ID>
</HrmsLeaveOptionDto>
<HrmsLeaveOptionDto>
<LEAVE_SETUP_CLASS>sample string 2</LEAVE_SETUP_CLASS>
<LEAVE_SETUP_REFERENCE_ID>1</LEAVE_SETUP_REFERENCE_ID>
</HrmsLeaveOptionDto>
</ArrayOfHrmsLeaveOptionDto>