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

<Accordion title="eBookingRepeatCycle — Repeats values">
  | Value | Name          |
  | ----- | ------------- |
  | 1     | Daily         |
  | 2     | Weekly        |
  | 3     | Monthly       |
  | 4     | Yearly        |
  | 5     | FirstOfMonth  |
  | 6     | SecondOfMonth |
  | 7     | ThirdOfMonth  |
  | 8     | LastOfMonth   |
  | 9     | FourthOfMonth |
</Accordion>

<Accordion title="eRepeatedBookingUpdateAction — WhichBookingsToUpdate values">
  | Value | Name                     |
  | ----- | ------------------------ |
  | 1     | UpdateThisBookingOnly    |
  | 2     | UpdateFutureBookingsOnly |
  | 3     | UpdateAllBookings        |
  | 4     | UpdateNotChargedBookings |
  | 5     | DeleteAllBookings        |
  | 6     | DeleteBookingsAfterThis  |
  | 7     | DeleteNotChargedBookings |
  | 8     | RevertAllCharges         |
</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 iD of the resource linked to this record.
</ParamField>

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

<ParamField query="CancelledBooking_Resource_Allocation" type="integer">
  Filter by the resource allocation value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_Resource_HideInCalendar" type="boolean">
  Filter by whether resource hide in calendar is enabled.
</ParamField>

<ParamField query="CancelledBooking_Resource_NoReturnPolicy" type="integer">
  Filter by the resource no return policy value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_Resource_NoReturnPolicyAllResources" type="integer">
  Filter by the resource no return policy all resources value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_Resource_NoReturnPolicyAllUsers" type="integer">
  Filter by the resource no return policy all users value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_Resource_ResourceType_Id" type="integer">
  Filter by iD of the resource resource type associated with this record.
</ParamField>

<ParamField query="CancelledBooking_Resource_ResourceType_Name" type="string">
  Filter by display name of the linked resource resource type (read-only).
</ParamField>

<ParamField query="CancelledBooking_FloorPlanDesk" type="integer">
  Filter by iD of the floor plan desk linked to this record.
</ParamField>

<ParamField query="CancelledBooking_FloorPlanDesk_Name" type="string">
  Filter by display name of the linked floor plan desk (read-only).
</ParamField>

<ParamField query="CancelledBooking_Coworker" type="integer">
  Filter by iD of the coworker linked to this record.
</ParamField>

<ParamField query="CancelledBooking_Coworker_CoworkerType" type="string">
  Filter by the coworker coworker type value for this cancelled booking.
</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 the coworker team names value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_ExtraService" type="integer">
  Filter by iD of the extra service linked to this record.
</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 optional notes or comments about this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_InternalNotes" type="string">
  Filter by the internal notes value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_ChargeNow" type="boolean">
  Filter by whether charge now is enabled.
</ParamField>

<ParamField query="CancelledBooking_InvoiceNow" type="boolean">
  Filter by whether invoice now is enabled.
</ParamField>

<ParamField query="CancelledBooking_InvoiceThisCoworker" type="boolean">
  Filter by whether invoice this coworker is enabled.
</ParamField>

<ParamField query="CancelledBooking_DoNotUseBookingCredit" type="boolean">
  Filter by whether do not use booking credit is enabled.
</ParamField>

<ParamField query="CancelledBooking_PurchaseOrder" type="string">
  Filter by the purchase order value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_DiscountCode" type="string">
  Filter by the discount code value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_LastNotificationTime" type="string">
  Filter by date/time value for last notification time.
</ParamField>

<ParamField query="CancelledBooking_GoogleCalendarId" type="string">
  Filter by iD of the google calendar associated with this record.
</ParamField>

<ParamField query="CancelledBooking_GoogleEventId" type="string">
  Filter by iD of the google event associated with this record.
</ParamField>

<ParamField query="CancelledBooking_Office365EventId" type="string">
  Filter by iD of the office365 event associated with this record.
</ParamField>

<ParamField query="CancelledBooking_PublicGoogleEventId" type="string">
  Filter by iD of the public google event associated with this record.
</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 whether online is enabled.
</ParamField>

<ParamField query="CancelledBooking_TeamsAtTheTimeOfBooking" type="string">
  Filter by the teams at the time of booking value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_TariffAtTheTimeOfBooking" type="string">
  Filter by the tariff at the time of booking value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_RepeatSeriesUniqueId" type="string">
  Filter by iD of the repeat series unique associated with this record.
</ParamField>

<ParamField query="CancelledBooking_RepeatBooking" type="boolean">
  Filter by whether repeat booking is enabled.
</ParamField>

<ParamField query="CancelledBooking_Repeats" type="integer">
  Filter by the repeats value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_WhichBookingsToUpdate" type="integer">
  Filter by date/time value for which bookings to update.
</ParamField>

<ParamField query="CancelledBooking_RepeatEvery" type="integer">
  Filter by the repeat every value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_RepeatUntil" type="string">
  Filter by date/time value for repeat until.
</ParamField>

<ParamField query="CancelledBooking_RepeatOnMondays" type="boolean">
  Filter by whether repeat on mondays is enabled.
</ParamField>

<ParamField query="CancelledBooking_RepeatOnTuesdays" type="boolean">
  Filter by whether repeat on tuesdays is enabled.
</ParamField>

<ParamField query="CancelledBooking_RepeatOnWednesdays" type="boolean">
  Filter by whether repeat on wednesdays is enabled.
</ParamField>

<ParamField query="CancelledBooking_RepeatOnThursdays" type="boolean">
  Filter by whether repeat on thursdays is enabled.
</ParamField>

<ParamField query="CancelledBooking_RepeatOnFridays" type="boolean">
  Filter by whether repeat on fridays is enabled.
</ParamField>

<ParamField query="CancelledBooking_RepeatOnSaturdays" type="boolean">
  Filter by whether repeat on saturdays is enabled.
</ParamField>

<ParamField query="CancelledBooking_RepeatOnSundays" type="boolean">
  Filter by whether repeat on sundays is enabled.
</ParamField>

<ParamField query="CancelledBooking_Reminded" type="boolean">
  Filter by whether reminded is enabled.
</ParamField>

<ParamField query="CancelledBooking_MrmReminded" type="boolean">
  Filter by whether mrm reminded is enabled.
</ParamField>

<ParamField query="CancelledBooking_OverridePrice" type="number">
  Filter by the override price value for this cancelled booking.
</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 date/time value for invoice date.
</ParamField>

<ParamField query="CancelledBooking_BookingNumber" type="integer">
  Filter by the booking number value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_KisiKeyId" type="integer">
  Filter by iD of the kisi key associated with this record.
</ParamField>

<ParamField query="CancelledBooking_StartScheduledJobId" type="string">
  Filter by iD of the start scheduled job associated with this record.
</ParamField>

<ParamField query="CancelledBooking_EndScheduledJobId" type="string">
  Filter by iD of the end scheduled job associated with this record.
</ParamField>

<ParamField query="CancelledBooking_Billed" type="boolean">
  Filter by whether billed is enabled.
</ParamField>

<ParamField query="CancelledBooking_FromTimeLocal" type="string">
  Filter by date/time value for from time local.
</ParamField>

<ParamField query="CancelledBooking_ToTimeLocal" type="string">
  Filter by date/time value for to time local.
</ParamField>

<ParamField query="CancelledBooking_InvoiceDateLocal" type="string">
  Filter by date/time value for invoice date local.
</ParamField>

<ParamField query="CancelledBooking_CoworkerInvoiceId" type="integer">
  Filter by iD of the coworker invoice associated with this record.
</ParamField>

<ParamField query="CancelledBooking_CoworkerInvoiceNumber" type="string">
  Filter by the coworker invoice number value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_CoworkerInvoicePaid" type="boolean">
  Filter by whether coworker invoice paid is enabled.
</ParamField>

<ParamField query="CancelledBooking_CoworkerInvoiceDraft" type="boolean">
  Filter by whether coworker invoice draft is enabled.
</ParamField>

<ParamField query="CancelledBooking_CoworkerInvoiceVoid" type="boolean">
  Filter by whether coworker invoice void is enabled.
</ParamField>

<ParamField query="CancelledBooking_CoworkerInvoiceCreditNote" type="boolean">
  Filter by whether coworker invoice credit note is enabled.
</ParamField>

<ParamField query="CancelledBooking_CoworkerExtraServiceIds" type="string">
  Filter by the coworker extra service ids value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_CoworkerExtraServicePrice" type="number">
  Filter by the coworker extra service price value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_CoworkerExtraServiceCurrencyCode" type="string">
  Filter by the coworker extra service currency code value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_CoworkerExtraServiceChargePeriod" type="integer">
  Filter by the coworker extra service charge period value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_CoworkerExtraServiceTotalUses" type="integer">
  Filter by the coworker extra service total uses value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_IncludeZoomInvite" type="boolean">
  Filter by whether include zoom invite is enabled.
</ParamField>

<ParamField query="CancelledBooking_ZoomEventData" type="string">
  Filter by the zoom event data value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_CheckedInAt" type="string">
  Filter by date/time value for checked in at.
</ParamField>

<ParamField query="CancelledBooking_CancelIfNotPaid" type="boolean">
  Filter by whether cancel if not paid is enabled.
</ParamField>

<ParamField query="CancelledBooking_CancelIfNotCheckedIn" type="boolean">
  Filter by whether cancel if not checked in is enabled.
</ParamField>

<ParamField query="CancelledBooking_MaxOccupancy" type="integer">
  Filter by the max occupancy value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_LastMinutePriceAdjustment" type="number">
  Filter by the last minute price adjustment value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_DynamicPriceAdjustment" type="number">
  Filter by the dynamic price adjustment value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_PriceFactorLastMinute" type="number">
  Filter by the price factor last minute value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_PriceFactorDemand" type="number">
  Filter by the price factor demand value for this cancelled booking.
</ParamField>

<ParamField query="CancelledBooking_Office365AdminEventId" type="string">
  Filter by iD of the office365 admin event associated with this record.
</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 iD of the original booking associated with this record.
</ParamField>

### Range Filters

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

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

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

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

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

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

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

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

<ParamField query="from_CancelledBooking_ResourceResourceTypeId" type="integer">
  Filter by iD of the resource resource type associated with this record greater than or equal to this value.
</ParamField>

<ParamField query="to_CancelledBooking_ResourceResourceTypeId" type="integer">
  Filter by iD of the resource resource type associated with this record 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 date/time value for 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 date/time value for 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 the repeat every value for this cancelled booking greater than or equal to this value.
</ParamField>

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

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

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

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

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

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

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

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

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

<ParamField query="from_CancelledBooking_KisiKeyId" type="integer">
  Filter by iD of the kisi key associated with this record greater than or equal to this value.
</ParamField>

<ParamField query="to_CancelledBooking_KisiKeyId" type="integer">
  Filter by iD of the kisi key associated with this record less than or equal to this value.
</ParamField>

<ParamField query="from_CancelledBooking_FromTimeLocal" type="string">
  Filter by date/time value for 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 date/time value for 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 date/time value for 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 date/time value for 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 date/time value for 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 date/time value for 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 iD of the coworker invoice associated with this record greater than or equal to this value.
</ParamField>

<ParamField query="to_CancelledBooking_CoworkerInvoiceId" type="integer">
  Filter by iD of the coworker invoice associated with this record less than or equal to this value.
</ParamField>

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

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

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

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

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

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

<ParamField query="from_CancelledBooking_CheckedInAt" type="string">
  Filter by date/time value for 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 date/time value for 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 the max occupancy value for this cancelled booking greater than or equal to this value.
</ParamField>

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

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

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

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

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

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

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

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

<ParamField query="to_CancelledBooking_PriceFactorDemand" type="number">
  Filter by the price factor demand value for this cancelled booking 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
}
```
