탐색으로 건너뛰기

Update Holiday

Update an existing holiday. Only the fields sent are changed.

경로 매개변수

holiday_idstring필수

헤더

xi-api-keystring선택 사항
xi-workspace-idstring or null선택 사항
The customer workspace a reseller's API key acts on.

요청

This endpoint expects an object.
namestring선택 사항
start_dateobject선택 사항
Represents a calendar date as individual numeric components.
end_dateobject선택 사항
Represents a calendar date as individual numeric components.
holiday_typeenum선택 사항기본값 closed
허용된 값:
override_hourslist of objects or null선택 사항

Replacement working hours when holiday_type is ‘override’.

time_off_typeenum선택 사항
허용된 값:
resource_idstring or null선택 사항
location_idstring or null선택 사항

For LOCATION type: the location this closure applies to.

reasonstring or null선택 사항

응답

성공 응답

namestring
start_dateobject
Represents a calendar date as individual numeric components.
end_dateobject
Represents a calendar date as individual numeric components.
time_off_typeenum
허용된 값:
idstring
created_at_unixinteger
updated_at_unixinteger
holiday_typeenum선택 사항기본값 closed
허용된 값:
override_hourslist of objects or null선택 사항

Replacement working hours when holiday_type is ‘override’.

resource_idstring or null선택 사항
location_idstring or null선택 사항

For LOCATION type: the location this closure applies to.

reasonstring or null선택 사항

오류

422
Unprocessable Entity Error