GET api/Employees/GetTimeOffReasons
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of EmployeeTimeOffReason| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Description | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Description": "sample string 2"
},
{
"Id": 1,
"Description": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfEmployeeTimeOffReason xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrowsNest.Api">
<EmployeeTimeOffReason>
<Description>sample string 2</Description>
<Id>1</Id>
</EmployeeTimeOffReason>
<EmployeeTimeOffReason>
<Description>sample string 2</Description>
<Id>1</Id>
</EmployeeTimeOffReason>
</ArrayOfEmployeeTimeOffReason>