PUT horizon/v1/employees/vacations

Updates an existing vacation

Request Information

URI Parameters

None.

Body Parameters

Milenio3.Horizon.Dto.Entities.VacationDto
NameDescriptionTypeAdditional information
StartDate

date

None.

EndDate

date

None.

DayPeriod

Milenio3.Horizon.Dto.Entities.DayPeriodType

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "StartDate": "2026-06-21T01:13:21.069826+01:00",
  "EndDate": "2026-06-21T01:13:21.069826+01:00",
  "DayPeriod": 10,
  "Id": 3
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The updated vacation

Milenio3.Horizon.Dto.Entities.VacationDto
NameDescriptionTypeAdditional 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:13:21.069826+01:00",
  "EndDate": "2026-06-21T01:13:21.069826+01:00",
  "DayPeriod": 10,
  "Id": 3
}