नेविगेशन पर जाएँ

Get Holiday

Get a specific holiday by ID

पाथ पैरामीटर

holiday_idstringआवश्यक

हेडर

xi-api-keystringवैकल्पिक
xi-workspace-idstring or nullवैकल्पिक
The customer workspace a reseller's API key acts on.

रिस्पॉन्स

सफल रिस्पॉन्स

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