BookingAvailabilityExceptions
Create BookingAvailabilityException
Create a new BookingAvailabilityException record.
POST
Create BookingAvailabilityException
A BookingAvailabilityException blocks one or moreDocumentation Index
Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
Use this file to discover all available pages before exploring further.
Resources from being booked during a specific date/time window. When a user tries to book a blocked resource, they see the configured Message instead of available time slots.
Use exceptions for holidays, maintenance periods, or any other reason a resource should be temporarily unavailable. Set EveryYear to true for recurring annual closures (e.g. public holidays).
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the BookingAvailabilityException-Create role.Request Body
Required Fields
Business Id.
Start date/time of the blocked period.
End date/time of the blocked period.
Message shown to users who attempt to book a blocked resource.
Optional Fields
Resources.
Whether this exception is currently enforced.
Whether this exception recurs annually on the same dates.
Code Examples
Response
200
HTTP status code.
200 on success.A human-readable message confirming the creation.
Contains the
Id of the newly created record.true if the bookingavailabilityexception was created successfully.null on success.Example Response
400
A summary of the validation error(s), in the format
PropertyName: error message.null on validation failure.Array of validation errors.
false when the request fails validation.Example Response
Create BookingAvailabilityException