Mews · Example Payload

Mews Reservations Getall 2023 06 06 Example

HospitalityHotelsPMSProperty Management

Mews Reservations Getall 2023 06 06 Example is an example object payload from Mews, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "reservations_getAll_2023-06-06",
  "method": "POST",
  "path": "/api/connector/v1/reservations/getAll/2023-06-06",
  "summary": "Get all reservations (ver 2023-06-06)",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
        "AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
        "Client": "Sample Client 1.0.0",
        "ReservationIds": [
          "0f515589-99b4-423d-b83a-b237009f0509",
          "9b59b50d-bd32-4ce5-add8-09ea0e1300e7"
        ],
        "ServiceIds": [
          "bd26d8db-86da-4f96-9efc-e5a4654a4a94",
          "8c1bd738-a505-4b29-aa71-9ecc2982b843"
        ],
        "ReservationGroupIds": [
          "94843f6f-3be3-481b-a1c7-06458774c3df"
        ],
        "AccountIds": [
          "fadd5bb6-b428-45d5-94f8-fd0d89fece6d"
        ],
        "PartnerCompanyIds": [
          "c021013e-4930-4592-8e32-91b0b1fc9663"
        ],
        "TravelAgencyIds": [
          "a793d381-65a2-4fa6-9514-00c4c5bfe607"
        ],
        "Numbers": [
          "50",
          "51",
          "52",
          "53"
        ],
        "AssignedResourceIds": [
          "5ee074b1-6c86-48e8-915f-c7aa4702086f",
          "c32386aa-1cd2-414a-a823-489325842fbe"
        ],
        "AvailabilityBlockIds": [
          "5ee074b1-6c86-48e8-915f-c7aa4702086f",
          "c32386aa-1cd2-414a-a823-489325842fbe"
        ],
        "CreatedUtc": {
          "StartUtc": "2023-04-01T00:00:00Z",
          "EndUtc": "2023-05-05T00:00:00Z"
        },
        "UpdatedUtc": {
          "StartUtc": "2023-04-01T00:00:00Z",
          "EndUtc": "2023-05-05T00:00:00Z"
        },
        "CollidingUtc": {
          "StartUtc": "2023-04-01T00:00:00Z",
          "EndUtc": "2023-05-05T00:00:00Z"
        },
        "ScheduledStartUtc": {
          "StartUtc": "2023-04-01T00:00:00Z",
          "EndUtc": "2023-05-05T00:00:00Z"
        },
        "ScheduledEndUtc": {
          "StartUtc": "2023-04-01T00:00:00Z",
          "EndUtc": "2023-05-05T00:00:00Z"
        },
        "States": [
          "Inquired",
          "Confirmed"
        ],
        "EnterpriseIds": [
          "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "4d0201db-36f5-428b-8d11-4f0a65e960cc"
        ],
        "Limitation": {
          "Count": 10
        }
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "Reservations": [
          {
            "Id": "0f515589-99b4-423d-b83a-b237009f0509",
            "ServiceId": "bd26d8db-86da-4f96-9efc-e5a4654a4a94",
            "AccountId": "fadd5bb6-b428-45d5-94f8-fd0d89fece6d",
            "AccountType": "Customer",
            "CreatorProfileId": "3cd637ef-4728-47f9-8fb1-afb900c9cdcf",
            "UpdaterProfileId": "3cd637ef-4728-47f9-8fb1-afb900c9cdcf",
            "BookerId": "ebd507c5-6bfd-4ca9-96aa-ffed6fa94f72",
            "Number": "52",
            "State": "Confirmed",
            "Origin": "Connector",
            "CommanderOrigin": null,
            "OriginDetails": null,
            "CreatedUtc": "2023-03-23T16:00:00Z",
            "UpdatedUtc": "2023-04-22T17:00:00Z",
            "CancelledUtc": null,
            "VoucherId": null,
            "BusinessSegmentId": null,
            "Options": {
              "OwnerCheckedIn": true,
              "AllCompanionsCheckedIn": true,
              "AnyCompanionCheckedIn": true,
              "ConnectorCheckIn": true
            },
            "RateId": "ed4b660b-19d0-434b-9360-a4de2ea42eda",
            "CreditCardId": null,
            "GroupId": "94843f6f-3be3-481b-a1c7-06458774c3df",
            "RequestedResourceCategoryId": "773d5e42-de1e-43a0-9ce6-f940faf2303f",
            "AssignedResourceId": "20e00c32-d561-4008-8609-82d8aa525714",
            "AvailabilityBlockId": "5ee074b1-6c86-48e8-915f-c7aa4702086f",
            "PartnerCompanyId": "c021013e-4930-4592-8e32-91b0b1fc9663",
            "TravelAgencyId": "a793d381-65a2-4fa6-9514-00c4c5bfe607",
            "AssignedResourceLocked": false,
            "ChannelNumber": "TW48ZP",
            "ChannelManagerNumber": "",
            "CancellationReason": null,
            "ReleasedUtc": null,
            "StartUtc": "2023-04-23T14:00:00Z",
            "EndUtc": "2023-04-25T12:00:00Z",
            "ScheduledStartUtc": "2023-04-23T14:00:00Z",
            "ActualStartUtc": null,
            "ScheduledEndUtc": "2023-04-25T12:00:00Z",
            "ActualEndUtc": null,
            "Purpose": "Leisure",
            "QrCodeData": "{\"Reservations\":[{\"Id\":\"0f515589-99b4-423d-b83a-b237009f0509\",\"GroupId\":\"94843f6f-3be3-481b-a1c7-06458774c3df\",\"CustomerId\":\"fadd5bb6-b428-45d5-94f8-fd0d89fece6d\"}]}",
            "PersonCounts": [
              {
                "AgeCategoryId": "1f67644f-052d-4863-acdf-ae1600c60ca0",
                "Count": 2
              },
              {
                "AgeCategoryId": "ab58c939-be30-4a60-8f75-ae1600c60c9f",
                "Count": 2
              }
            ]
          }
        ],
        "Cursor": "0f515589-99b4-423d-b83a-b237009f0509"
      }
    }
  ]
}