---
title: "Get all reservations (ver 2023-06-06)"
method: POST
path: "/api/connector/v1/reservations/getAll/2023-06-06"
tags: ["Reservations"]
---

# Get all reservations (ver 2023-06-06)

`POST /api/connector/v1/reservations/getAll/2023-06-06`

## Request

- Base URL: `https://api.mews.com`
- URL: `https://api.mews.com/api/connector/v1/reservations/getAll/2023-06-06`
- Auth: none declared

Returns all reservations within scope of the Access Token, filtered according to the specified parameters. This operation uses [Pagination](https://mews-systems.gitbook.io/connector-api/guidelines/pagination) and supports [Portfolio Access Tokens](https://mews-systems.gitbook.io/connector-api/concepts/multi-property).

## Request body

- ReservationServiceOrderFilterParameters
  - `ClientToken` string, required: Token identifying the client application.
  - `AccessToken` string, required: Access token of the client application.
  - `Client` string, required: Name and version of the client application.
  - `Limitation` Limitation, required: Limitation on the quantity of data returned.
    - `Count` integer, required
    - `Cursor` string, uuid, nullable
  - `EnterpriseIds` string[], nullable: Unique identifiers of the Enterprises. If not specified, the operation returns data for all enterprises within scope of the Access Token.
  - `ReservationIds` string[], nullable: Unique identifiers of the [Reservations](https://mews-systems.gitbook.io/connector-api/operations/#reservation-ver-2023-06-06).
  - `ServiceIds` string[], nullable: Unique identifiers of the [Services](https://mews-systems.gitbook.io/connector-api/operations/services/#service). If not provided, all bookable services are used.
  - `ReservationGroupIds` string[], nullable: Unique identifiers of [Reservation groups](https://mews-systems.gitbook.io/connector-api/operations/#reservation-group).
  - `AccountIds` string[], nullable: Unique identifiers of accounts (currently only [Customers](https://mews-systems.gitbook.io/connector-api/operations/customers/#customer), in the future also [Companies](https://mews-systems.gitbook.io/connector-api/operations/companies/#company)) the reservation is associated with.
  - `PartnerCompanyIds` string[], nullable: Unique identifiers of the `Companies` on behalf of which the reservations were made.
  - `TravelAgencyIds` string[], nullable: Identifier of the Travel Agencies (`Company`) that mediated the reservations.
  - `Numbers` string[], nullable: Reservation confirmation numbers.
  - `ChannelNumbers` string[], nullable: Numbers or references used by a Channel (OTA, GDS, CRS, etc.) in case the reservation group originates there, e.g. Booking.com confirmation numbers.
  - `AssignedResourceIds` string[], nullable: Unique identifiers of the [Resources](https://mews-systems.gitbook.io/connector-api/operations/resources#resource) assigned to the reservations.
  - `AvailabilityBlockIds` string[], nullable: Unique identifiers of the `Availability blocks` assigned to the reservations.
  - `CreatedUtc` TimeFilterInterval: When a time interval is used for **filtering** (for example in parameters such as `CreatedUtc.StartUtc` / `CreatedUtc.EndUtc`), the following rules apply: - **Start equals End (equality mode)** If `StartUtc` and `EndUtc` are exactly the same timestamp, the filter is treated as an equality check for that precise moment in time: ``` CreatedUtc == StartUtc ``` This does not represent an interval; only records with `CreatedUtc` equal to that exact instant are returned. - **Start differs from End (interval mode)** If `StartUtc` and `EndUtc` are different, the filter is evaluated as a half-open interval: ``` StartUtc <= CreatedUtc < EndUtc ``` In other words, the start is inclusive and the end is exclusive. Make sure your integration takes inclusive Start / exclusive End behavior of time intervals into account so that no records at the boundaries are omitted.
    - `StartUtc` string, date-time, nullable
    - `EndUtc` string, date-time, nullable
  - `UpdatedUtc` TimeFilterInterval: When a time interval is used for **filtering** (for example in parameters such as `CreatedUtc.StartUtc` / `CreatedUtc.EndUtc`), the following rules apply: - **Start equals End (equality mode)** If `StartUtc` and `EndUtc` are exactly the same timestamp, the filter is treated as an equality check for that precise moment in time: ``` CreatedUtc == StartUtc ``` This does not represent an interval; only records with `CreatedUtc` equal to that exact instant are returned. - **Start differs from End (interval mode)** If `StartUtc` and `EndUtc` are different, the filter is evaluated as a half-open interval: ``` StartUtc <= CreatedUtc < EndUtc ``` In other words, the start is inclusive and the end is exclusive. Make sure your integration takes inclusive Start / exclusive End behavior of time intervals into account so that no records at the boundaries are omitted.
    - `StartUtc` string, date-time, nullable
    - `EndUtc` string, date-time, nullable
  - `CollidingUtc` TimeFilterInterval: When a time interval is used for **filtering** (for example in parameters such as `CreatedUtc.StartUtc` / `CreatedUtc.EndUtc`), the following rules apply: - **Start equals End (equality mode)** If `StartUtc` and `EndUtc` are exactly the same timestamp, the filter is treated as an equality check for that precise moment in time: ``` CreatedUtc == StartUtc ``` This does not represent an interval; only records with `CreatedUtc` equal to that exact instant are returned. - **Start differs from End (interval mode)** If `StartUtc` and `EndUtc` are different, the filter is evaluated as a half-open interval: ``` StartUtc <= CreatedUtc < EndUtc ``` In other words, the start is inclusive and the end is exclusive. Make sure your integration takes inclusive Start / exclusive End behavior of time intervals into account so that no records at the boundaries are omitted.
    - `StartUtc` string, date-time, nullable
    - `EndUtc` string, date-time, nullable
  - `ScheduledStartUtc` TimeFilterInterval: When a time interval is used for **filtering** (for example in parameters such as `CreatedUtc.StartUtc` / `CreatedUtc.EndUtc`), the following rules apply: - **Start equals End (equality mode)** If `StartUtc` and `EndUtc` are exactly the same timestamp, the filter is treated as an equality check for that precise moment in time: ``` CreatedUtc == StartUtc ``` This does not represent an interval; only records with `CreatedUtc` equal to that exact instant are returned. - **Start differs from End (interval mode)** If `StartUtc` and `EndUtc` are different, the filter is evaluated as a half-open interval: ``` StartUtc <= CreatedUtc < EndUtc ``` In other words, the start is inclusive and the end is exclusive. Make sure your integration takes inclusive Start / exclusive End behavior of time intervals into account so that no records at the boundaries are omitted.
    - `StartUtc` string, date-time, nullable
    - `EndUtc` string, date-time, nullable
  - `ActualStartUtc` TimeFilterInterval: When a time interval is used for **filtering** (for example in parameters such as `CreatedUtc.StartUtc` / `CreatedUtc.EndUtc`), the following rules apply: - **Start equals End (equality mode)** If `StartUtc` and `EndUtc` are exactly the same timestamp, the filter is treated as an equality check for that precise moment in time: ``` CreatedUtc == StartUtc ``` This does not represent an interval; only records with `CreatedUtc` equal to that exact instant are returned. - **Start differs from End (interval mode)** If `StartUtc` and `EndUtc` are different, the filter is evaluated as a half-open interval: ``` StartUtc <= CreatedUtc < EndUtc ``` In other words, the start is inclusive and the end is exclusive. Make sure your integration takes inclusive Start / exclusive End behavior of time intervals into account so that no records at the boundaries are omitted.
    - `StartUtc` string, date-time, nullable
    - `EndUtc` string, date-time, nullable
  - `ActualEndUtc` TimeFilterInterval: When a time interval is used for **filtering** (for example in parameters such as `CreatedUtc.StartUtc` / `CreatedUtc.EndUtc`), the following rules apply: - **Start equals End (equality mode)** If `StartUtc` and `EndUtc` are exactly the same timestamp, the filter is treated as an equality check for that precise moment in time: ``` CreatedUtc == StartUtc ``` This does not represent an interval; only records with `CreatedUtc` equal to that exact instant are returned. - **Start differs from End (interval mode)** If `StartUtc` and `EndUtc` are different, the filter is evaluated as a half-open interval: ``` StartUtc <= CreatedUtc < EndUtc ``` In other words, the start is inclusive and the end is exclusive. Make sure your integration takes inclusive Start / exclusive End behavior of time intervals into account so that no records at the boundaries are omitted.
    - `StartUtc` string, date-time, nullable
    - `EndUtc` string, date-time, nullable
  - `ScheduledEndUtc` TimeFilterInterval: When a time interval is used for **filtering** (for example in parameters such as `CreatedUtc.StartUtc` / `CreatedUtc.EndUtc`), the following rules apply: - **Start equals End (equality mode)** If `StartUtc` and `EndUtc` are exactly the same timestamp, the filter is treated as an equality check for that precise moment in time: ``` CreatedUtc == StartUtc ``` This does not represent an interval; only records with `CreatedUtc` equal to that exact instant are returned. - **Start differs from End (interval mode)** If `StartUtc` and `EndUtc` are different, the filter is evaluated as a half-open interval: ``` StartUtc <= CreatedUtc < EndUtc ``` In other words, the start is inclusive and the end is exclusive. Make sure your integration takes inclusive Start / exclusive End behavior of time intervals into account so that no records at the boundaries are omitted.
    - `StartUtc` string, date-time, nullable
    - `EndUtc` string, date-time, nullable
  - `States` ServiceOrderStateEnum[], nullable: A list of service order states to filter by.

## Response `200`

OK

- ReservationServiceOrderResult
  - `Reservations` Reservation[], required: The reservations of the enterprise.
    - `Id` string, uuid, required: Unique identifier of the reservation.
    - `ServiceId` string, uuid, required: Unique identifier of the `Service` that reservation is made against.
    - `AccountId` string, uuid, required: Unique identifier of the Customer or Company who owns the reservation, i.e. the main guest linked to the reservation.
    - `AccountType` 'Company' | 'Customer', required: A discriminator specifying the account type, e.g. `Customer` or `Company`
    - `CreatorProfileId` string, uuid, required: Unique identifier of the user who created the reservation.
    - `UpdaterProfileId` string, uuid, required: Unique identifier of the user who updated the reservation.
    - `BookerId` string, uuid, nullable: Unique identifier of the booker who made the reservation on behalf of the reservation owner, in the special case where the booker is also a registered customer in Mews.
    - `Number` string, required: Confirmation number of the reservation in Mews.
    - `State` 'Inquired' | 'Confirmed' | 'Started' | 'Processed' | 'Canceled' | 'Optional' | 'Requested', required: Inquired (Confirmed neither by the customer nor enterprise.) Confirmed (Confirmed by both parties, before check-in.) Started (Checked in.) Processed (Checked out.) Canceled (Canceled.) Optional (Confirmed by enterprise but not by the guest (the enterprise is holding resource for the guest).) Requested (Confirmed by the customer but not by the enterprise (waitlist).)
    - `Origin` 'Distributor' | 'ChannelManager' | 'Commander' | 'Import' | 'Connector' | 'Navigator', required: Distributor (From the Mews Booking Engine or Booking Engine API.) ChannelManager (From a channel manager.) Commander (From Mews Operations.) Import (From an import process.) Connector (From the Mews Connector API.) Navigator (From Mews Guest Services.)
    - `CommanderOrigin` 'InPerson' | 'Channel' | 'Phone' | 'Email' | 'Website' | 'Message' | 'CallCenter' | 'RoomingList': InPerson Channel Phone Email Website Message CallCenter RoomingList
    - `OriginDetails` string, nullable: Details about the reservation `Origin`.
    - `CreatedUtc` string, date-time, required: Creation date and time of the reservation in UTC timezone.
    - `UpdatedUtc` string, date-time, required: Last update date and time of the reservation in UTC timezone.
    - `CancelledUtc` string, date-time, nullable: Cancellation date and time in UTC timezone.
    - `VoucherId` string, uuid, nullable: Unique identifier of the `Voucher` that has been used to create reservation.
    - `BusinessSegmentId` string, uuid, nullable: Identifier of the reservation `BusinessSegment`.
    - `Options` ServiceOrderOptions, required
      - `OwnerCheckedIn` boolean, required: Owner of the reservation checked in.
      - `AllCompanionsCheckedIn` boolean, required: All companions of the reservation checked in.
      - `AnyCompanionCheckedIn` boolean, required: Any of the companions of the reservation checked in.
      - `ConnectorCheckIn` boolean, required: Check in was done via Connector API.
    - `RateId` string, uuid, required: Identifier of the reservation `Rate`.
    - `CreditCardId` string, uuid, nullable: Unique identifier of the Credit card.
    - `GroupId` string, uuid, required: Unique identifier of the Reservation group.
    - `RequestedResourceCategoryId` string, uuid, required: Unique identifier of the Resource category.
    - `AssignedResourceId` string, uuid, nullable: Identifier of the assigned Resource.
    - `AvailabilityBlockId` string, uuid, nullable: Unique identifier of the Availability block the reservation is assigned to.
    - `PartnerCompanyId` string, uuid, nullable: Identifier of the `Company` on behalf of which the reservation was made.
    - `TravelAgencyId` string, uuid, nullable: Identifier of the Travel Agency (`Company`) that mediated the reservation.
    - `AssignedResourceLocked` boolean: Whether the reservation is locked to the assigned Resource and cannot be moved.
    - `ChannelNumber` string, nullable: Number of the reservation within the Channel (i.e. OTA, GDS, CRS, etc) in case the reservation group originates there (e.g. Booking.com confirmation number).
    - `ChannelManagerNumber` string, nullable: Unique number of the reservation within the reservation group.
    - `CancellationReason` 'Other' | 'ConfirmationMissed' | 'BookedElsewhere' | 'ForceMajeure' | 'GuestComplaint' | 'NoShow' | 'PriceTooHigh' | 'ServiceNotAvailable' | 'InputError' | 'InvalidPayment' | 'TravelAgency' | 'RequestedByGuest' | 'Update' | 'BookingAbandoned' | 'RequestedByBooker': Other ConfirmationMissed BookedElsewhere ForceMajeure GuestComplaint NoShow PriceTooHigh ServiceNotAvailable InputError InvalidPayment TravelAgency RequestedByGuest Update BookingAbandoned RequestedByBooker
    - `ReleasedUtc` string, date-time, nullable: Date when the optional reservation is released in UTC timezone.
    - `StartUtc` string, date-time, required: Reservation start or check-in time (if it's earlier than scheduled start) in UTC timezone in ISO 8601 format.
    - `EndUtc` string, date-time, required: Scheduled end time of reservation in UTC timezone in ISO 8601 format
    - `ScheduledStartUtc` string, date-time, required: Scheduled start time of reservation in UTC timezone.
    - `ActualStartUtc` string, date-time, nullable: Actual customer check-in time of reservation in UTC timezone.
    - `ScheduledEndUtc` string, date-time, required: Scheduled end time of reservation in UTC timezone in ISO 8601 format.
    - `ActualEndUtc` string, date-time, nullable: Actual end time of reservation in UTC timezone in ISO 8601 format.
    - `Purpose` 'Leisure' | 'Business' | 'Student': Leisure Business Student
    - `QrCodeData` string, nullable: QR code data of the reservation.
    - `PersonCounts` ReservationPersonCount[], required: Number of people per age category the reservation was booked for.
      - `AgeCategoryId` string, uuid, required: Unique identifier of the [Age category](https://mews-systems.gitbook.io/connector-api/operations/agecategories#age-category).
      - `Count` integer, required: Number of people of a given age category. Only positive value is accepted.
  - `Cursor` string, uuid, nullable: Unique identifier of the item one newer in time order than the items to be returned. If Cursor is not specified, i.e. null, then the latest or most recent items will be returned.

## Other responses

- `204`: Server has successfully fulfilled the request and there is no additional information to send back.
- `400`: Error caused by the client app, e.g. in case of malformed request or invalid identifier of a resource. In most cases, such an error signifies a bug in the client app (consumer of the API).
- `401`: Error caused by usage of invalid ClientToken, AccessToken, or you may not have the necessary permission to use the endpoint.
- `403`: Server error that should be reported to the end user of the client app. Happens for example when the server-side validation fails or when a business-logic check is violated.
- `408`: Error caused by heavy request that takes too long to process (typically tens of seconds). To get around this, request data in smaller batches. For more information, see [Request timeouts](https://mews-systems.gitbook.io/connector-api/guidelines/requests#request-timeouts)
- `429`: Error caused by too many requests sent in a given amount of time. Response contains `Retry-After` header indicating how long the user agent should wait before making a follow-up request. For more information, see [Request limits](https://mews-systems.gitbook.io/connector-api/guidelines/requests#request-limits).
- `500`: Unexpected error on the Mews side. This may be due to a software fault. If such a situation occurs, the error will be logged and the development team notified, however you can raise an issue through GitHub on our [documentation repository](https://github.com/MewsSystems/gitbook-connector-api).

---

[API](https://skmtc.dev/mews/apis/connector-api.md) - [All operations](https://skmtc.dev/mews/apis/connector-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mews/apis/connector-api/revisions/cabf1b2da1d0?raw)
