Mews · Schema

Rate result

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
Rates array Rates of the default service.
RateGroups array Rate groups of the default service.
RateRestrictions object
Cursor string Unique identifier of the item one newer in time order than the items to be returned. If Cursor is not specified, i.e. null, then the latest or most recent items will be returned.
View JSON Schema on GitHub

JSON Schema

mews-rateresult-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RateResult",
  "title": "Rate result",
  "required": [
    "RateGroups",
    "RateRestrictions",
    "Rates"
  ],
  "type": "object",
  "properties": {
    "Rates": {
      "maxItems": 1000,
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Rate"
      },
      "description": "Rates of the default service."
    },
    "RateGroups": {
      "maxItems": 1000,
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/RateGroupOld"
      },
      "description": "Rate groups of the default service.",
      "deprecated": true,
      "x-deprecatedMessage": "Use [rateGroups/getAll](https://mews-systems.gitbook.io/connector-api/operations/rategroups#request)."
    },
    "RateRestrictions": {
      "title": "Rate restriction result",
      "allOf": [
        {
          "$ref": "#/components/schemas/RateRestrictionResult"
        }
      ],
      "deprecated": true,
      "x-deprecatedMessage": "Use [restrictions/getAll](https://mews-systems.gitbook.io/connector-api/operations/restrictions#request)."
    },
    "Cursor": {
      "type": "string",
      "description": "Unique identifier of the item one newer in time order than the items to be returned. If Cursor is not specified, i.e. null, then the latest or most recent items will be returned.",
      "format": "uuid",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "x-schema-id": "RateResult"
}