Bookings
Create Booking
Create a new Booking record.
POST
Create Booking
A Booking is a reservation for a specificDocumentation Index
Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
Use this file to discover all available pages before exploring further.
Resource and, optionally, for a customer (CoworkerId) and a desk or unit in the floor plan (FloorPlanDeskId).
Charging vs Invoicing — When a booking is charged (confusingly labelled Invoiced in the booking entity), a charge is posted to the customer account as a CoworkerExtraService with the calculated price. If the booking has no fixed rate (ExtraServiceId = null), Nexudus calculates the rate automatically based on the resource type, booking parameters and customer. A booking is actually invoiced when the CoworkerExtraService associated with it is invoiced.
InvoiceThisCoworker = truemeans the booking is charged to the customer making it rather than their paying member (if any).Tentativebookings must be approved by an administrator before being confirmed or charged. They still block the calendar.Onlinebookings are those made via the portal or the app.
RepeatBooking and all repeat-configuration fields (Repeats, RepeatEvery, RepeatUntil, RepeatOn*) are create-only. Once a booking series is created, only WhichBookingsToUpdate can be used to update or delete bookings in the series. No new bookings can be added to an existing series.
Pricing overrides — OverridePrice lets an admin set a fixed price for the booking, regardless of what extra service (rate) is associated with it.
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 Booking-Create role.Enums
eBookingRepeatCycle — Repeats values
eBookingRepeatCycle — Repeats values
| Value | Name |
|---|---|
| 1 | Daily |
| 2 | Weekly |
| 3 | Monthly |
| 4 | Yearly |
| 5 | FirstOfMonth |
| 6 | SecondOfMonth |
| 7 | ThirdOfMonth |
| 8 | LastOfMonth |
| 9 | FourthOfMonth |
eRepeatedBookingUpdateAction — WhichBookingsToUpdate values
eRepeatedBookingUpdateAction — WhichBookingsToUpdate values
| Value | Name |
|---|---|
| 1 | UpdateThisBookingOnly |
| 2 | UpdateFutureBookingsOnly |
| 3 | UpdateAllBookings |
| 4 | UpdateNotChargedBookings |
| 5 | DeleteAllBookings |
| 6 | DeleteBookingsAfterThis |
| 7 | DeleteNotChargedBookings |
| 8 | RevertAllCharges |
Request Body
Required Fields
Resource Id.
Booking start time.
Booking end time.
Repeat cycle. Create-only. Defaults to
eBookingRepeatCycle.Weekly.Action to apply when updating or deleting bookings in a repeated series. This is the only field that can modify a series after creation. Defaults to
eRepeatedBookingUpdateAction.UpdateThisBookingOnly.Optional Fields
Floor Plan Desk Id.
Coworker Id.
Extra Service Id.
Notes.
Internal notes.
Charge immediately.
Invoice immediately.
Charge the booking to the customer making it rather than their paying member (if any).
Do not use booking credit.
Purchase order.
Discount code.
Last Notification Time.
Google Calendar Id.
Google Event Id.
Office365Event Id.
Public Google Event Id.
Tentative booking. Must be approved by an administrator before confirmed or charged. Tentative bookings still block the calendar.
Teams at the time of booking.
Tariff at the time of booking.
Repeat Series Unique Id.
Create a repeating booking series. Create-only: once created, only WhichBookingsToUpdate can be used to update the series. No new bookings can be added to the series.
Repeat every N periods. Create-only.
Repeat until date. Create-only.
Repeat on Mondays. Create-only.
Repeat on Tuesdays. Create-only.
Repeat on Wednesdays. Create-only.
Repeat on Thursdays. Create-only.
Repeat on Fridays. Create-only.
Repeat on Saturdays. Create-only.
Repeat on Sundays. Create-only.
Reminded.
Mrm Reminded.
Admin-set fixed price for the booking, regardless of what extra service (rate) is associated with it.
Kisi Key Id.
Start Scheduled Job Id.
End Scheduled Job Id.
Billed.
From Time Local.
To Time Local.
Invoice Date Local.
Coworker Extra Service Price.
Include Zoom invite.
Zoom Event Data.
Office365Admin Event Id.
Children
Products to include with this booking
Visitors to add to this booking
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 booking 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 Booking