Mews · Schema

LedgerBalanceParameters

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.
EnterpriseIds array Unique identifiers of the Enterprises. If not specified, the operation returns data for all enterprises within scope of the Access Token.
Date object Date interval over which the ledger balances are created.
LedgerTypes array Accounting ledger types to which ledger balances belong.
View JSON Schema on GitHub

JSON Schema

mews-ledgerbalanceparameters-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LedgerBalanceParameters",
  "title": "LedgerBalanceParameters",
  "required": [
    "AccessToken",
    "Client",
    "ClientToken",
    "Date",
    "LedgerTypes",
    "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."
    },
    "EnterpriseIds": {
      "maxItems": 1000,
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "description": "Unique identifiers of the Enterprises. If not specified, the operation returns data for all enterprises within scope of the Access Token.",
      "nullable": true
    },
    "Date": {
      "title": "Date filter interval",
      "allOf": [
        {
          "$ref": "#/components/schemas/DateFilterInterval"
        }
      ],
      "description": "Date interval over which the ledger balances are created.",
      "x-max-interval-in-months": 1
    },
    "LedgerTypes": {
      "minItems": 1,
      "uniqueItems": true,
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/AccountingLedgerTypeEnum"
      },
      "description": "Accounting ledger types to which ledger balances belong."
    }
  },
  "additionalProperties": false,
  "x-schema-id": "LedgerBalanceParameters"
}