MCP Control
Заказы · Чтение

Заказы · Просмотр · Операция

orders_workspace_get_operation
Упакованный заказ на стойке

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

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

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

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

Native Order Workspace get_operation. Uses the same current company handlers and permissions as order-web.web.app. Read every hash-bound chunk and follow any native pagination. Saved configuration, queued work and provider confirmation are distinct. Recover uncertain writes with orders_workspace_get_operation and the original request ID.

Параметры запроса
operation
Выберите вариант операции из контракта. обязательно по схеме · string · варианты customer_profile_update, payment_device_send, payment_job_cancel, payment_record, payment_adjust, payment_refund, screen_send, screen_clear, delivery_service_create, delivery_service_remove, delivery_price_create, shipping_settings_save, shipping_quote, shipping_create, shipping_refresh, shipping_sender_save, shipping_connection_disable, commerce_check, commerce_disable, commerce_authorize, bills_save, picking_create, picking_update, orders_copy, purchase_create, purchase_update, purchase_batch, purchase_status, purchase_receive, supply_create, settings_save, location_settings_update, location_statuses_update, supply_update, price_offers_save, preferences_update, file_import, file_remove
originalRequestId
Сохранённый идентификатор первоначального запроса. обязательно по схеме · string
Что вернёт команда
companyId
Verified current native company. обязательно по схеме · string
result
Native operation receipt or hash-bound result chunk. Queued, completed and provider-confirmed states have distinct meanings. обязательно по схеме · object
Поля и технические схемы
Входные поля и поля ответа orders_workspace_get_operation
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "operation": {
      "type": "string",
      "enum": [
        "customer_profile_update",
        "payment_device_send",
        "payment_job_cancel",
        "payment_record",
        "payment_adjust",
        "payment_refund",
        "screen_send",
        "screen_clear",
        "delivery_service_create",
        "delivery_service_remove",
        "delivery_price_create",
        "shipping_settings_save",
        "shipping_quote",
        "shipping_create",
        "shipping_refresh",
        "shipping_sender_save",
        "shipping_connection_disable",
        "commerce_check",
        "commerce_disable",
        "commerce_authorize",
        "bills_save",
        "picking_create",
        "picking_update",
        "orders_copy",
        "purchase_create",
        "purchase_update",
        "purchase_batch",
        "purchase_status",
        "purchase_receive",
        "supply_create",
        "settings_save",
        "location_settings_update",
        "location_statuses_update",
        "supply_update",
        "price_offers_save",
        "preferences_update",
        "file_import",
        "file_remove"
      ],
      "description": "Native operation value. Resolve existing identifiers and read the current native state before changes."
    },
    "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": "Stable request ID for this exact operation. Preserve after uncertainty; recover with get_operation."
    }
  },
  "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 operation receipt or hash-bound result chunk. Queued, completed and provider-confirmed states have distinct meanings."
    }
  },
  "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"
          }
        }
      ]
    }
  }
}