Mews · Example Payload

Mews Resourceblocks Getall Example

HospitalityHotelsPMSProperty Management

Mews Resourceblocks 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": "resourceBlocks_getAll",
  "method": "POST",
  "path": "/api/connector/v1/resourceBlocks/getAll",
  "summary": "Get all resource blocks",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
        "AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
        "Client": "Sample Client 1.0.0",
        "ResourceBlockIds": [
          "7f8e9d0c-1b2a-3c4d-5e6f-7a8b9c0d1e2f",
          "8e9f0a1b-2c3d-4e5f-6a7b-8c9d0e1f2a3b",
          "63f4ebee-7e36-4ca9-b7d8-6331a8b009e5"
        ],
        "AssignedResourceIds": [
          "20e00c32-d561-4008-8609-82d8aa525714",
          "1ec29188-01ca-4294-9983-fac59f85a448",
          "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
        ],
        "ActivityStates": [
          "Active",
          "Deleted"
        ],
        "CollidingUtc": {
          "StartUtc": "2023-06-01T00:00:00Z",
          "EndUtc": "2023-07-31T23:59:59Z"
        },
        "CreatedUtc": {
          "StartUtc": "2023-06-01T00:00:00Z",
          "EndUtc": "2023-08-31T00:00:00Z"
        },
        "UpdatedUtc": {
          "StartUtc": "2023-06-01T00:00:00Z",
          "EndUtc": "2023-07-31T23:59:59Z"
        },
        "EnterpriseIds": [
          "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "4d0201db-36f5-428b-8d11-4f0a65e960cc"
        ],
        "Limitation": {
          "Count": 100
        }
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "ResourceBlocks": [
          {
            "Id": "7f8e9d0c-1b2a-3c4d-5e6f-7a8b9c0d1e2f",
            "EnterpriseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "AssignedResourceId": "20e00c32-d561-4008-8609-82d8aa525714",
            "IsActive": true,
            "Type": "OutOfOrder",
            "StartUtc": "2023-07-15T14:00:00Z",
            "EndUtc": "2023-07-15T18:00:00Z",
            "CreatedUtc": "2023-07-10T09:30:00Z",
            "UpdatedUtc": "2023-07-10T09:30:00Z",
            "DeletedUtc": null,
            "Name": "Maintenance Block - Room 101",
            "Notes": "Scheduled maintenance for air conditioning unit"
          },
          {
            "Id": "8e9f0a1b-2c3d-4e5f-6a7b-8c9d0e1f2a3b",
            "EnterpriseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "AssignedResourceId": "1ec29188-01ca-4294-9983-fac59f85a448",
            "IsActive": true,
            "Type": "InternalUse",
            "StartUtc": "2023-07-20T10:00:00Z",
            "EndUtc": "2023-07-22T12:00:00Z",
            "CreatedUtc": "2023-07-18T14:20:00Z",
            "UpdatedUtc": "2023-07-18T14:20:00Z",
            "DeletedUtc": null,
            "Name": "Staff Training Session",
            "Notes": null
          },
          {
            "Id": "63f4ebee-7e36-4ca9-b7d8-6331a8b009e5",
            "EnterpriseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "AssignedResourceId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
            "IsActive": false,
            "Type": "OutOfOrder",
            "StartUtc": "2023-06-01T20:00:00Z",
            "EndUtc": "2023-06-03T23:59:59Z",
            "CreatedUtc": "2023-06-01T16:45:00Z",
            "UpdatedUtc": "2023-06-04T08:15:00Z",
            "DeletedUtc": "2023-06-04T08:15:00Z",
            "Name": "Renovation Block - Suite 1",
            "Notes": "Room renovation completed, block removed"
          }
        ],
        "Cursor": "9f0a1b2c-3d4e-5f6a-7b8c-9d0e1f2a3b4c"
      }
    }
  ]
}