Mews · Example Payload

Mews Resourceaccesstokens Getall Example

HospitalityHotelsPMSProperty Management

Mews Resourceaccesstokens 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": "resourceAccessTokens_getAll",
  "method": "POST",
  "path": "/api/connector/v1/resourceAccessTokens/getAll",
  "summary": "Get all resource access tokens",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
        "AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
        "Client": "Sample Client 1.0.0",
        "EnterpriseIds": [
          "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "4d0201db-36f5-428b-8d11-4f0a65e960cc"
        ],
        "ResourceAccessTokenIds": [
          "90eff5aa-36b4-4689-80c0-ab3a00bb412e"
        ],
        "ServiceOrderIds": [
          "65eff5aa-36b4-4689-80c0-ab3a00bb412e"
        ],
        "CollidingUtc": {
          "StartUtc": "2020-02-15T00:00:00Z",
          "EndUtc": "2020-02-20T00:00:00Z"
        },
        "UpdatedUtc": {
          "StartUtc": "2020-01-05T00:00:00Z",
          "EndUtc": "2020-01-10T00:00:00Z"
        },
        "ActivityStates": [
          "Active"
        ],
        "Limitation": {
          "Cursor": "e7f26210-10e7-462e-9da8-ae8300be8ab7",
          "Count": 10
        }
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "ResourceAccessTokens": [
          {
            "Id": "72d4b117-1f84-44a3-1f84-8b2c0635ac60",
            "EnterpriseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
            "ServiceOrderId": "35d4b117-4e60-44a3-9580-c582117eff98",
            "CompanionshipId": "25d4b117-4e60-44a3-9580-c582117eff98",
            "ResourceId": "65d4b117-4e60-44a3-9580-c582117eff98",
            "Type": "PinCode",
            "Value": "1234#",
            "SerialNumber": null,
            "ValidityStartUtc": "2020-10-09T22:00:00Z",
            "ValidityEndUtc": "2020-10-10T22:00:00Z",
            "CreatedUtc": "2023-10-01T11:48:57Z",
            "UpdatedUtc": "2023-10-28T11:48:57Z",
            "IsActive": true,
            "Permissions": {
              "Bed": true,
              "Room": false,
              "Floor": false,
              "Building": false
            }
          }
        ]
      }
    }
  ]
}