Skip to main content
GET
/
api
/
spaces
/
cancelledbookings
/
{id}
{
  "ResourceId": 123,
  "ResourceName": "<string>",
  "ResourceAllocation": 123,
  "ResourceHideInCalendar": true,
  "ResourceNoReturnPolicy": 123,
  "ResourceNoReturnPolicyAllResources": 123,
  "ResourceNoReturnPolicyAllUsers": 123,
  "ResourceResourceTypeId": 123,
  "ResourceResourceTypeName": "<string>",
  "FloorPlanDeskId": 123,
  "FloorPlanDeskName": "<string>",
  "CoworkerId": 123,
  "CoworkerCoworkerType": "<string>",
  "CoworkerFullName": "<string>",
  "CoworkerBillingName": "<string>",
  "CoworkerCompanyName": "<string>",
  "CoworkerTeamNames": "<string>",
  "ExtraServiceId": 123,
  "ExtraServiceName": "<string>",
  "FromTime": "<string>",
  "ToTime": "<string>",
  "Notes": "<string>",
  "InternalNotes": "<string>",
  "ChargeNow": true,
  "InvoiceNow": true,
  "InvoiceThisCoworker": true,
  "DoNotUseBookingCredit": true,
  "PurchaseOrder": "<string>",
  "DiscountCode": "<string>",
  "LastNotificationTime": "<string>",
  "GoogleCalendarId": "<string>",
  "GoogleEventId": "<string>",
  "Office365EventId": "<string>",
  "PublicGoogleEventId": "<string>",
  "Tentative": true,
  "Online": true,
  "TeamsAtTheTimeOfBooking": "<string>",
  "TariffAtTheTimeOfBooking": "<string>",
  "RepeatSeriesUniqueId": "<string>",
  "RepeatBooking": true,
  "Repeats": 123,
  "WhichBookingsToUpdate": 123,
  "RepeatEvery": 123,
  "RepeatUntil": "<string>",
  "RepeatOnMondays": true,
  "RepeatOnTuesdays": true,
  "RepeatOnWednesdays": true,
  "RepeatOnThursdays": true,
  "RepeatOnFridays": true,
  "RepeatOnSaturdays": true,
  "RepeatOnSundays": true,
  "Reminded": true,
  "MrmReminded": true,
  "OverridePrice": 123,
  "Invoiced": true,
  "InvoiceDate": "<string>",
  "BookingNumber": 123,
  "KisiKeyId": 123,
  "StartScheduledJobId": "<string>",
  "EndScheduledJobId": "<string>",
  "Billed": true,
  "FromTimeLocal": "<string>",
  "ToTimeLocal": "<string>",
  "InvoiceDateLocal": "<string>",
  "CoworkerInvoiceId": 123,
  "CoworkerInvoiceNumber": "<string>",
  "CoworkerInvoicePaid": true,
  "CoworkerInvoiceDraft": true,
  "CoworkerInvoiceVoid": true,
  "CoworkerInvoiceCreditNote": true,
  "CoworkerExtraServiceIds": "<string>",
  "CoworkerExtraServicePrice": 123,
  "CoworkerExtraServiceCurrencyCode": "<string>",
  "CoworkerExtraServiceChargePeriod": 123,
  "CoworkerExtraServiceTotalUses": 123,
  "IncludeZoomInvite": true,
  "ZoomEventData": "<string>",
  "CheckedInAt": "<string>",
  "CancelIfNotPaid": true,
  "CancelIfNotCheckedIn": true,
  "MaxOccupancy": 123,
  "LastMinutePriceAdjustment": 123,
  "DynamicPriceAdjustment": 123,
  "PriceFactorLastMinute": 123,
  "PriceFactorDemand": 123,
  "Office365AdminEventId": "<string>",
  "CancellationReason": 123,
  "CancelledOn": "<string>",
  "CancelledBy": "<string>",
  "CancellationReasonDetails": "<string>",
  "Price": 123,
  "OriginalBookingId": "<string>",
  "Id": 123,
  "UniqueId": "<string>",
  "CreatedOn": "<string>",
  "UpdatedOn": "<string>",
  "UpdatedBy": "<string>",
  "IsNew": true,
  "SystemId": "<string>"
}
A CancelledBooking is a read-only snapshot of a booking that was removed from the calendar. When a booking is cancelled, the system preserves its details — resource, coworker, time range, price, and cancellation metadata — so they remain available for reporting and auditing. Cancelled bookings cannot be created or modified through the API; they are generated automatically when an active Booking is cancelled. Use list and get to query cancellation history. The CancellationReason field indicates why the booking was removed. Possible reasons include the customer no longer needing the booking, cost concerns, rebooking for a different time, failure to pay upfront, automated cancellation due to not checking in, and others.

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-Read role.

Path Parameters

id
integer
required
The Id of the CancelledBooking record to retrieve.

Code Examples

curl -X GET \
  "https://spaces.nexudus.com/api/spaces/cancelledbookings/87654321" \
  -H "Authorization: Bearer YOUR_TOKEN"

Response

200

ResourceId
integer
Resource Id.
ResourceName
string
Resource name.
ResourceAllocation
integer
Resource Allocation.
ResourceHideInCalendar
boolean
Resource Hide In Calendar.
ResourceNoReturnPolicy
integer
Resource No Return Policy.
ResourceNoReturnPolicyAllResources
integer
Resource No Return Policy All Resources.
ResourceNoReturnPolicyAllUsers
integer
Resource No Return Policy All Users.
ResourceResourceTypeId
integer
Resource Resource Type Id.
ResourceResourceTypeName
string
Resource Resource Type Name.
FloorPlanDeskId
integer
Floor Plan Desk Id.
FloorPlanDeskName
string
Floor Plan Desk Name.
CoworkerId
integer
Coworker Id.
CoworkerCoworkerType
string
Coworker Coworker Type.
CoworkerFullName
string
Coworker full name.
CoworkerBillingName
string
Coworker billing name.
CoworkerCompanyName
string
Coworker company name.
CoworkerTeamNames
string
Coworker Team Names.
ExtraServiceId
integer
Extra Service Id.
ExtraServiceName
string
Extra service name.
FromTime
string
Booking start time.
ToTime
string
Booking end time.
Notes
string
Notes.
InternalNotes
string
Internal Notes.
ChargeNow
boolean
Charge Now.
InvoiceNow
boolean
Invoice Now.
InvoiceThisCoworker
boolean
Invoice This Coworker.
DoNotUseBookingCredit
boolean
Do Not Use Booking Credit.
PurchaseOrder
string
Purchase Order.
DiscountCode
string
Discount Code.
LastNotificationTime
string
Last Notification Time.
GoogleCalendarId
string
Google Calendar Id.
GoogleEventId
string
Google Event Id.
Office365EventId
string
Office365Event Id.
PublicGoogleEventId
string
Public Google Event Id.
Tentative
boolean
Tentative booking. Must be approved by an administrator before confirmed or charged. Tentative bookings still block the calendar.
Online
boolean
Online.
TeamsAtTheTimeOfBooking
string
Teams At The Time Of Booking.
TariffAtTheTimeOfBooking
string
Tariff At The Time Of Booking.
RepeatSeriesUniqueId
string
Repeat Series Unique Id.
RepeatBooking
boolean
Repeat Booking.
Repeats
integer
Repeats.
WhichBookingsToUpdate
integer
Which Bookings To Update.
RepeatEvery
integer
Repeat Every.
RepeatUntil
string
Repeat Until.
RepeatOnMondays
boolean
Repeat On Mondays.
RepeatOnTuesdays
boolean
Repeat On Tuesdays.
RepeatOnWednesdays
boolean
Repeat On Wednesdays.
RepeatOnThursdays
boolean
Repeat On Thursdays.
RepeatOnFridays
boolean
Repeat On Fridays.
RepeatOnSaturdays
boolean
Repeat On Saturdays.
RepeatOnSundays
boolean
Repeat On Sundays.
Reminded
boolean
Reminded.
MrmReminded
boolean
Mrm Reminded.
OverridePrice
number
Override Price.
Invoiced
boolean
Whether the booking had been charged. When true, a charge (CoworkerExtraService) had been posted to the customer account.
InvoiceDate
string
Invoice Date.
BookingNumber
integer
Booking Number.
KisiKeyId
integer
Kisi Key Id.
StartScheduledJobId
string
Start Scheduled Job Id.
EndScheduledJobId
string
End Scheduled Job Id.
Billed
boolean
Billed.
FromTimeLocal
string
From Time Local.
ToTimeLocal
string
To Time Local.
InvoiceDateLocal
string
Invoice Date Local.
CoworkerInvoiceId
integer
Coworker Invoice Id.
CoworkerInvoiceNumber
string
Coworker Invoice Number.
CoworkerInvoicePaid
boolean
Coworker Invoice Paid.
CoworkerInvoiceDraft
boolean
Coworker Invoice Draft.
CoworkerInvoiceVoid
boolean
Coworker Invoice Void.
CoworkerInvoiceCreditNote
boolean
Coworker Invoice Credit Note.
CoworkerExtraServiceIds
string
Coworker Extra Service Ids.
CoworkerExtraServicePrice
number
Coworker Extra Service Price.
CoworkerExtraServiceCurrencyCode
string
Coworker Extra Service Currency Code.
CoworkerExtraServiceChargePeriod
integer
Coworker Extra Service Charge Period.
CoworkerExtraServiceTotalUses
integer
Coworker Extra Service Total Uses.
IncludeZoomInvite
boolean
Include Zoom Invite.
ZoomEventData
string
Zoom Event Data.
CheckedInAt
string
Checked In At.
CancelIfNotPaid
boolean
Cancel If Not Paid.
CancelIfNotCheckedIn
boolean
Cancel If Not Checked In.
MaxOccupancy
integer
Max Occupancy.
LastMinutePriceAdjustment
number
Last Minute Price Adjustment.
DynamicPriceAdjustment
number
Dynamic Price Adjustment.
PriceFactorLastMinute
number
Price Factor Last Minute.
PriceFactorDemand
number
Price Factor Demand.
Office365AdminEventId
string
Office365Admin Event Id.
CancellationReason
integer
Reason the booking was cancelled, e.g. NoLongerNeeded, TooExpensive, or NotCheckedIn.
CancelledOn
string
Date and time when the booking was cancelled.
CancelledBy
string
Name or identifier of the user who cancelled the booking.
CancellationReasonDetails
string
Additional free-text details explaining the cancellation reason.
Price
number
Booking price.
OriginalBookingId
string
Original Booking Id.
Id
integer
Unique record identifier.
UniqueId
string
UUID of the record.
CreatedOn
string
Date and time the record was created (ISO 8601).
UpdatedOn
string
Date and time the record was last updated (ISO 8601).
UpdatedBy
string
Email of the user who last updated this record.
IsNew
boolean
Whether the record was recently created.
SystemId
string
External system identifier.
Example Response
{
  "ResourceId": 0,
  "ResourceName": null,
  "ResourceAllocation": null,
  "ResourceHideInCalendar": null,
  "ResourceNoReturnPolicy": null,
  "ResourceNoReturnPolicyAllResources": null,
  "ResourceNoReturnPolicyAllUsers": null,
  "ResourceResourceTypeId": null,
  "ResourceResourceTypeName": null,
  "FloorPlanDeskId": null,
  "FloorPlanDeskName": null,
  "CoworkerId": null,
  "CoworkerCoworkerType": null,
  "CoworkerFullName": null,
  "CoworkerBillingName": null,
  "CoworkerCompanyName": null,
  "CoworkerTeamNames": null,
  "ExtraServiceId": null,
  "ExtraServiceName": null,
  "FromTime": "2025-01-15T10:30:00Z",
  "ToTime": "2025-01-15T10:30:00Z",
  "Notes": null,
  "InternalNotes": null,
  "ChargeNow": false,
  "InvoiceNow": false,
  "InvoiceThisCoworker": false,
  "DoNotUseBookingCredit": false,
  "PurchaseOrder": null,
  "DiscountCode": null,
  "LastNotificationTime": null,
  "GoogleCalendarId": null,
  "GoogleEventId": null,
  "Office365EventId": null,
  "PublicGoogleEventId": null,
  "Tentative": false,
  "Online": false,
  "TeamsAtTheTimeOfBooking": null,
  "TariffAtTheTimeOfBooking": null,
  "RepeatSeriesUniqueId": null,
  "RepeatBooking": false,
  "Repeats": 0,
  "WhichBookingsToUpdate": 0,
  "RepeatEvery": null,
  "RepeatUntil": null,
  "RepeatOnMondays": false,
  "RepeatOnTuesdays": false,
  "RepeatOnWednesdays": false,
  "RepeatOnThursdays": false,
  "RepeatOnFridays": false,
  "RepeatOnSaturdays": false,
  "RepeatOnSundays": false,
  "Reminded": false,
  "MrmReminded": false,
  "OverridePrice": null,
  "Invoiced": false,
  "InvoiceDate": null,
  "BookingNumber": null,
  "KisiKeyId": null,
  "StartScheduledJobId": null,
  "EndScheduledJobId": null,
  "Billed": false,
  "FromTimeLocal": null,
  "ToTimeLocal": null,
  "InvoiceDateLocal": null,
  "CoworkerInvoiceId": null,
  "CoworkerInvoiceNumber": null,
  "CoworkerInvoicePaid": false,
  "CoworkerInvoiceDraft": false,
  "CoworkerInvoiceVoid": false,
  "CoworkerInvoiceCreditNote": false,
  "CoworkerExtraServiceIds": null,
  "CoworkerExtraServicePrice": null,
  "CoworkerExtraServiceCurrencyCode": null,
  "CoworkerExtraServiceChargePeriod": null,
  "CoworkerExtraServiceTotalUses": null,
  "IncludeZoomInvite": false,
  "ZoomEventData": null,
  "CheckedInAt": null,
  "CancelIfNotPaid": false,
  "CancelIfNotCheckedIn": false,
  "MaxOccupancy": null,
  "LastMinutePriceAdjustment": null,
  "DynamicPriceAdjustment": null,
  "PriceFactorLastMinute": null,
  "PriceFactorDemand": null,
  "Office365AdminEventId": null,
  "CancellationReason": 0,
  "CancelledOn": "2025-01-15T10:30:00Z",
  "CancelledBy": null,
  "CancellationReasonDetails": null,
  "Price": null,
  "OriginalBookingId": null,
  "Id": 87654321,
  "UpdatedOn": "2025-01-15T10:30:00Z",
  "CreatedOn": "2025-01-10T08:00:00Z",
  "UniqueId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "UpdatedBy": "admin@example.com",
  "IsNew": false,
  "SystemId": null,
  "ToStringText": "CancelledBooking Example",
  "LocalizationDetails": null,
  "CustomFields": null
}