Mews · Example Payload

Mews Sourceassignments Getall Example

HospitalityHotelsPMSProperty Management

Mews Sourceassignments 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": "sourceAssignments_getAll",
  "method": "POST",
  "path": "/api/connector/v1/sourceAssignments/getAll",
  "summary": "Get all source assignments",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
        "AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
        "Client": "Sample Client 1.0.0",
        "ReservationGroupIds": [
          "730d050c-8098-415a-95af-af2500a2de47"
        ],
        "UpdatedUtc": {
          "StartUtc": "2023-02-1T00:00:00Z",
          "EndUtc": "2023-02-28T00:00:00Z"
        },
        "EnterpriseIds": [
          "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "4d0201db-36f5-428b-8d11-4f0a65e960cc"
        ],
        "Limitation": {
          "Count": 10
        }
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "SourceAssignments": [
          {
            "Id": "670ef167-0380-4dd5-8dbb-af1500d3eb16",
            "ReservationGroupId": "730d050c-8098-415a-95af-af2500a2de47",
            "SourceId": "de6c3fcc-feb9-4385-92e0-af25008b864e",
            "IsPrimary": true
          },
          {
            "Id": "da272c89-3afc-4e6f-ad12-af2500a2de79",
            "ReservationGroupId": "730d050c-8098-415a-95af-af2500a2de47",
            "SourceId": "04db79fa-3a31-47c3-ae25-af25008b864e",
            "IsPrimary": false
          }
        ],
        "Cursor": "da272c89-3afc-4e6f-ad12-af2500a2de79"
      }
    }
  ]
}