Create Holiday
Create a new holiday
Header
xi-api-key
xi-workspace-id
The customer workspace a reseller's API key acts on.
Anfrage
This endpoint expects an object.
name
start_date
Represents a calendar date as individual numeric components.
end_date
Represents a calendar date as individual numeric components.
time_off_type
Erlaubte Werte:
holiday_type
Erlaubte Werte:
override_hours
Replacement working hours when holiday_type is ‘override’.
resource_id
location_id
For LOCATION type: the location this closure applies to.
reason
Antwort
Erfolgreiche Antwort
name
start_date
Represents a calendar date as individual numeric components.
end_date
Represents a calendar date as individual numeric components.
time_off_type
Erlaubte Werte:
id
created_at_unix
updated_at_unix
holiday_type
Erlaubte Werte:
override_hours
Replacement working hours when holiday_type is ‘override’.
resource_id
location_id
For LOCATION type: the location this closure applies to.
reason
Fehler
422
Unprocessable Entity Error