Mews · Example Payload

Mews Sources Getall Example

HospitalityHotelsPMSProperty Management

Mews Sources Getall 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": "sources_getAll",
  "method": "POST",
  "path": "/api/connector/v1/sources/getAll",
  "summary": "Get all sources",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
        "AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
        "Client": "Sample Client 1.0.0",
        "UpdatedUtc": {
          "StartUtc": "2023-01-05T00:00:00Z",
          "EndUtc": "2023-01-10T00:00:00Z"
        },
        "SourceIds": [
          "bbe29c21-401a-4746-b97d-af1f00e1bb8b",
          "22e42a59-b321-43f8-a5d1-af1f00e1bb8b",
          "b5a55d41-bbc5-48d0-a01b-af1f00e1bb8b"
        ],
        "Limitation": {
          "Count": 10,
          "Cursor": null
        }
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "Sources": [
          {
            "Id": "bbe29c21-401a-4746-b97d-af1f00e1bb8b",
            "Name": "Booking.com",
            "Type": "OnlineTravelAgency",
            "UpdatedUtc": "2023-01-05T12:00:00Z"
          },
          {
            "Id": "22e42a59-b321-43f8-a5d1-af1f00e1bb8b",
            "Name": "Hostelworld",
            "Type": "OnlineTravelAgency",
            "UpdatedUtc": "2023-01-06T12:00:00Z"
          },
          {
            "Id": "b5a55d41-bbc5-48d0-a01b-af1f00e1bb8b",
            "Name": "SynXis",
            "Type": "OnlineTravelAgency",
            "UpdatedUtc": "2023-01-06T12:00:00Z"
          }
        ],
        "Cursor": "b5a55d41-bbc5-48d0-a01b-af1f00e1bb8b"
      }
    }
  ]
}