> ## Documentation Index
> Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get one CancelledBooking

> Retrieve a single CancelledBooking record by its Id.

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

<Note>
  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.
</Note>

## Path Parameters

<ParamField path="id" type="integer" required>
  The Id of the CancelledBooking record to retrieve.
</ParamField>

## Code Examples

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET \
    "https://spaces.nexudus.com/api/spaces/cancelledbookings/87654321" \
    -H "Authorization: Bearer YOUR_TOKEN"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    'https://spaces.nexudus.com/api/spaces/cancelledbookings/87654321',
    {
      headers: {
        'Authorization': 'Bearer YOUR_TOKEN'
      }
    }
  );

  const record = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      'https://spaces.nexudus.com/api/spaces/cancelledbookings/87654321',
      headers={
          'Authorization': 'Bearer YOUR_TOKEN'
      }
  )

  record = response.json()
  ```
</CodeGroup>

## Response

### 200

<ResponseField name="ResourceId" type="integer">
  Resource Id.
</ResponseField>

<ResponseField name="ResourceName" type="string">
  Resource name.
</ResponseField>

<ResponseField name="ResourceAllocation" type="integer">
  Resource Allocation.
</ResponseField>

<ResponseField name="ResourceHideInCalendar" type="boolean">
  Resource Hide In Calendar.
</ResponseField>

<ResponseField name="ResourceNoReturnPolicy" type="integer">
  Resource No Return Policy.
</ResponseField>

<ResponseField name="ResourceNoReturnPolicyAllResources" type="integer">
  Resource No Return Policy All Resources.
</ResponseField>

<ResponseField name="ResourceNoReturnPolicyAllUsers" type="integer">
  Resource No Return Policy All Users.
</ResponseField>

<ResponseField name="ResourceResourceTypeId" type="integer">
  Resource Resource Type Id.
</ResponseField>

<ResponseField name="ResourceResourceTypeName" type="string">
  Resource Resource Type Name.
</ResponseField>

<ResponseField name="FloorPlanDeskId" type="integer">
  Floor Plan Desk Id.
</ResponseField>

<ResponseField name="FloorPlanDeskName" type="string">
  Floor Plan Desk Name.
</ResponseField>

<ResponseField name="CoworkerId" type="integer">
  Coworker Id.
</ResponseField>

<ResponseField name="CoworkerCoworkerType" type="string">
  Coworker Coworker Type.
</ResponseField>

<ResponseField name="CoworkerFullName" type="string">
  Coworker full name.
</ResponseField>

<ResponseField name="CoworkerBillingName" type="string">
  Coworker billing name.
</ResponseField>

<ResponseField name="CoworkerCompanyName" type="string">
  Coworker company name.
</ResponseField>

<ResponseField name="CoworkerTeamNames" type="string">
  Coworker Team Names.
</ResponseField>

<ResponseField name="ExtraServiceId" type="integer">
  Extra Service Id.
</ResponseField>

<ResponseField name="ExtraServiceName" type="string">
  Extra service name.
</ResponseField>

<ResponseField name="FromTime" type="string">
  Booking start time.
</ResponseField>

<ResponseField name="ToTime" type="string">
  Booking end time.
</ResponseField>

<ResponseField name="Notes" type="string">
  Notes.
</ResponseField>

<ResponseField name="InternalNotes" type="string">
  Internal Notes.
</ResponseField>

<ResponseField name="ChargeNow" type="boolean">
  Charge Now.
</ResponseField>

<ResponseField name="InvoiceNow" type="boolean">
  Invoice Now.
</ResponseField>

<ResponseField name="InvoiceThisCoworker" type="boolean">
  Invoice This Coworker.
</ResponseField>

<ResponseField name="DoNotUseBookingCredit" type="boolean">
  Do Not Use Booking Credit.
</ResponseField>

<ResponseField name="PurchaseOrder" type="string">
  Purchase Order.
</ResponseField>

<ResponseField name="DiscountCode" type="string">
  Discount Code.
</ResponseField>

<ResponseField name="LastNotificationTime" type="string">
  Last Notification Time.
</ResponseField>

<ResponseField name="GoogleCalendarId" type="string">
  Google Calendar Id.
</ResponseField>

<ResponseField name="GoogleEventId" type="string">
  Google Event Id.
</ResponseField>

<ResponseField name="Office365EventId" type="string">
  Office365Event Id.
</ResponseField>

<ResponseField name="PublicGoogleEventId" type="string">
  Public Google Event Id.
</ResponseField>

<ResponseField name="Tentative" type="boolean">
  Tentative booking. Must be approved by an administrator before confirmed or charged. Tentative bookings still block the calendar.
</ResponseField>

<ResponseField name="Online" type="boolean">
  Online.
</ResponseField>

<ResponseField name="TeamsAtTheTimeOfBooking" type="string">
  Teams At The Time Of Booking.
</ResponseField>

<ResponseField name="TariffAtTheTimeOfBooking" type="string">
  Tariff At The Time Of Booking.
</ResponseField>

<ResponseField name="RepeatSeriesUniqueId" type="string">
  Repeat Series Unique Id.
</ResponseField>

<ResponseField name="RepeatBooking" type="boolean">
  Repeat Booking.
</ResponseField>

<ResponseField name="Repeats" type="integer">
  Repeats.
</ResponseField>

<ResponseField name="WhichBookingsToUpdate" type="integer">
  Which Bookings To Update.
</ResponseField>

<ResponseField name="RepeatEvery" type="integer">
  Repeat Every.
</ResponseField>

<ResponseField name="RepeatUntil" type="string">
  Repeat Until.
</ResponseField>

<ResponseField name="RepeatOnMondays" type="boolean">
  Repeat On Mondays.
</ResponseField>

<ResponseField name="RepeatOnTuesdays" type="boolean">
  Repeat On Tuesdays.
</ResponseField>

<ResponseField name="RepeatOnWednesdays" type="boolean">
  Repeat On Wednesdays.
</ResponseField>

<ResponseField name="RepeatOnThursdays" type="boolean">
  Repeat On Thursdays.
</ResponseField>

<ResponseField name="RepeatOnFridays" type="boolean">
  Repeat On Fridays.
</ResponseField>

<ResponseField name="RepeatOnSaturdays" type="boolean">
  Repeat On Saturdays.
</ResponseField>

<ResponseField name="RepeatOnSundays" type="boolean">
  Repeat On Sundays.
</ResponseField>

<ResponseField name="Reminded" type="boolean">
  Reminded.
</ResponseField>

<ResponseField name="MrmReminded" type="boolean">
  Mrm Reminded.
</ResponseField>

<ResponseField name="OverridePrice" type="number">
  Override Price.
</ResponseField>

<ResponseField name="Invoiced" type="boolean">
  Whether the booking had been charged. When true, a charge (CoworkerExtraService) had been posted to the customer account.
</ResponseField>

<ResponseField name="InvoiceDate" type="string">
  Invoice Date.
</ResponseField>

<ResponseField name="BookingNumber" type="integer">
  Booking Number.
</ResponseField>

<ResponseField name="KisiKeyId" type="integer">
  Kisi Key Id.
</ResponseField>

<ResponseField name="StartScheduledJobId" type="string">
  Start Scheduled Job Id.
</ResponseField>

<ResponseField name="EndScheduledJobId" type="string">
  End Scheduled Job Id.
</ResponseField>

<ResponseField name="Billed" type="boolean">
  Billed.
</ResponseField>

<ResponseField name="FromTimeLocal" type="string">
  From Time Local.
</ResponseField>

<ResponseField name="ToTimeLocal" type="string">
  To Time Local.
</ResponseField>

<ResponseField name="InvoiceDateLocal" type="string">
  Invoice Date Local.
</ResponseField>

<ResponseField name="CoworkerInvoiceId" type="integer">
  Coworker Invoice Id.
</ResponseField>

<ResponseField name="CoworkerInvoiceNumber" type="string">
  Coworker Invoice Number.
</ResponseField>

<ResponseField name="CoworkerInvoicePaid" type="boolean">
  Coworker Invoice Paid.
</ResponseField>

<ResponseField name="CoworkerInvoiceDraft" type="boolean">
  Coworker Invoice Draft.
</ResponseField>

<ResponseField name="CoworkerInvoiceVoid" type="boolean">
  Coworker Invoice Void.
</ResponseField>

<ResponseField name="CoworkerInvoiceCreditNote" type="boolean">
  Coworker Invoice Credit Note.
</ResponseField>

<ResponseField name="CoworkerExtraServiceIds" type="string">
  Coworker Extra Service Ids.
</ResponseField>

<ResponseField name="CoworkerExtraServicePrice" type="number">
  Coworker Extra Service Price.
</ResponseField>

<ResponseField name="CoworkerExtraServiceCurrencyCode" type="string">
  Coworker Extra Service Currency Code.
</ResponseField>

<ResponseField name="CoworkerExtraServiceChargePeriod" type="integer">
  Coworker Extra Service Charge Period.
</ResponseField>

<ResponseField name="CoworkerExtraServiceTotalUses" type="integer">
  Coworker Extra Service Total Uses.
</ResponseField>

<ResponseField name="IncludeZoomInvite" type="boolean">
  Include Zoom Invite.
</ResponseField>

<ResponseField name="ZoomEventData" type="string">
  Zoom Event Data.
</ResponseField>

<ResponseField name="CheckedInAt" type="string">
  Checked In At.
</ResponseField>

<ResponseField name="CancelIfNotPaid" type="boolean">
  Cancel If Not Paid.
</ResponseField>

<ResponseField name="CancelIfNotCheckedIn" type="boolean">
  Cancel If Not Checked In.
</ResponseField>

<ResponseField name="MaxOccupancy" type="integer">
  Max Occupancy.
</ResponseField>

<ResponseField name="LastMinutePriceAdjustment" type="number">
  Last Minute Price Adjustment.
</ResponseField>

<ResponseField name="DynamicPriceAdjustment" type="number">
  Dynamic Price Adjustment.
</ResponseField>

<ResponseField name="PriceFactorLastMinute" type="number">
  Price Factor Last Minute.
</ResponseField>

<ResponseField name="PriceFactorDemand" type="number">
  Price Factor Demand.
</ResponseField>

<ResponseField name="Office365AdminEventId" type="string">
  Office365Admin Event Id.
</ResponseField>

<ResponseField name="CancellationReason" type="integer">
  Reason the booking was cancelled, e.g. NoLongerNeeded, TooExpensive, or NotCheckedIn.
</ResponseField>

<ResponseField name="CancelledOn" type="string">
  Date and time when the booking was cancelled.
</ResponseField>

<ResponseField name="CancelledBy" type="string">
  Name or identifier of the user who cancelled the booking.
</ResponseField>

<ResponseField name="CancellationReasonDetails" type="string">
  Additional free-text details explaining the cancellation reason.
</ResponseField>

<ResponseField name="Price" type="number">
  Booking price.
</ResponseField>

<ResponseField name="OriginalBookingId" type="string">
  Original Booking Id.
</ResponseField>

<ResponseField name="Id" type="integer">
  Unique record identifier.
</ResponseField>

<ResponseField name="UniqueId" type="string">
  UUID of the record.
</ResponseField>

<ResponseField name="CreatedOn" type="string">
  Date and time the record was created (ISO 8601).
</ResponseField>

<ResponseField name="UpdatedOn" type="string">
  Date and time the record was last updated (ISO 8601).
</ResponseField>

<ResponseField name="UpdatedBy" type="string">
  Email of the user who last updated this record.
</ResponseField>

<ResponseField name="IsNew" type="boolean">
  Whether the record was recently created.
</ResponseField>

<ResponseField name="SystemId" type="string">
  External system identifier.
</ResponseField>

```json Example Response theme={null}
{
  "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
}
```
