Mews · Example Payload

Mews Availabilityadjustments Getall Example

HospitalityHotelsPMSProperty Management

Mews Availabilityadjustments 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": "availabilityAdjustments_getAll",
  "method": "POST",
  "path": "/api/connector/v1/availabilityAdjustments/getAll",
  "summary": "Get all availability adjustments",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
        "AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
        "Client": "Sample Client 1.0.0",
        "AvailabilityAdjustmentIds": [
          "e19297af-373e-4701-b4ea-afae0129bded",
          "7413724a-6c48-46d4-ab3a-afae01280999"
        ],
        "UpdatedUtc": {
          "StartUtc": "2023-02-18T18:00:10.155Z",
          "EndUtc": "2023-02-20T18:00:10.155Z"
        },
        "ActivityStates": [
          "Active",
          "Deleted"
        ],
        "EnterpriseIds": [
          "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "4d0201db-36f5-428b-8d11-4f0a65e960cc"
        ],
        "Limitation": {
          "Count": 100
        }
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "AvailabilityAdjustments": [
          {
            "Id": "e19297af-373e-4701-b4ea-afae0129bded",
            "AvailabilityBlockId": "5ee074b1-6c86-48e8-915f-c7aa4702086f",
            "ResourceCategoryId": "773d5e42-de1e-43a0-9ce6-f940faf2303f",
            "StartUtc": null,
            "EndUtc": null,
            "FirstTimeUnitStartUtc": "2021-10-14T00:00:00Z",
            "LastTimeUnitStartUtc": "2021-10-17T00:00:00Z",
            "UnitCount": 6,
            "ActivityState": "Active",
            "ReleaseOverrideUtc": "2021-10-13T00:00:00Z",
            "UpdatedUtc": "2021-10-21T13:32:32Z",
            "IsActive": false,
            "PaxCounts": null,
            "FirstTimeUnitReleaseUtc": "2021-10-13T00:00:00Z"
          },
          {
            "Id": "7413724a-6c48-46d4-ab3a-afae01280999",
            "AvailabilityBlockId": null,
            "ResourceCategoryId": "773d5e42-de1e-43a0-9ce6-f940faf2303f",
            "StartUtc": null,
            "EndUtc": null,
            "FirstTimeUnitStartUtc": "2023-02-19T23:00:00Z",
            "LastTimeUnitStartUtc": "2023-02-23T23:00:00Z",
            "UnitCount": 5,
            "ActivityState": "Deleted",
            "ReleaseOverrideUtc": null,
            "UpdatedUtc": "2023-02-28T23:00:00Z",
            "IsActive": false,
            "PaxCounts": null,
            "FirstTimeUnitReleaseUtc": null
          }
        ],
        "Cursor": "7413724a-6c48-46d4-ab3a-afae01280999"
      }
    }
  ]
}