Skip to main content
GET
/
api
/
spaces
/
cancelledbookings
/
{id}
Get one CancelledBooking
curl --request GET \
  --url https://spaces.nexudus.com/api/spaces/cancelledbookings/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "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
ID of the resource linked to this record.
ResourceName
string
Resource name.
ResourceAllocation
integer
The resource allocation value for this cancelled booking.
ResourceHideInCalendar
boolean
Whether resource hide in calendar is enabled.
ResourceNoReturnPolicy
integer
The resource no return policy value for this cancelled booking.
ResourceNoReturnPolicyAllResources
integer
The resource no return policy all resources value for this cancelled booking.
ResourceNoReturnPolicyAllUsers
integer
The resource no return policy all users value for this cancelled booking.
ResourceResourceTypeId
integer
ID of the resource resource type associated with this record.
ResourceResourceTypeName
string
Display name of the linked resource resource type (read-only).
FloorPlanDeskId
integer
ID of the floor plan desk linked to this record.
FloorPlanDeskName
string
Display name of the linked floor plan desk (read-only).
CoworkerId
integer
ID of the coworker linked to this record.
CoworkerCoworkerType
string
The coworker coworker type value for this cancelled booking.
CoworkerFullName
string
Coworker full name.
CoworkerBillingName
string
Coworker billing name.
CoworkerCompanyName
string
Coworker company name.
CoworkerTeamNames
string
The coworker team names value for this cancelled booking.
ExtraServiceId
integer
ID of the extra service linked to this record.
ExtraServiceName
string
Extra service name.
FromTime
string
Booking start time.
ToTime
string
Booking end time.
Notes
string
Optional notes or comments about this cancelled booking.
InternalNotes
string
The internal notes value for this cancelled booking.
ChargeNow
boolean
Whether charge now is enabled.
InvoiceNow
boolean
Whether invoice now is enabled.
InvoiceThisCoworker
boolean
Whether invoice this coworker is enabled.
DoNotUseBookingCredit
boolean
Whether do not use booking credit is enabled.
PurchaseOrder
string
The purchase order value for this cancelled booking.
DiscountCode
string
The discount code value for this cancelled booking.
LastNotificationTime
string
Date/time value for last notification time.
GoogleCalendarId
string
ID of the google calendar associated with this record.
GoogleEventId
string
ID of the google event associated with this record.
Office365EventId
string
ID of the office365 event associated with this record.
PublicGoogleEventId
string
ID of the public google event associated with this record.
Tentative
boolean
Tentative booking. Must be approved by an administrator before confirmed or charged. Tentative bookings still block the calendar.
Online
boolean
Whether online is enabled.
TeamsAtTheTimeOfBooking
string
The teams at the time of booking value for this cancelled booking.
TariffAtTheTimeOfBooking
string
The tariff at the time of booking value for this cancelled booking.
RepeatSeriesUniqueId
string
ID of the repeat series unique associated with this record.
RepeatBooking
boolean
Whether repeat booking is enabled.
Repeats
integer
The repeats value for this cancelled booking. See eBookingRepeatCycle enum values: 1 = Daily, 2 = Weekly, 3 = Monthly, 4 = Yearly, 5 = FirstOfMonth, 6 = SecondOfMonth, 7 = ThirdOfMonth, 8 = LastOfMonth, 9 = FourthOfMonth.
WhichBookingsToUpdate
integer
Date/time value for which bookings to update. See eRepeatedBookingUpdateAction enum values: 1 = UpdateThisBookingOnly, 2 = UpdateFutureBookingsOnly, 3 = UpdateAllBookings, 4 = UpdateNotChargedBookings, 5 = DeleteAllBookings, 6 = DeleteBookingsAfterThis, 7 = DeleteNotChargedBookings, 8 = RevertAllCharges.
RepeatEvery
integer
The repeat every value for this cancelled booking.
RepeatUntil
string
Date/time value for repeat until.
RepeatOnMondays
boolean
Whether repeat on mondays is enabled.
RepeatOnTuesdays
boolean
Whether repeat on tuesdays is enabled.
RepeatOnWednesdays
boolean
Whether repeat on wednesdays is enabled.
RepeatOnThursdays
boolean
Whether repeat on thursdays is enabled.
RepeatOnFridays
boolean
Whether repeat on fridays is enabled.
RepeatOnSaturdays
boolean
Whether repeat on saturdays is enabled.
RepeatOnSundays
boolean
Whether repeat on sundays is enabled.
Reminded
boolean
Whether reminded is enabled.
MrmReminded
boolean
Whether mrm reminded is enabled.
OverridePrice
number
The override price value for this cancelled booking.
Invoiced
boolean
Whether the booking had been charged. When true, a charge (CoworkerExtraService) had been posted to the customer account.
InvoiceDate
string
Date/time value for invoice date.
BookingNumber
integer
The booking number value for this cancelled booking.
KisiKeyId
integer
ID of the kisi key associated with this record.
StartScheduledJobId
string
ID of the start scheduled job associated with this record.
EndScheduledJobId
string
ID of the end scheduled job associated with this record.
Billed
boolean
Whether billed is enabled.
FromTimeLocal
string
Date/time value for from time local.
ToTimeLocal
string
Date/time value for to time local.
InvoiceDateLocal
string
Date/time value for invoice date local.
CoworkerInvoiceId
integer
ID of the coworker invoice associated with this record.
CoworkerInvoiceNumber
string
The coworker invoice number value for this cancelled booking.
CoworkerInvoicePaid
boolean
Whether coworker invoice paid is enabled.
CoworkerInvoiceDraft
boolean
Whether coworker invoice draft is enabled.
CoworkerInvoiceVoid
boolean
Whether coworker invoice void is enabled.
CoworkerInvoiceCreditNote
boolean
Whether coworker invoice credit note is enabled.
CoworkerExtraServiceIds
string
The coworker extra service ids value for this cancelled booking.
CoworkerExtraServicePrice
number
The coworker extra service price value for this cancelled booking.
CoworkerExtraServiceCurrencyCode
string
The coworker extra service currency code value for this cancelled booking.
CoworkerExtraServiceChargePeriod
integer
The coworker extra service charge period value for this cancelled booking.
CoworkerExtraServiceTotalUses
integer
The coworker extra service total uses value for this cancelled booking.
IncludeZoomInvite
boolean
Whether include zoom invite is enabled.
ZoomEventData
string
The zoom event data value for this cancelled booking.
CheckedInAt
string
Date/time value for checked in at.
CancelIfNotPaid
boolean
Whether cancel if not paid is enabled.
CancelIfNotCheckedIn
boolean
Whether cancel if not checked in is enabled.
MaxOccupancy
integer
The max occupancy value for this cancelled booking.
LastMinutePriceAdjustment
number
The last minute price adjustment value for this cancelled booking.
DynamicPriceAdjustment
number
The dynamic price adjustment value for this cancelled booking.
PriceFactorLastMinute
number
The price factor last minute value for this cancelled booking.
PriceFactorDemand
number
The price factor demand value for this cancelled booking.
Office365AdminEventId
string
ID of the office365 admin event associated with this record.
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
ID of the original booking associated with this record.
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
}