Mews · Schema

ReservationItemParameters

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.
ReservationIds array Unique identifiers of the reservation.
Currency string ISO-4217 code of the [Currency](https://mews-systems.gitbook.io/connector-api/operations/currencies/#currency) the item costs should be converted to.
AccountingStates array States the items should be in. If not specified, items in Open or Closed states are returned.
View JSON Schema on GitHub

JSON Schema

mews-reservationitemparameters-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ReservationItemParameters",
  "title": "ReservationItemParameters",
  "required": [
    "AccessToken",
    "Client",
    "ClientToken",
    "ReservationIds"
  ],
  "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."
    },
    "ReservationIds": {
      "maxItems": 1000,
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "description": "Unique identifiers of the reservation."
    },
    "Currency": {
      "type": "string",
      "description": "ISO-4217 code of the [Currency](https://mews-systems.gitbook.io/connector-api/operations/currencies/#currency) the item costs should be converted to.",
      "format": "currency",
      "nullable": true
    },
    "AccountingStates": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "States the items should be in. If not specified, items in Open or Closed states are returned.",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "x-schema-id": "ReservationItemParameters"
}