GET horizon/v1/employees/vacations
Retrieves a list of vacations
Notes: Odataoperators ge, le for property Date
eq for property Id
Example
"horizon/v1/employees/vacations?$filter=Date%20ge%202017-01-01T23:59:00Z%20and%20Date%20le%202018-01-01T23:59:00Z"
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Milenio3.Horizon.Dto.Entities.VacationDto| Name | Description | Type | Additional information |
|---|---|---|---|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| DayPeriod | Milenio3.Horizon.Dto.Entities.DayPeriodType |
None. |
|
| Id | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"StartDate": "2026-06-21T01:12:33.1195392+01:00",
"EndDate": "2026-06-21T01:12:33.1195392+01:00",
"DayPeriod": 10,
"Id": 3
},
{
"StartDate": "2026-06-21T01:12:33.1195392+01:00",
"EndDate": "2026-06-21T01:12:33.1195392+01:00",
"DayPeriod": 10,
"Id": 3
}
]