> ## 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.

# Search CancelledBookings

> Search and list CancelledBooking records with filtering, sorting, and pagination.

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-List`** role.
</Note>

## Enums

<Accordion title="eBookingCancellationReason">
  | Value | Name                      |
  | ----- | ------------------------- |
  | 0     | Unknown                   |
  | 1     | NoLongerNeeded            |
  | 2     | TooExpensive              |
  | 3     | BadPreviousExperience     |
  | 4     | RebookedForADifferentTime |
  | 5     | FailedToPayUpfront        |
  | 6     | Integration               |
  | 7     | Other                     |
  | 8     | NotCheckedIn              |
  | 9     | MarketPlace               |
</Accordion>

## Query Parameters

### Pagination & Sorting

<ParamField query="page" type="integer" default="1">
  The page number to retrieve.
</ParamField>

<ParamField query="size" type="integer" default="25">
  The number of records per page.
</ParamField>

<ParamField query="orderBy" type="string">
  The property name to sort results by (e.g. `Name`, `CreatedOn`).
</ParamField>

<ParamField query="dir" type="integer">
  Sort direction. `0` for ascending, `1` for descending.
</ParamField>

### Filters

<ParamField query="CancelledBooking_Resource" type="integer">
  Filter by Resource Id.
</ParamField>

<ParamField query="CancelledBooking_Resource_Name" type="string">
  Filter by resource name.
</ParamField>

<ParamField query="CancelledBooking_Resource_Allocation" type="integer">
  Filter by Resource Allocation.
</ParamField>

<ParamField query="CancelledBooking_Resource_HideInCalendar" type="boolean">
  Filter by Resource Hide In Calendar.
</ParamField>

<ParamField query="CancelledBooking_Resource_NoReturnPolicy" type="integer">
  Filter by Resource No Return Policy.
</ParamField>

<ParamField query="CancelledBooking_Resource_NoReturnPolicyAllResources" type="integer">
  Filter by Resource No Return Policy All Resources.
</ParamField>

<ParamField query="CancelledBooking_Resource_NoReturnPolicyAllUsers" type="integer">
  Filter by Resource No Return Policy All Users.
</ParamField>

<ParamField query="CancelledBooking_Resource_ResourceType_Id" type="integer">
  Filter by Resource Resource Type Id.
</ParamField>

<ParamField query="CancelledBooking_Resource_ResourceType_Name" type="string">
  Filter by Resource Resource Type Name.
</ParamField>

<ParamField query="CancelledBooking_FloorPlanDesk" type="integer">
  Filter by Floor Plan Desk Id.
</ParamField>

<ParamField query="CancelledBooking_FloorPlanDesk_Name" type="string">
  Filter by Floor Plan Desk Name.
</ParamField>

<ParamField query="CancelledBooking_Coworker" type="integer">
  Filter by Coworker Id.
</ParamField>

<ParamField query="CancelledBooking_Coworker_CoworkerType" type="string">
  Filter by Coworker Coworker Type.
</ParamField>

<ParamField query="CancelledBooking_Coworker_FullName" type="string">
  Filter by coworker full name.
</ParamField>

<ParamField query="CancelledBooking_Coworker_BillingName" type="string">
  Filter by coworker billing name.
</ParamField>

<ParamField query="CancelledBooking_Coworker_CompanyName" type="string">
  Filter by coworker company name.
</ParamField>

<ParamField query="CancelledBooking_Coworker_TeamNames" type="string">
  Filter by Coworker Team Names.
</ParamField>

<ParamField query="CancelledBooking_ExtraService" type="integer">
  Filter by Extra Service Id.
</ParamField>

<ParamField query="CancelledBooking_ExtraService_Name" type="string">
  Filter by extra service name.
</ParamField>

<ParamField query="CancelledBooking_FromTime" type="string">
  Filter by booking start time.
</ParamField>

<ParamField query="CancelledBooking_ToTime" type="string">
  Filter by booking end time.
</ParamField>

<ParamField query="CancelledBooking_Notes" type="string">
  Filter by notes.
</ParamField>

<ParamField query="CancelledBooking_InternalNotes" type="string">
  Filter by Internal Notes.
</ParamField>

<ParamField query="CancelledBooking_ChargeNow" type="boolean">
  Filter by Charge Now.
</ParamField>

<ParamField query="CancelledBooking_InvoiceNow" type="boolean">
  Filter by Invoice Now.
</ParamField>

<ParamField query="CancelledBooking_InvoiceThisCoworker" type="boolean">
  Filter by Invoice This Coworker.
</ParamField>

<ParamField query="CancelledBooking_DoNotUseBookingCredit" type="boolean">
  Filter by Do Not Use Booking Credit.
</ParamField>

<ParamField query="CancelledBooking_PurchaseOrder" type="string">
  Filter by Purchase Order.
</ParamField>

<ParamField query="CancelledBooking_DiscountCode" type="string">
  Filter by Discount Code.
</ParamField>

<ParamField query="CancelledBooking_LastNotificationTime" type="string">
  Filter by Last Notification Time.
</ParamField>

<ParamField query="CancelledBooking_GoogleCalendarId" type="string">
  Filter by Google Calendar Id.
</ParamField>

<ParamField query="CancelledBooking_GoogleEventId" type="string">
  Filter by Google Event Id.
</ParamField>

<ParamField query="CancelledBooking_Office365EventId" type="string">
  Filter by Office365Event Id.
</ParamField>

<ParamField query="CancelledBooking_PublicGoogleEventId" type="string">
  Filter by Public Google Event Id.
</ParamField>

<ParamField query="CancelledBooking_Tentative" type="boolean">
  Filter by tentative booking. Must be approved by an administrator before confirmed or charged. Tentative bookings still block the calendar.
</ParamField>

<ParamField query="CancelledBooking_Online" type="boolean">
  Filter by Online.
</ParamField>

<ParamField query="CancelledBooking_TeamsAtTheTimeOfBooking" type="string">
  Filter by Teams At The Time Of Booking.
</ParamField>

<ParamField query="CancelledBooking_TariffAtTheTimeOfBooking" type="string">
  Filter by Tariff At The Time Of Booking.
</ParamField>

<ParamField query="CancelledBooking_RepeatSeriesUniqueId" type="string">
  Filter by Repeat Series Unique Id.
</ParamField>

<ParamField query="CancelledBooking_RepeatBooking" type="boolean">
  Filter by Repeat Booking.
</ParamField>

<ParamField query="CancelledBooking_Repeats" type="integer">
  Filter by Repeats.
</ParamField>

<ParamField query="CancelledBooking_WhichBookingsToUpdate" type="integer">
  Filter by Which Bookings To Update.
</ParamField>

<ParamField query="CancelledBooking_RepeatEvery" type="integer">
  Filter by Repeat Every.
</ParamField>

<ParamField query="CancelledBooking_RepeatUntil" type="string">
  Filter by Repeat Until.
</ParamField>

<ParamField query="CancelledBooking_RepeatOnMondays" type="boolean">
  Filter by Repeat On Mondays.
</ParamField>

<ParamField query="CancelledBooking_RepeatOnTuesdays" type="boolean">
  Filter by Repeat On Tuesdays.
</ParamField>

<ParamField query="CancelledBooking_RepeatOnWednesdays" type="boolean">
  Filter by Repeat On Wednesdays.
</ParamField>

<ParamField query="CancelledBooking_RepeatOnThursdays" type="boolean">
  Filter by Repeat On Thursdays.
</ParamField>

<ParamField query="CancelledBooking_RepeatOnFridays" type="boolean">
  Filter by Repeat On Fridays.
</ParamField>

<ParamField query="CancelledBooking_RepeatOnSaturdays" type="boolean">
  Filter by Repeat On Saturdays.
</ParamField>

<ParamField query="CancelledBooking_RepeatOnSundays" type="boolean">
  Filter by Repeat On Sundays.
</ParamField>

<ParamField query="CancelledBooking_Reminded" type="boolean">
  Filter by Reminded.
</ParamField>

<ParamField query="CancelledBooking_MrmReminded" type="boolean">
  Filter by Mrm Reminded.
</ParamField>

<ParamField query="CancelledBooking_OverridePrice" type="number">
  Filter by Override Price.
</ParamField>

<ParamField query="CancelledBooking_Invoiced" type="boolean">
  Filter by whether the booking had been charged. When true, a charge (CoworkerExtraService) had been posted to the customer account.
</ParamField>

<ParamField query="CancelledBooking_InvoiceDate" type="string">
  Filter by Invoice Date.
</ParamField>

<ParamField query="CancelledBooking_BookingNumber" type="integer">
  Filter by Booking Number.
</ParamField>

<ParamField query="CancelledBooking_KisiKeyId" type="integer">
  Filter by Kisi Key Id.
</ParamField>

<ParamField query="CancelledBooking_StartScheduledJobId" type="string">
  Filter by Start Scheduled Job Id.
</ParamField>

<ParamField query="CancelledBooking_EndScheduledJobId" type="string">
  Filter by End Scheduled Job Id.
</ParamField>

<ParamField query="CancelledBooking_Billed" type="boolean">
  Filter by Billed.
</ParamField>

<ParamField query="CancelledBooking_FromTimeLocal" type="string">
  Filter by From Time Local.
</ParamField>

<ParamField query="CancelledBooking_ToTimeLocal" type="string">
  Filter by To Time Local.
</ParamField>

<ParamField query="CancelledBooking_InvoiceDateLocal" type="string">
  Filter by Invoice Date Local.
</ParamField>

<ParamField query="CancelledBooking_CoworkerInvoiceId" type="integer">
  Filter by Coworker Invoice Id.
</ParamField>

<ParamField query="CancelledBooking_CoworkerInvoiceNumber" type="string">
  Filter by Coworker Invoice Number.
</ParamField>

<ParamField query="CancelledBooking_CoworkerInvoicePaid" type="boolean">
  Filter by Coworker Invoice Paid.
</ParamField>

<ParamField query="CancelledBooking_CoworkerInvoiceDraft" type="boolean">
  Filter by Coworker Invoice Draft.
</ParamField>

<ParamField query="CancelledBooking_CoworkerInvoiceVoid" type="boolean">
  Filter by Coworker Invoice Void.
</ParamField>

<ParamField query="CancelledBooking_CoworkerInvoiceCreditNote" type="boolean">
  Filter by Coworker Invoice Credit Note.
</ParamField>

<ParamField query="CancelledBooking_CoworkerExtraServiceIds" type="string">
  Filter by Coworker Extra Service Ids.
</ParamField>

<ParamField query="CancelledBooking_CoworkerExtraServicePrice" type="number">
  Filter by Coworker Extra Service Price.
</ParamField>

<ParamField query="CancelledBooking_CoworkerExtraServiceCurrencyCode" type="string">
  Filter by Coworker Extra Service Currency Code.
</ParamField>

<ParamField query="CancelledBooking_CoworkerExtraServiceChargePeriod" type="integer">
  Filter by Coworker Extra Service Charge Period.
</ParamField>

<ParamField query="CancelledBooking_CoworkerExtraServiceTotalUses" type="integer">
  Filter by Coworker Extra Service Total Uses.
</ParamField>

<ParamField query="CancelledBooking_IncludeZoomInvite" type="boolean">
  Filter by Include Zoom Invite.
</ParamField>

<ParamField query="CancelledBooking_ZoomEventData" type="string">
  Filter by Zoom Event Data.
</ParamField>

<ParamField query="CancelledBooking_CheckedInAt" type="string">
  Filter by Checked In At.
</ParamField>

<ParamField query="CancelledBooking_CancelIfNotPaid" type="boolean">
  Filter by Cancel If Not Paid.
</ParamField>

<ParamField query="CancelledBooking_CancelIfNotCheckedIn" type="boolean">
  Filter by Cancel If Not Checked In.
</ParamField>

<ParamField query="CancelledBooking_MaxOccupancy" type="integer">
  Filter by Max Occupancy.
</ParamField>

<ParamField query="CancelledBooking_LastMinutePriceAdjustment" type="number">
  Filter by Last Minute Price Adjustment.
</ParamField>

<ParamField query="CancelledBooking_DynamicPriceAdjustment" type="number">
  Filter by Dynamic Price Adjustment.
</ParamField>

<ParamField query="CancelledBooking_PriceFactorLastMinute" type="number">
  Filter by Price Factor Last Minute.
</ParamField>

<ParamField query="CancelledBooking_PriceFactorDemand" type="number">
  Filter by Price Factor Demand.
</ParamField>

<ParamField query="CancelledBooking_Office365AdminEventId" type="string">
  Filter by Office365Admin Event Id.
</ParamField>

<ParamField query="CancelledBooking_CancellationReason" type="integer">
  Filter by reason the booking was cancelled, e.g. NoLongerNeeded, TooExpensive, or NotCheckedIn.
</ParamField>

<ParamField query="CancelledBooking_CancelledOn" type="string">
  Filter by date and time when the booking was cancelled.
</ParamField>

<ParamField query="CancelledBooking_CancelledBy" type="string">
  Filter by name or identifier of the user who cancelled the booking.
</ParamField>

<ParamField query="CancelledBooking_CancellationReasonDetails" type="string">
  Filter by additional free-text details explaining the cancellation reason.
</ParamField>

<ParamField query="CancelledBooking_Price" type="number">
  Filter by booking price.
</ParamField>

<ParamField query="CancelledBooking_OriginalBookingId" type="string">
  Filter by Original Booking Id.
</ParamField>

### Range Filters

<ParamField query="from_CancelledBooking_ResourceAllocation" type="integer">
  Filter by resource allocation greater than or equal to this value.
</ParamField>

<ParamField query="to_CancelledBooking_ResourceAllocation" type="integer">
  Filter by resource allocation less than or equal to this value.
</ParamField>

<ParamField query="from_CancelledBooking_ResourceNoReturnPolicy" type="integer">
  Filter by resource no return policy greater than or equal to this value.
</ParamField>

<ParamField query="to_CancelledBooking_ResourceNoReturnPolicy" type="integer">
  Filter by resource no return policy less than or equal to this value.
</ParamField>

<ParamField query="from_CancelledBooking_ResourceNoReturnPolicyAllResources" type="integer">
  Filter by resource no return policy all resources greater than or equal to this value.
</ParamField>

<ParamField query="to_CancelledBooking_ResourceNoReturnPolicyAllResources" type="integer">
  Filter by resource no return policy all resources less than or equal to this value.
</ParamField>

<ParamField query="from_CancelledBooking_ResourceNoReturnPolicyAllUsers" type="integer">
  Filter by resource no return policy all users greater than or equal to this value.
</ParamField>

<ParamField query="to_CancelledBooking_ResourceNoReturnPolicyAllUsers" type="integer">
  Filter by resource no return policy all users less than or equal to this value.
</ParamField>

<ParamField query="from_CancelledBooking_ResourceResourceTypeId" type="integer">
  Filter by resource resource type id greater than or equal to this value.
</ParamField>

<ParamField query="to_CancelledBooking_ResourceResourceTypeId" type="integer">
  Filter by resource resource type id less than or equal to this value.
</ParamField>

<ParamField query="from_CancelledBooking_FromTime" type="string">
  Filter by booking start time greater than or equal to this value. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

<ParamField query="to_CancelledBooking_FromTime" type="string">
  Filter by booking start time less than or equal to this value. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

<ParamField query="from_CancelledBooking_ToTime" type="string">
  Filter by booking end time greater than or equal to this value. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

<ParamField query="to_CancelledBooking_ToTime" type="string">
  Filter by booking end time less than or equal to this value. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

<ParamField query="from_CancelledBooking_LastNotificationTime" type="string">
  Filter by last notification time greater than or equal to this value. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

<ParamField query="to_CancelledBooking_LastNotificationTime" type="string">
  Filter by last notification time less than or equal to this value. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

<ParamField query="from_CancelledBooking_RepeatEvery" type="integer">
  Filter by repeat every greater than or equal to this value.
</ParamField>

<ParamField query="to_CancelledBooking_RepeatEvery" type="integer">
  Filter by repeat every less than or equal to this value.
</ParamField>

<ParamField query="from_CancelledBooking_RepeatUntil" type="string">
  Filter by repeat until greater than or equal to this value. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

<ParamField query="to_CancelledBooking_RepeatUntil" type="string">
  Filter by repeat until less than or equal to this value. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

<ParamField query="from_CancelledBooking_OverridePrice" type="number">
  Filter by override price greater than or equal to this value.
</ParamField>

<ParamField query="to_CancelledBooking_OverridePrice" type="number">
  Filter by override price less than or equal to this value.
</ParamField>

<ParamField query="from_CancelledBooking_InvoiceDate" type="string">
  Filter by invoice date greater than or equal to this value. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

<ParamField query="to_CancelledBooking_InvoiceDate" type="string">
  Filter by invoice date less than or equal to this value. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

<ParamField query="from_CancelledBooking_BookingNumber" type="integer">
  Filter by booking number greater than or equal to this value.
</ParamField>

<ParamField query="to_CancelledBooking_BookingNumber" type="integer">
  Filter by booking number less than or equal to this value.
</ParamField>

<ParamField query="from_CancelledBooking_KisiKeyId" type="integer">
  Filter by kisi key id greater than or equal to this value.
</ParamField>

<ParamField query="to_CancelledBooking_KisiKeyId" type="integer">
  Filter by kisi key id less than or equal to this value.
</ParamField>

<ParamField query="from_CancelledBooking_FromTimeLocal" type="string">
  Filter by from time local greater than or equal to this value. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

<ParamField query="to_CancelledBooking_FromTimeLocal" type="string">
  Filter by from time local less than or equal to this value. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

<ParamField query="from_CancelledBooking_ToTimeLocal" type="string">
  Filter by to time local greater than or equal to this value. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

<ParamField query="to_CancelledBooking_ToTimeLocal" type="string">
  Filter by to time local less than or equal to this value. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

<ParamField query="from_CancelledBooking_InvoiceDateLocal" type="string">
  Filter by invoice date local greater than or equal to this value. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

<ParamField query="to_CancelledBooking_InvoiceDateLocal" type="string">
  Filter by invoice date local less than or equal to this value. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

<ParamField query="from_CancelledBooking_CoworkerInvoiceId" type="integer">
  Filter by coworker invoice id greater than or equal to this value.
</ParamField>

<ParamField query="to_CancelledBooking_CoworkerInvoiceId" type="integer">
  Filter by coworker invoice id less than or equal to this value.
</ParamField>

<ParamField query="from_CancelledBooking_CoworkerExtraServicePrice" type="number">
  Filter by coworker extra service price greater than or equal to this value.
</ParamField>

<ParamField query="to_CancelledBooking_CoworkerExtraServicePrice" type="number">
  Filter by coworker extra service price less than or equal to this value.
</ParamField>

<ParamField query="from_CancelledBooking_CoworkerExtraServiceChargePeriod" type="integer">
  Filter by coworker extra service charge period greater than or equal to this value.
</ParamField>

<ParamField query="to_CancelledBooking_CoworkerExtraServiceChargePeriod" type="integer">
  Filter by coworker extra service charge period less than or equal to this value.
</ParamField>

<ParamField query="from_CancelledBooking_CoworkerExtraServiceTotalUses" type="integer">
  Filter by coworker extra service total uses greater than or equal to this value.
</ParamField>

<ParamField query="to_CancelledBooking_CoworkerExtraServiceTotalUses" type="integer">
  Filter by coworker extra service total uses less than or equal to this value.
</ParamField>

<ParamField query="from_CancelledBooking_CheckedInAt" type="string">
  Filter by checked in at greater than or equal to this value. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

<ParamField query="to_CancelledBooking_CheckedInAt" type="string">
  Filter by checked in at less than or equal to this value. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

<ParamField query="from_CancelledBooking_MaxOccupancy" type="integer">
  Filter by max occupancy greater than or equal to this value.
</ParamField>

<ParamField query="to_CancelledBooking_MaxOccupancy" type="integer">
  Filter by max occupancy less than or equal to this value.
</ParamField>

<ParamField query="from_CancelledBooking_LastMinutePriceAdjustment" type="number">
  Filter by last minute price adjustment greater than or equal to this value.
</ParamField>

<ParamField query="to_CancelledBooking_LastMinutePriceAdjustment" type="number">
  Filter by last minute price adjustment less than or equal to this value.
</ParamField>

<ParamField query="from_CancelledBooking_DynamicPriceAdjustment" type="number">
  Filter by dynamic price adjustment greater than or equal to this value.
</ParamField>

<ParamField query="to_CancelledBooking_DynamicPriceAdjustment" type="number">
  Filter by dynamic price adjustment less than or equal to this value.
</ParamField>

<ParamField query="from_CancelledBooking_PriceFactorLastMinute" type="number">
  Filter by price factor last minute greater than or equal to this value.
</ParamField>

<ParamField query="to_CancelledBooking_PriceFactorLastMinute" type="number">
  Filter by price factor last minute less than or equal to this value.
</ParamField>

<ParamField query="from_CancelledBooking_PriceFactorDemand" type="number">
  Filter by price factor demand greater than or equal to this value.
</ParamField>

<ParamField query="to_CancelledBooking_PriceFactorDemand" type="number">
  Filter by price factor demand less than or equal to this value.
</ParamField>

<ParamField query="from_CancelledBooking_CancelledOn" type="string">
  Filter by date and time when the booking was cancelled greater than or equal to this value. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

<ParamField query="to_CancelledBooking_CancelledOn" type="string">
  Filter by date and time when the booking was cancelled less than or equal to this value. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

<ParamField query="from_CancelledBooking_Price" type="number">
  Filter by booking price greater than or equal to this value.
</ParamField>

<ParamField query="to_CancelledBooking_Price" type="number">
  Filter by booking price less than or equal to this value.
</ParamField>

<ParamField query="from_CancelledBooking_CreatedOn" type="string">
  Filter records created on or after this date. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

<ParamField query="to_CancelledBooking_CreatedOn" type="string">
  Filter records created on or before this date. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

<ParamField query="from_CancelledBooking_UpdatedOn" type="string">
  Filter records updated on or after this date. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

<ParamField query="to_CancelledBooking_UpdatedOn" type="string">
  Filter records updated on or before this date. Format: `YYYY-MM-DDTHH:mm`.
</ParamField>

## Code Examples

### Simple listing

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET \
    "https://spaces.nexudus.com/api/spaces/cancelledbookings?page=1&size=15&orderBy=CreatedOn&dir=0" \
    -H "Authorization: Bearer YOUR_TOKEN"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    'https://spaces.nexudus.com/api/spaces/cancelledbookings?' + new URLSearchParams({
      page: 1,
      size: 15,
      orderBy: 'CreatedOn',
      dir: 1 // Ascending
    }),
    {
      headers: {
        'Authorization': 'Bearer YOUR_TOKEN'
      }
    }
  );

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

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

  response = requests.get(
      'https://spaces.nexudus.com/api/spaces/cancelledbookings',
      params={
          'page': 1,
          'size': 15,
          'orderBy': 'CreatedOn',
          'dir': 0 // Ascending
      },
      headers={
          'Authorization': 'Bearer YOUR_TOKEN'
      }
  )

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

### Filtering by CreatedOn

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET \
    "https://spaces.nexudus.com/api/spaces/cancelledbookings?CancelledBooking_CreatedOn=example-value&orderBy=CreatedOn&dir=0" \
    -H "Authorization: Bearer YOUR_TOKEN"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    'https://spaces.nexudus.com/api/spaces/cancelledbookings?' + new URLSearchParams({
      CancelledBooking_CreatedOn: 'example-value',
      orderBy: 'CreatedOn',
      dir: 1
    }),
    {
      headers: {
        'Authorization': 'Bearer YOUR_TOKEN'
      }
    }
  );

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

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

  response = requests.get(
      'https://spaces.nexudus.com/api/spaces/cancelledbookings',
      params={
          'CancelledBooking_CreatedOn': 'example-value',
          'orderBy': 'CreatedOn',
          'dir': 0 // Ascending
      },
      headers={
          'Authorization': 'Bearer YOUR_TOKEN'
      }
  )

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

### Range filters

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET \
    "https://spaces.nexudus.com/api/spaces/cancelledbookings?from_CancelledBooking_UpdatedOn=2025-01-01T00:00&to_CancelledBooking_UpdatedOn=2025-12-31T23:59&orderBy=UpdatedOn&dir=0" \
    -H "Authorization: Bearer YOUR_TOKEN"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    'https://spaces.nexudus.com/api/spaces/cancelledbookings?' + new URLSearchParams({
      from_CancelledBooking_UpdatedOn: '2025-01-01T00:00',
      to_CancelledBooking_UpdatedOn: '2025-12-31T23:59',
      orderBy: 'UpdatedOn',
      dir: 1 // Descending
     }),
    {
      headers: {
        'Authorization': 'Bearer YOUR_TOKEN'
      }
    }
  );

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

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

  response = requests.get(
      'https://spaces.nexudus.com/api/spaces/cancelledbookings',
      params={
          'from_CancelledBooking_UpdatedOn': '2025-01-01T00:00',
          'to_CancelledBooking_UpdatedOn': '2025-12-31T23:59',
          'orderBy': 'UpdatedOn',
          'dir': 1 // Descending
      },
      headers={
          'Authorization': 'Bearer YOUR_TOKEN'
      }
  )

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

## Response

### 200

<ResponseField name="Records" type="CancelledBooking[]">
  The list of CancelledBooking records matching the query. See the [Get one CancelledBooking](/rest-api/spaces/get-cancelledbookings-by-id) endpoint for the full list of properties returned for each record.
</ResponseField>

<Warning>
  **Partial records** — The listing endpoint returns a summary representation of each CancelledBooking. The following fields are **not populated** in the `Records[]` response: `InternalNotes`, `ChargeNow`, `InvoiceNow`, `InvoiceThisCoworker`, `DoNotUseBookingCredit`, `RepeatBooking`, `Repeats`, `WhichBookingsToUpdate`, `RepeatEvery`, `RepeatUntil`, `RepeatOnMondays`, `RepeatOnTuesdays`, `RepeatOnWednesdays`, `RepeatOnThursdays`, `RepeatOnFridays`, `RepeatOnSaturdays`, `RepeatOnSundays`, `OverridePrice`, `InvoiceDate`, `IncludeZoomInvite`.

  To get all fields, fetch the full record using the [Get one CancelledBooking](/rest-api/spaces/get-cancelledbookings-by-id) endpoint.

  **Important for updates:** When updating a record via `PUT`, always retrieve the full record with a `GET` request first, apply your changes to that complete data, and then send the updated record. Do not use data from a listing response as the base for a `PUT` request, as missing fields may be unintentionally cleared.
</Warning>

<ResponseField name="CurrentPage" type="integer">
  Current page number.
</ResponseField>

<ResponseField name="CurrentPageSize" type="integer">
  Number of records per page.
</ResponseField>

<ResponseField name="CurrentOrderField" type="string">
  The field used for sorting.
</ResponseField>

<ResponseField name="CurrentSortDirection" type="integer">
  The sort direction (`0` = ascending, `1` = descending).
</ResponseField>

<ResponseField name="FirstItem" type="integer">
  Index of the first item on the current page.
</ResponseField>

<ResponseField name="LastItem" type="integer">
  Index of the last item on the current page.
</ResponseField>

<ResponseField name="TotalItems" type="integer">
  Total number of matching records across all pages.
</ResponseField>

<ResponseField name="TotalPages" type="integer">
  Total number of pages.
</ResponseField>

<ResponseField name="HasNextPage" type="boolean">
  Whether there is a next page of results.
</ResponseField>

<ResponseField name="HasPreviousPage" type="boolean">
  Whether there is a previous page of results.
</ResponseField>

```json Example Response theme={null}
{
  "Records": [
    {
      "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,
      "PurchaseOrder": null,
      "DiscountCode": null,
      "LastNotificationTime": null,
      "GoogleCalendarId": null,
      "GoogleEventId": null,
      "Office365EventId": null,
      "PublicGoogleEventId": null,
      "Tentative": false,
      "Online": false,
      "TeamsAtTheTimeOfBooking": null,
      "TariffAtTheTimeOfBooking": null,
      "RepeatSeriesUniqueId": null,
      "Reminded": false,
      "MrmReminded": false,
      "Invoiced": false,
      "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,
      "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
    }
  ],
  "CurrentPageSize": 15,
  "CurrentPage": 1,
  "CurrentOrderField": "CreatedOn",
  "CurrentSortDirection": 1,
  "FirstItem": 1,
  "HasNextPage": false,
  "HasPreviousPage": false,
  "LastItem": 1,
  "PageNumber": 1,
  "PageSize": 15,
  "TotalItems": 1,
  "TotalPages": 1
}
```
