GET horizon/v1/manager/vacations

Retrieves a list of vacations
Notes: Odata
operators ge, le for property Date
eq for property Id

Example
"horizon/v1/manager/vacations?$filter=AuthorizationState eq 10"
"horizon/v1/manager/vacations?$filter=AuthorizationState eq 20 and Date ge 2018-01-06T00:00:00Z and Date le 2018-01-08T00:00:00Z"
"horizon/v1/manager/vacations?$filter=AuthorizationState eq 20 and Date ge 2018-01-06T00:00:00Z and Date le 2018-01-08T00:00:00Z and EmployeeId eq 1"
"horizon/v1/manager/vacations?$filter=AuthorizationState eq 20 and Date ge 2018-01-06T00:00:00Z and Date le 2018-01-08T00:00:00Z and EmployeeId eq 1 and Id=1"

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Milenio3.Horizon.Dto.Entities.Manager.VacationDto
NameDescriptionTypeAdditional information
AbsenceCategoryId

integer

None.

AbsenceCategoryName

string

None.

AbsenceCategoryDescription

string

None.

StartDate

date

None.

EndDate

date

None.

DayPeriod

Milenio3.Horizon.Dto.Entities.DayPeriodType

None.

Employee

Milenio3.Horizon.Dto.Entities.Manager.EmployeeDto

None.

Remarks

string

None.

AuthorizationState

Milenio3.Horizon.Dto.Entities.Common.AuthorizationStateType

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AbsenceCategoryId": 1,
    "AbsenceCategoryName": "sample string 2",
    "AbsenceCategoryDescription": "sample string 3",
    "StartDate": "2026-06-21T01:07:48.381447+01:00",
    "EndDate": "2026-06-21T01:07:48.381447+01:00",
    "DayPeriod": 10,
    "Employee": {
      "CompanyCode": 1,
      "FullName": "sample string 2",
      "DisplayName": "sample string 3",
      "Photo": "sample string 4",
      "Id": 5
    },
    "Remarks": "sample string 6",
    "AuthorizationState": 10,
    "Id": 7
  },
  {
    "AbsenceCategoryId": 1,
    "AbsenceCategoryName": "sample string 2",
    "AbsenceCategoryDescription": "sample string 3",
    "StartDate": "2026-06-21T01:07:48.381447+01:00",
    "EndDate": "2026-06-21T01:07:48.381447+01:00",
    "DayPeriod": 10,
    "Employee": {
      "CompanyCode": 1,
      "FullName": "sample string 2",
      "DisplayName": "sample string 3",
      "Photo": "sample string 4",
      "Id": 5
    },
    "Remarks": "sample string 6",
    "AuthorizationState": 10,
    "Id": 7
  }
]