Mews · Schema

ServiceAvailabilityUpdateParameters

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.
ServiceId string Unique identifier of the [Service](https://mews-systems.gitbook.io/connector-api/operations/#service) to update.
AvailabilityUpdates array Availability updates.
View JSON Schema on GitHub

JSON Schema

mews-serviceavailabilityupdateparameters-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ServiceAvailabilityUpdateParameters",
  "title": "ServiceAvailabilityUpdateParameters",
  "required": [
    "AccessToken",
    "AvailabilityUpdates",
    "Client",
    "ClientToken",
    "ServiceId"
  ],
  "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."
    },
    "ServiceId": {
      "type": "string",
      "description": "Unique identifier of the [Service](https://mews-systems.gitbook.io/connector-api/operations/#service) to update.",
      "format": "uuid"
    },
    "AvailabilityUpdates": {
      "maxItems": 1000,
      "minItems": 1,
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ServiceAvailabilityUpdateData"
      },
      "description": "Availability updates."
    }
  },
  "additionalProperties": false,
  "x-schema-id": "ServiceAvailabilityUpdateParameters"
}