Mews · Schema

Message parameters

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
MessageThreadId string Unique identifier of the `MessageThread` to which the message should be added.
Text string Text of the message.
Identifier string Identifier of the message to be created.
View JSON Schema on GitHub

JSON Schema

mews-messageaddparameters-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/MessageAddParameters",
  "title": "Message parameters",
  "required": [
    "MessageThreadId",
    "Text"
  ],
  "type": "object",
  "properties": {
    "MessageThreadId": {
      "type": "string",
      "description": "Unique identifier of the `MessageThread` to which the message should be added.",
      "format": "uuid"
    },
    "Text": {
      "minLength": 1,
      "type": "string",
      "description": "Text of the message."
    },
    "Identifier": {
      "type": "string",
      "description": "Identifier of the message to be created.",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "x-schema-id": "MessageAddParameters"
}