Заказы · Изменение
Сканирование · Печать
scan_print
Попробуйте три запроса
Подготовить
- Вы указываетеМероприятие
- ПомощникПодготовка
- Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Сканирование / Печать». Для изменения нужны мероприятие, checkpoint. Покажи объект и ожидаемый эффект до выполнения.
- eventId
- Мероприятие
- checkpoint
- Параметр
- qr
- Параметр
Применить
- Вы указываетеСогласованные значения
- ПомощникОдин вызов
- Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Сканирование / Печать» с параметром kind = badge. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
- kind
- badge
- language
- ru
- eventId
- DEMO-101
Проверить итог
- Вы указываетеИсходный ответ
- ПомощникСверка результата
- Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Сканирование / Печать» по исходному ответу. Покажи результат. Объясни, чем подтвердить эффект для выбранного объекта.
- ЗапросСохранить исходный ключ
- ОтветПроверить статус
- ПроверкаСверить эффект операции
Как работает действие
Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения.
Описание разработчика
Prepare one badge, card or voucher through the native document formatter and Orders printer queue. Retry with unchanged request ID. A repeat copy requires a reason. Queue acceptance does not confirm handover or redeem benefits.
Параметры запроса
- eventId
- Exact event session identifier. обязательно по схеме · string
- checkpoint
- Assigned checkpoint of the current employee shift. обязательно по схеме · string · до символов 120
- qr
- Guest-presented event ticket credential. Manual entry accepts the complete credential. обязательно по схеме · string · до символов 260
- requestId
- Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
- printerId
- Native printer assigned to this establishment. обязательно по схеме · string
- kind
- Paper layout. обязательно по схеме · string · варианты badge, card, voucher
- item
- Included item for the voucher. необязательно · string
- reason
- Required for a repeat copy. необязательно · string · до символов 240
- language
- Язык результата или локализуемого значения согласно схеме. обязательно по схеме · string · по умолчанию "ru" · варианты ru, en
Что вернёт команда
- result
- Event record, bounded page, credential verification or committed operation receipt. обязательно по схеме · object
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"eventId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,80}$",
"description": "Exact event session identifier."
},
"checkpoint": {
"type": "string",
"minLength": 1,
"maxLength": 120,
"description": "Assigned checkpoint of the current employee shift."
},
"qr": {
"type": "string",
"minLength": 1,
"maxLength": 260,
"description": "Guest-presented event ticket credential. Manual entry accepts the complete credential."
},
"requestId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{8,128}$",
"description": "Stable key for this operation and its unchanged arguments."
},
"printerId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,80}$",
"description": "Native printer assigned to this establishment."
},
"kind": {
"type": "string",
"enum": [
"badge",
"card",
"voucher"
],
"description": "Paper layout."
},
"item": {
"description": "Included item for the voucher.",
"type": "string",
"pattern": "^[A-Za-z0-9_-]{1,80}$"
},
"reason": {
"description": "Required for a repeat copy.",
"type": "string",
"minLength": 1,
"maxLength": 240
},
"language": {
"default": "ru",
"description": "Paper labels.",
"type": "string",
"enum": [
"ru",
"en"
]
}
},
"required": [
"eventId",
"checkpoint",
"qr",
"requestId",
"printerId",
"kind",
"language"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"result": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"description": "Event record, bounded page, credential verification or committed operation receipt."
}
},
"required": [
"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"
}
}
]
}
}
}