Mews · Schema

SourceAssignmentFilterParametersV20240920

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
ClientToken string Token identifying the client application.
AccessToken string Access token of the client application.
Client string Name and version of the client application.
Limitation object Limitation on the quantity of data returned and optional Cursor for the starting point of data.
ReservationIds array Unique identifiers of `Reservation`.
UpdatedUtc object Interval of source assignment last update date and time.
EnterpriseIds array Unique identifiers of the Enterprises. Required when using Portfolio Access Tokens, ignored otherwise.
View JSON Schema on GitHub

JSON Schema

mews-sourceassignmentfilterparametersv20240920-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SourceAssignmentFilterParametersV20240920",
  "title": "SourceAssignmentFilterParametersV20240920",
  "required": [
    "AccessToken",
    "Client",
    "ClientToken",
    "Limitation"
  ],
  "type": "object",
  "properties": {
    "ClientToken": {
      "minLength": 1,
      "type": "string",
      "description": "Token identifying the client application."
    },
    "AccessToken": {
      "minLength": 1,
      "type": "string",
      "description": "Access token of the client application."
    },
    "Client": {
      "minLength": 1,
      "type": "string",
      "description": "Name and version of the client application."
    },
    "Limitation": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Limitation"
        }
      ],
      "description": "Limitation on the quantity of data returned and optional Cursor for the starting point of data."
    },
    "ReservationIds": {
      "maxItems": 100,
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "description": "Unique identifiers of `Reservation`.",
      "nullable": true
    },
    "UpdatedUtc": {
      "title": "Time interval",
      "allOf": [
        {
          "$ref": "#/components/schemas/TimeFilterInterval"
        }
      ],
      "description": "Interval of source assignment last update date and time.",
      "nullable": true,
      "x-max-interval-in-months": 1
    },
    "EnterpriseIds": {
      "maxItems": 1,
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "description": "Unique identifiers of the Enterprises. Required when using Portfolio Access Tokens, ignored otherwise.",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "x-schema-id": "SourceAssignmentFilterParametersV20240920"
}