Mews · Example Payload

Mews Loyaltytiers Getall Example

HospitalityHotelsPMSProperty Management

Mews Loyaltytiers 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": "loyaltyTiers_getAll",
  "method": "POST",
  "path": "/api/connector/v1/loyaltyTiers/getAll",
  "summary": "Get all loyalty tiers",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
        "AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
        "Client": "Sample Client 1.0.0",
        "ChainIds": [
          "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "5fcd1933-22f2-40b9-84da-7db04cbecec2"
        ],
        "LoyaltyProgramIds": [
          "f701dafb-5765-4cf4-b1dd-1f602a740ae5",
          "da34b396-41f7-47f6-8847-aecf00a3f19e"
        ],
        "LoyaltyTierIds": [
          "69eedfd2-6f25-42fc-b3c8-39df70f85e37",
          "3cad97ef-5257-4ced-8599-8e6bbd33331f"
        ],
        "ActivityStates": [
          "Active"
        ],
        "UpdatedUtc": {
          "StartUtc": "2022-10-10T00:00:00Z",
          "EndUtc": "2022-10-17T00:00:00Z"
        },
        "Limitation": {
          "Count": 100
        }
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "LoyaltyTiers": [
          {
            "Id": "69eedfd2-6f25-42fc-b3c8-39df70f85e37",
            "LoyaltyProgramId": "f701dafb-5765-4cf4-b1dd-1f602a740ae5",
            "Name": "Platinum",
            "Code": "P1",
            "Ordering": 1
          },
          {
            "Id": "3cad97ef-5257-4ced-8599-8e6bbd33331f",
            "LoyaltyProgramId": "f701dafb-5765-4cf4-b1dd-1f602a740ae5",
            "Name": "Silver",
            "Code": "S1",
            "Ordering": 2
          }
        ],
        "Cursor": "3cad97ef-5257-4ced-8599-8e6bbd33331f"
      }
    }
  ]
}