Update Holiday
Update an existing holiday. Only the fields sent are changed.
パスパラメータ
holiday_id
ヘッダー
xi-api-key
xi-workspace-id
The customer workspace a reseller's API key acts on.
リクエスト
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
許可された値:
override_hours
Replacement working hours when holiday_type is ‘override’.
time_off_type
許可された値:
resource_id
location_id
For LOCATION type: the location this closure applies to.
reason
レスポンス
成功レスポンス。
name
start_date
Represents a calendar date as individual numeric components.
end_date
Represents a calendar date as individual numeric components.
time_off_type
許可された値:
id
created_at_unix
updated_at_unix
holiday_type
許可された値:
override_hours
Replacement working hours when holiday_type is ‘override’.
resource_id
location_id
For LOCATION type: the location this closure applies to.
reason
エラー
422
Unprocessable Entity Error