MCP Control
Бронирование · Изменение

Бронирование · Заказы · Заметки

booking_workspace_order_notes
Часы и календарь у стойки записи

Попробуйте три запроса

Подготовить
  1. Вы указываетеЗаказ
  2. ПомощникПодготовка
  3. Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Бронирование / Заказы / Заметки». Для изменения нужны заказ, версия. Покажи объект и ожидаемый эффект до выполнения.
Что входит в подготовку
orderId
Заказ
version
Версия
field
Параметр
Применить
  1. Вы указываетеСогласованные значения
  2. ПомощникОдин вызов
  3. Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Бронирование / Заказы / Заметки» с параметром field = comment. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
Фрагмент учебных параметров
field
comment
orderId
DEMO-101
version
4
Проверить итог
  1. Вы указываетеИсходный ответ
  2. ПомощникСверка результата
  3. Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Бронирование / Заказы / Заметки» по исходному ответу. Покажи companyId, результат. Объясни, чем подтвердить эффект для выбранного объекта.
Как сверить изменение
  1. До измененияПрочитать версию
  2. При записиПередать выбранную версию
  3. После ответаПеречитать объект
Как работает действие

Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения. Прочитайте актуальную версию записи перед подготовкой запроса.

Описание разработчика

Native Booking order_notes. Uses the same current company handlers and business rules as booking.sabsus.site. Read all hash-bound chunks and follow native pagination. Recover uncertain writes with booking_workspace_get_operation and the original request ID.

Параметры запроса
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
orderId
Идентификатор выбранного заказа. обязательно по схеме · string
version
Native version value from the current Booking workspace. обязательно по схеме · integer · минимум 0 · максимум 9007199254740991
field
Native field value from the current Booking workspace. обязательно по схеме · string · варианты comment, productionComment, payBy, color
value
Native value value from the current Booking workspace. обязательно по схеме · string / null
previousValue
Native previousValue value from the current Booking workspace. необязательно · string · до символов 4000
Что вернёт команда
companyId
Verified current native company. обязательно по схеме · string
result
Native Booking receipt or hash-bound JSON chunk. Historic completed receipts, current occupancy and provider confirmation are distinct. обязательно по схеме · object
Поля и технические схемы
Входные поля и поля ответа booking_workspace_order_notes
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "requestId": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "description": "Native requestId value from the current Booking workspace."
    },
    "orderId": {
      "type": "string",
      "pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native orderId value from the current Booking workspace."
    },
    "version": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Native version value from the current Booking workspace."
    },
    "field": {
      "type": "string",
      "enum": [
        "comment",
        "productionComment",
        "payBy",
        "color"
      ],
      "description": "Native field value from the current Booking workspace."
    },
    "value": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 4000
        },
        {
          "type": "null"
        }
      ],
      "description": "Native value value from the current Booking workspace."
    },
    "previousValue": {
      "description": "Native previousValue value from the current Booking workspace.",
      "type": "string",
      "maxLength": 4000
    }
  },
  "required": [
    "requestId",
    "orderId",
    "version",
    "field",
    "value"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "companyId": {
      "type": "string",
      "description": "Verified current native company."
    },
    "result": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "$ref": "#/$defs/__schema0"
      },
      "description": "Native Booking receipt or hash-bound JSON chunk. Historic completed receipts, current occupancy and provider confirmation are distinct."
    }
  },
  "required": [
    "companyId",
    "result"
  ],
  "additionalProperties": false,
  "$defs": {
    "__schema0": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        },
        {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema0"
          }
        },
        {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "$ref": "#/$defs/__schema0"
          }
        }
      ]
    }
  }
}