get https://{defaultBusinessWebAddress}.spaces.nexudus.com/en/bookings/search
Returns a list of resources available at a given date and, optionally, for a given customer.
Remarks
The booking search endpoint always returns all available resources for the logged in user. The ErrorCode field in each resource will let you know if the resource is available or not. A null value indicates the resource is available while the list below shows the different reasons they resource may be unavailable.
Error codes
- INVALID DISCOUNT: Invalid discount code
- NO_RESOURCE: Select a resource
- NOT_REGISTERED: You must be registered with this location to place a booking;
- INVALID_INTERVAL: You cannot make a booking of this length.
- BOOKING_CONFLICT: One or more resources in your basket are not available.
- EVENT_CONFLICT: One or more resources in your basket are being used by an event
- RESOURCE_FULL: One or more resources in your basket is fully booked.
- AREA_FULL: One or more resources in your basket are in an area which is fully booked.
- TOO_MANY_VISITORS: You cannot add this many attendees to this booking
- INVALID_SHIFT: The start and end time for one or more of your bookings are not valid
- NO_PAST_BOOKINGS: You cannot request a booking in the past.
- HARD_LIMIT_WEEK: You are over the weekly booking limit.
- HARD_LIMIT_MONTH: You are over the monthly booking limit.
- INVALID_TARIFF: You cannot book one or more of the resources in your basket.
- INVALID_TEAM: Your team cannot book this resource.
- NOT_AVAILABLE: You cannot book one or more of the resources in your basket at the selected time
- START_TIME_TOO_EARLY: You cannot book one or more resources in your basket this far in advance
- START_TIME_TOO_LATE: You cannot book one or more resources in your basket this close to the start of the booking.
- TOO_LONG: You cannot book one or more resources in your basket for this long
- TOO_SHORT: You cannot book one or more resources in your basket for this short time.
- NO_RETURN_POLICY: You cannot book one or more resources in your basket again this soon.
- 'NO_CREDIT: You cannot book one or more resources in your basket because you do not have enough credit.
Caching
The data produced by this endpoint may be cached for up to 6 hours. Updating events, bookings or resources will force the cache to expire.