Hoppa till navigering

Get Holiday

Get a specific holiday by ID

Sökvägsparametrar

holiday_idstringObligatorisk

Headers

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

Svar

Lyckat svar
namestring
start_dateobject
Represents a calendar date as individual numeric components.
end_dateobject
Represents a calendar date as individual numeric components.
time_off_typeenum
Tillåtna värden:
idstring
created_at_unixinteger
updated_at_unixinteger
holiday_typeenumValfriStandard är closed
Tillåtna värden:
override_hourslist of objects or nullValfri

Replacement working hours when holiday_type is ‘override’.

resource_idstring or nullValfri
location_idstring or nullValfri

For LOCATION type: the location this closure applies to.

reasonstring or nullValfri

Fel

422
Unprocessable Entity Error