Create a reservation resource exception

Adds a date exception for a resource or for the whole organization.

Endpoint

POST
/reservation-resource-exceptions

Body

FieldTypeRequiredDescription
organization_idintegerYesYour organization ID (the API key's organization).
exception_typestringYesblocked, special_hours or holiday.
datestring (YYYY-MM-DD)YesDate affected.
resource_idinteger | nullNoResource affected; omit or null for organization-wide.
start_time, end_timestringFor special_hoursHours that day, HH:mm.
reasonstringNoMax 255 characters.
is_recurring_yearlybooleanNoDefault false. Stored only.

Request

Close the whole organization on a date:

Shorter hours for one resource:

Response

Returns the created exception object.

json

Errors

StatusWhen
400 Bad RequestMissing required field, invalid exception_type, or date not in YYYY-MM-DD format.
403 Forbiddenorganization_id is not the API key's organization.

Report an issue with this documentation

Please log in to report issues with our documentation.