Mews · Example Payload

Mews Products Getpricing Example

HospitalityHotelsPMSProperty Management

Mews Products Getpricing 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": "products_getPricing",
  "method": "POST",
  "path": "/api/connector/v1/products/getPricing",
  "summary": "Get product pricing",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "ClientToken": "E0D439EE522F44368DC78E1BFB03710C-D24FB11DBE31D4621C4817E028D9E1D",
        "AccessToken": "C66EF7B239D24632943D115EDE9CB810-EA00F8FD8294692C940F6B5A8F9453D",
        "Client": "Sample Client 1.0.0",
        "ProductId": "6b97a38b-0043-41e0-afbd-3f083bdbc0d2",
        "FirstTimeUnitStartUtc": "2024-03-01T23:00:00.000Z",
        "LastTimeUnitStartUtc": "2024-03-03T23:00:00.000Z",
        "EnterpriseIds": [
          "3fa85f64-5717-4562-b3fc-2c963f66afa6",
          "4d0201db-36f5-428b-8d11-4f0a65e960cc"
        ]
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "ProductId": "6b97a38b-0043-41e0-afbd-3f083bdbc0d2",
        "TimeUnitStartsUtc": [
          "2024-03-01T23:00:00Z",
          "2024-03-02T23:00:00Z",
          "2024-03-03T23:00:00Z"
        ],
        "BaseAmountPrices": [
          {
            "Currency": "EUR",
            "NetValue": 93.46,
            "GrossValue": 100.0,
            "TaxValues": [
              {
                "Code": "DE-2020-1-L",
                "Value": 6.54
              }
            ],
            "Breakdown": {
              "Items": [
                {
                  "TaxRateCode": "DE-2020-1-L",
                  "NetValue": 93.46,
                  "TaxValue": 6.54
                }
              ]
            }
          },
          {
            "Currency": "EUR",
            "NetValue": 93.46,
            "GrossValue": 100.0,
            "TaxValues": [
              {
                "Code": "DE-2020-1-L",
                "Value": 6.54
              }
            ],
            "Breakdown": {
              "Items": [
                {
                  "TaxRateCode": "DE-2020-1-L",
                  "NetValue": 93.46,
                  "TaxValue": 6.54
                }
              ]
            }
          }
        ],
        "AgeCategoryPrices": [
          {
            "AgeCategoryId": "7d9d9b11-2c96-4862-9ead-501c6a8ed114",
            "Prices": [
              {
                "Currency": "EUR",
                "NetValue": 93.46,
                "GrossValue": 100.0,
                "TaxValues": [
                  {
                    "Code": "DE-2020-1-L",
                    "Value": 6.54
                  }
                ],
                "Breakdown": {
                  "Items": [
                    {
                      "TaxRateCode": "DE-2020-1-L",
                      "NetValue": 93.46,
                      "TaxValue": 6.54
                    }
                  ]
                }
              },
              {
                "Currency": "EUR",
                "NetValue": 93.46,
                "GrossValue": 100.0,
                "TaxValues": [
                  {
                    "Code": "DE-2020-1-L",
                    "Value": 6.54
                  }
                ],
                "Breakdown": {
                  "Items": [
                    {
                      "TaxRateCode": "DE-2020-1-L",
                      "NetValue": 93.46,
                      "TaxValue": 6.54
                    }
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  ]
}