Mews · Example Payload

Mews Resourcecategoryassignments Getall Example

HospitalityHotelsPMSProperty Management

Mews Resourcecategoryassignments 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": "resourceCategoryAssignments_getAll",
  "method": "POST",
  "path": "/api/connector/v1/resourceCategoryAssignments/getAll",
  "summary": "Get all resource category assignments",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
        "AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
        "Client": "Sample Client 1.0.0",
        "ResourceCategoryAssignmentIds": [
          "fb69fc51-c4e9-4ef6-874a-24bcfe74a894",
          "28704948-77df-4bb4-8f39-f8380dc8a914"
        ],
        "ResourceCategoryIds": [
          "5c0804f9-d03a-4b13-a57d-b00300781a41",
          "47d6b462-35ec-467e-a565-b00300781a41"
        ],
        "UpdatedUtc": {
          "StartUtc": "2023-11-01T00:00:00Z",
          "EndUtc": "2023-11-30T00:00:00Z"
        },
        "ActivityStates": [
          "Active"
        ],
        "ResourceIds": [
          "5ee074b1-6c86-48e8-915f-c7aa4702086f",
          "c32386aa-1cd2-414a-a823-489325842fbe"
        ],
        "EnterpriseIds": [
          "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "4d0201db-36f5-428b-8d11-4f0a65e960cc"
        ],
        "Limitation": {
          "Count": 10,
          "Cursor": "e7f26210-10e7-462e-9da8-ae8300be8ab7"
        }
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "ResourceCategoryAssignments": [
          {
            "Id": "fb69fc51-c4e9-4ef6-874a-24bcfe74a894",
            "ResourceId": "e5a34a69-d35e-4e85-a645-a9bc4ee3a80f",
            "CategoryId": "5c0804f9-d03a-4b13-a57d-b00300781a41",
            "IsActive": true,
            "CreatedUtc": "2023-10-01T11:48:57Z",
            "UpdatedUtc": "2023-10-28T11:48:57Z"
          },
          {
            "Id": "28704948-77df-4bb4-8f39-f8380dc8a914",
            "ResourceId": "90908a65-35fc-4856-b659-106f60b591e5",
            "CategoryId": "47d6b462-35ec-467e-a565-b00300781a41",
            "IsActive": true,
            "CreatedUtc": "2023-10-01T11:48:57Z",
            "UpdatedUtc": "2023-10-28T11:48:57Z"
          }
        ],
        "Cursor": "28704948-77df-4bb4-8f39-f8380dc8a914"
      }
    }
  ]
}