Przejdź do nawigacji

Get Holiday

Get a specific holiday by ID

Parametry ścieżki

holiday_idstringWymagany

Nagłówki

xi-api-keystringOpcjonalny
xi-workspace-idstring or nullOpcjonalny
The customer workspace a reseller's API key acts on.

Odpowiedź

Pomyślna odpowiedź

namestring
start_dateobject
Represents a calendar date as individual numeric components.
end_dateobject
Represents a calendar date as individual numeric components.
time_off_typeenum
Dozwolone wartości:
idstring
created_at_unixinteger
updated_at_unixinteger
holiday_typeenumOpcjonalnyDomyślnie closed
Dozwolone wartości:
override_hourslist of objects or nullOpcjonalny

Replacement working hours when holiday_type is ‘override’.

resource_idstring or nullOpcjonalny
location_idstring or nullOpcjonalny

For LOCATION type: the location this closure applies to.

reasonstring or nullOpcjonalny

Błędy

422
Unprocessable Entity Error