Get All Holidays
Get all holidays/time-off entries for the current workspace with optional filters
Header
xi-api-key
xi-workspace-id
The customer workspace a reseller's API key acts on.
Parametri di query
start_unix
Filter entries overlapping from this timestamp
end_unix
Filter entries overlapping before this timestamp
time_off_type
Filter by type: location, staff, or asset
Valori consentiti:
resource_id
Filter by associated resource ID (staff/asset)
location_id
Filter by location ID
Risposta
Risposta riuscita
name
start_date
Represents a calendar date as individual numeric components.
end_date
Represents a calendar date as individual numeric components.
time_off_type
Valori consentiti:
id
created_at_unix
updated_at_unix
holiday_type
Valori consentiti:
override_hours
Replacement working hours when holiday_type is ‘override’.
resource_id
location_id
For LOCATION type: the location this closure applies to.
reason
Errori
422
Unprocessable Entity Error