Заказы · Чувствительное действие
Кухонный дисплей · Печать
kds_print
Попробуйте три запроса
Подготовить
- Вы указываетеФилиал
- ПомощникПодготовка
- Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Кухонный дисплей / Печать». Для изменения нужны филиал, sourceType. Покажи объект и ожидаемый эффект до выполнения.
- locationId
- Филиал
- sourceType
- Параметр
- sourceIds
- Параметр
Применить
- Вы указываетеСогласованные значения
- ПомощникОдин вызов
- Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Кухонный дисплей / Печать» с параметром sourceType = orders. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
- sourceType
- orders
- locationId
- DEMO-101
- printerId
- DEMO-101
Проверить итог
- Вы указываетеИсходный ответ
- ПомощникСверка результата
- Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Кухонный дисплей / Печать» по исходному ответу. Покажи companyId, результат. Объясни, чем подтвердить эффект для выбранного объекта.
- ЗапросСохранить исходный ключ
- ОтветПроверить статус
- ПроверкаСверить эффект операции
Как работает действие
Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения.
Описание разработчика
Queue a native KDS production order, recipe or checklist print. Use current versions for orders/documents and exact IDs from KDS reads or the catalogue. One recipe or document per request. Queued is not physical printing. Native pending own attendance mirrors may be flushed while preparing the production snapshot. Uses the current connection location scope. Recover uncertainty with kds_get_operation and the original requestId; do not issue a new requestId.
Параметры запроса
- locationId
- Идентификатор точки из текущего подключения. обязательно по схеме · string
- requestId
- Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
- sourceType
- Native sourceType value; use the value and type returned by the corresponding service. обязательно по схеме · string · варианты orders, recipe, document
- sourceIds
- Native sourceIds value; use the value and type returned by the corresponding service. обязательно по схеме · array · до элементов 20
- printerId
- Native printerId value; use the value and type returned by the corresponding service. обязательно по схеме · string
- versions
- Native versions value; use the value and type returned by the corresponding service. необязательно · object
- items
- Native items value; use the value and type returned by the corresponding service. необязательно · array · до элементов 50
Что вернёт команда
- 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
Поля и технические схемы

Вход · 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."
},
"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."
},
"sourceType": {
"type": "string",
"enum": [
"orders",
"recipe",
"document"
],
"description": "Native sourceType value; use the value and type returned by the corresponding service."
},
"sourceIds": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "string",
"pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,120}$"
},
"description": "Native sourceIds value; use the value and type returned by the corresponding service."
},
"printerId": {
"type": "string",
"pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,120}$",
"description": "Native printerId value; use the value and type returned by the corresponding service."
},
"versions": {
"description": "Native versions value; use the value and type returned by the corresponding service.",
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,120}$"
},
"additionalProperties": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"items": {
"description": "Native items value; use the value and type returned by the corresponding service.",
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"orderId": {
"type": "string",
"pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,120}$",
"description": "Native orderId value; use the value and type returned by the corresponding service."
},
"itemId": {
"type": "string",
"pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,120}$",
"description": "Native itemId value; use the value and type returned by the corresponding service."
}
},
"required": [
"orderId",
"itemId"
],
"additionalProperties": false
}
}
},
"required": [
"locationId",
"requestId",
"sourceType",
"sourceIds",
"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"
}
}
]
}
}
}