MCP Control
Бронирование · Чтение

Бронирование · Просмотр · Операция

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

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

Получить данные
  1. Вы указываетеОбъект
  2. ПомощникЧтение
  3. Вы получаетеПоля ответа
Запрос в чат
Для задачи «Бронирование / Просмотр / Операция» выполни чтение в текущей компании. Выведи кратко: companyId, результат.
Что искать в ответе
companyId
Поле ответа
result
Результат
После обрыва
  1. Вы указываетеПервоначальный ключ
  2. ПомощникПоиск квитанции
  3. Вы получаетеСостояние операции
Запрос в чат
Найди результат «Бронирование / Просмотр / Операция» по ключу первоначальной попытки. Покажи состояние операции и раздели подтверждённые и пока неизвестные данные.
Порядок проверки
1
Взять исходный ключ
2
Проверить квитанцию
Разобрать ответ
  1. Вы указываетеПолученный ответ
  2. ПомощникРазбор значений
  3. Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Бронирование / Просмотр / Операция» объясни companyId, результат. Отметь отсутствующие значения.
Поля для проверки
companyId
Поле ответа
result
Результат
Как работает действие

Это чтение. Выберите запись или задайте фильтры в доступной компании. Для поиска результата возьмите идентификатор из первоначальной попытки. Сохраните исходные аргументы.

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

Read the original native Booking operation receipt with the unchanged request ID and current authority. pending/unknown is never proof of rollback; read current records and do not retry with a new key.

Параметры запроса
operation
Выберите вариант операции из контракта. обязательно по схеме · string · варианты object_create, object_update, object_adopt, schedule_open, schedule_minimum, price_set, price_range, closure_save, closure_remove, order_create, order_update, order_cancel, order_notes, order_item_ready, night_prices_update, guest_create, offer_save, workforce_save, task_remove, preferences_update, file_import, file_remove, billing_refresh, integration_provision, integration_settings_save, channel_manager_start, messages_install, messages_uninstall, messages_enabled
originalRequestId
Сохранённый идентификатор первоначального запроса. обязательно по схеме · string
Что вернёт команда
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_get_operation
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "operation": {
      "type": "string",
      "enum": [
        "object_create",
        "object_update",
        "object_adopt",
        "schedule_open",
        "schedule_minimum",
        "price_set",
        "price_range",
        "closure_save",
        "closure_remove",
        "order_create",
        "order_update",
        "order_cancel",
        "order_notes",
        "order_item_ready",
        "night_prices_update",
        "guest_create",
        "offer_save",
        "workforce_save",
        "task_remove",
        "preferences_update",
        "file_import",
        "file_remove",
        "billing_refresh",
        "integration_provision",
        "integration_settings_save",
        "channel_manager_start",
        "messages_install",
        "messages_uninstall",
        "messages_enabled"
      ],
      "description": "Native operation value from the current Booking workspace."
    },
    "originalRequestId": {
      "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 originalRequestId value from the current Booking workspace."
    }
  },
  "required": [
    "operation",
    "originalRequestId"
  ],
  "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"
          }
        }
      ]
    }
  }
}