ナビゲーションにスキップ

Create Holiday

Create a new holiday

ヘッダー

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.
time_off_typeenum必須
許可された値:
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オプション

レスポンス

成功レスポンス。

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