CancelledBookings
Create CancelledBooking
Create a new CancelledBooking record.
POST
Create CancelledBooking
A cancelled booking is the audit snapshot created when a resource reservation is cancelled, preserving its resource, customer, time, price, and cancellation reason for reporting.
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 CancelledBooking-Create role.Enums
eBookingCancellationReason
eBookingCancellationReason
eBookingRepeatCycle — Repeats values
eBookingRepeatCycle — Repeats values
eRepeatedBookingUpdateAction — WhichBookingsToUpdate values
eRepeatedBookingUpdateAction — WhichBookingsToUpdate values
Request Body
Required Fields
ID of the resource that was reserved; it determines the cancelled booking’s location..
Recurrence cycle retained from the booking: Daily, Weekly, Monthly, Yearly, FirstOfMonth, SecondOfMonth, ThirdOfMonth, FourthOfMonth, or LastOfMonth..
Original recurrence action: UpdateThisBookingOnly, UpdateFutureBookingsOnly, UpdateAllBookings, UpdateNotChargedBookings, DeleteAllBookings, DeleteBookingsAfterThis, DeleteNotChargedBookings, or RevertAllCharges..
Optional Fields
Optional ID of the floor-plan unit assigned within the resource when the booking was cancelled..
Whether the cancelled booking was tentative and awaiting confirmation; tentative bookings still blocked the calendar..
Recurrence interval retained from the booking; for example, 2 with Weekly means every two weeks..
Optional total price override retained from the original booking, before normal rate calculation..
Whether a charge was posted to the customer account for the original booking; it does not indicate invoice status..
ID of the invoice associated with the original booking; manage it through the invoice entity..
System-calculated charge-period setting for the customer rate entitlement used by the original booking..
System-calculated number of customer rate uses consumed or available for the original booking..
System-calculated monetary adjustment from dynamic-pricing settings for the resource or location..
Internal Microsoft 365 administrator calendar event identifier maintained by synchronization..
Reason the booking was cancelled: Unknown, NoLongerNeeded, TooExpensive, BadPreviousExperience, RebookedForADifferentTime, FailedToPayUpfront, Integration, Other, NotCheckedIn, or MarketPlace.. See
eBookingCancellationReason? enum above.Final calculated price of the booking at cancellation, including the system’s booking cost calculation..
Code Examples
Response
200
Example Response
400
Example Response