Update Holiday
Update an existing holiday. Only the fields sent are changed.
Parâmetros de caminho
holiday_id
Cabeçalhos
xi-api-key
xi-workspace-id
The customer workspace a reseller's API key acts on.
Solicitação
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.
holiday_type
Valores permitidos:
override_hours
Replacement working hours when holiday_type is ‘override’.
time_off_type
Valores permitidos:
resource_id
location_id
For LOCATION type: the location this closure applies to.
reason
Resposta
Resposta bem-sucedida
name
start_date
Represents a calendar date as individual numeric components.
end_date
Represents a calendar date as individual numeric components.
time_off_type
Valores permitidos:
id
created_at_unix
updated_at_unix
holiday_type
Valores permitidos:
override_hours
Replacement working hours when holiday_type is ‘override’.
resource_id
location_id
For LOCATION type: the location this closure applies to.
reason
Erros
422
Unprocessable Entity Error