MCP Control
Заказы · Чувствительное действие

Кухонный дисплей · Этикетки

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

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

Подготовить
  1. Вы указываетеФилиал
  2. ПомощникПодготовка
  3. Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Кухонный дисплей / Этикетки». Для изменения нужны филиал, товар. Покажи объект и ожидаемый эффект до выполнения.
Что входит в подготовку
locationId
Филиал
productId
Товар
employeeId
Сотрудник
Применить
  1. Вы указываетеСогласованные значения
  2. ПомощникОдин вызов
  3. Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Кухонный дисплей / Этикетки» с параметром mode = product. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
Фрагмент учебных параметров
mode
product
storage
fridge
durationUnit
days
Проверить итог
  1. Вы указываетеИсходный ответ
  2. ПомощникСверка результата
  3. Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Кухонный дисплей / Этикетки» по исходному ответу. Покажи companyId, результат. Объясни, чем подтвердить эффект для выбранного объекта.
Как проследить одну попытку
  1. ЗапросСохранить исходный ключ
  2. ОтветПроверить статус
  3. ПроверкаСверить эффект операции
Как работает действие

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

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

Queue a native KDS label on the exact visible CloudPRNT printer. Uses the native template, employee checks and idempotent receipt. A queued result is not confirmation of physical printing; inspect printing_get_job using the returned identifiers. Recover uncertainty with kds_get_operation and the original requestId; do not issue a new requestId.

Параметры запроса
locationId
Идентификатор точки из текущего подключения. обязательно по схеме · string
productId
Идентификатор найденного товара. обязательно по схеме · string · до символов 160
employeeId
Native employeeId value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 160
templateId
Native templateId value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 160
templateRevision
Native templateRevision value; use the value and type returned by the corresponding service. необязательно · string · до символов 64
mode
Native mode value; use the value and type returned by the corresponding service. обязательно по схеме · string · варианты product, defrost
storage
Native storage value; use the value and type returned by the corresponding service. обязательно по схеме · string · варианты fridge, freezer, ambient
temperature
Native temperature value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 80
packedAt
Native packedAt value; use the value and type returned by the corresponding service. обязательно по схеме · integer · минимум 946684800000 · максимум 4102444800000
shelfLife
Native shelfLife value; use the value and type returned by the corresponding service. обязательно по схеме · number · максимум 87600
durationUnit
Native durationUnit value; use the value and type returned by the corresponding service. обязательно по схеме · string · варианты days, hours
copies
Native copies value; use the value and type returned by the corresponding service. обязательно по схеме · integer · минимум 1 · максимум 100
language
Язык результата или локализуемого значения согласно схеме. обязательно по схеме · string · по умолчанию "ru" · варианты ru, en
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
printerId
Native printerId value; use the value and type returned by the corresponding service. обязательно по схеме · string · до символов 160
Что вернёт команда
companyId
Native companyId value; use the value and type returned by the corresponding service. обязательно по схеме · string
result
Native result value; use the value and type returned by the corresponding service. обязательно по схеме · object
Поля и технические схемы
Входные поля и поля ответа kds_label
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "locationId": {
      "type": "string",
      "pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,120}$",
      "description": "Native locationId value; use the value and type returned by the corresponding service."
    },
    "productId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "pattern": "^[^/\\x00-\\x1f]+$",
      "description": "Native productId value; use the value and type returned by the corresponding service."
    },
    "employeeId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "pattern": "^[^/\\x00-\\x1f]+$",
      "description": "Native employeeId value; use the value and type returned by the corresponding service."
    },
    "templateId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "pattern": "^[^/\\x00-\\x1f]+$",
      "description": "Native templateId value; use the value and type returned by the corresponding service."
    },
    "templateRevision": {
      "description": "Native templateRevision value; use the value and type returned by the corresponding service.",
      "type": "string",
      "maxLength": 64
    },
    "mode": {
      "type": "string",
      "enum": [
        "product",
        "defrost"
      ],
      "description": "Native mode value; use the value and type returned by the corresponding service."
    },
    "storage": {
      "type": "string",
      "enum": [
        "fridge",
        "freezer",
        "ambient"
      ],
      "description": "Native storage value; use the value and type returned by the corresponding service."
    },
    "temperature": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80,
      "description": "Native temperature value; use the value and type returned by the corresponding service."
    },
    "packedAt": {
      "type": "integer",
      "minimum": 946684800000,
      "maximum": 4102444800000,
      "description": "Native packedAt value; use the value and type returned by the corresponding service."
    },
    "shelfLife": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 87600,
      "description": "Native shelfLife value; use the value and type returned by the corresponding service."
    },
    "durationUnit": {
      "type": "string",
      "enum": [
        "days",
        "hours"
      ],
      "description": "Native durationUnit value; use the value and type returned by the corresponding service."
    },
    "copies": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "description": "Native copies value; use the value and type returned by the corresponding service."
    },
    "language": {
      "default": "ru",
      "description": "Native language value; use the value and type returned by the corresponding service.",
      "type": "string",
      "enum": [
        "ru",
        "en"
      ]
    },
    "requestId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Stable request ID for these exact arguments. Keep it if the response is uncertain."
    },
    "printerId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 160,
      "pattern": "^[^/\\x00-\\x1f]+$",
      "description": "Native printerId value; use the value and type returned by the corresponding service."
    }
  },
  "required": [
    "locationId",
    "productId",
    "employeeId",
    "templateId",
    "mode",
    "storage",
    "temperature",
    "packedAt",
    "shelfLife",
    "durationUnit",
    "copies",
    "language",
    "requestId",
    "printerId"
  ],
  "additionalProperties": false
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "companyId": {
      "type": "string",
      "description": "Native companyId value; use the value and type returned by the corresponding service."
    },
    "result": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "$ref": "#/$defs/__schema0"
      },
      "description": "Native result value; use the value and type returned by the corresponding service."
    }
  },
  "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"
          }
        }
      ]
    }
  }
}