Vai alla navigazione

Get Holiday

Get a specific holiday by ID

Parametri di percorso

holiday_idstringObbligatorio

Header

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

Risposta

Risposta riuscita
namestring
start_dateobject
Represents a calendar date as individual numeric components.
end_dateobject
Represents a calendar date as individual numeric components.
time_off_typeenum
Valori consentiti:
idstring
created_at_unixinteger
updated_at_unixinteger
holiday_typeenumOpzionalePredefinito a closed
Valori consentiti:
override_hourslist of objects or nullOpzionale

Replacement working hours when holiday_type is ‘override’.

resource_idstring or nullOpzionale
location_idstring or nullOpzionale

For LOCATION type: the location this closure applies to.

reasonstring or nullOpzionale

Errori

422
Unprocessable Entity Error