Валет-паркинг · Изменение
Валет-паркинг · Билет · Печать
valet_ticket_print
Попробуйте три запроса
Подготовить
- Вы указываетеФилиал
- ПомощникПодготовка
- Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Валет-паркинг / Билет / Печать». Для изменения нужны филиал, printerId. Покажи объект и ожидаемый эффект до выполнения.
- locationId
- Филиал
- printerId
- Параметр
- test
- Параметр
Применить
- Вы указываетеСогласованные значения
- ПомощникОдин вызов
- Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Валет-паркинг / Билет / Печать» с параметром language = ru. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
- language
- ru
- locationId
- DEMO-101
- printerId
- DEMO-101
Проверить итог
- Вы указываетеИсходный ответ
- ПомощникСверка результата
- Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Валет-паркинг / Билет / Печать» по исходному ответу. Покажи результат. Объясни, чем подтвердить эффект для выбранного объекта.
- ЗапросСохранить исходный ключ
- ОтветПроверить статус
- ПроверкаСверить эффект операции
Как работает действие
Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения.
Описание разработчика
Queue real printing of the native parking ticket on the selected authorized printer. PIN/QR are inserted inside the server, not returned to the assistant. Native deduplication keeps the same request ID; queued is not physical-delivery proof.
Параметры запроса
- locationId
- Идентификатор точки из текущего подключения. обязательно по схеме · string
- printerId
- Native printerId value; use the value and type returned by the corresponding service. обязательно по схеме · string
- visitId
- Native visitId value; use the value and type returned by the corresponding service. необязательно · string
- test
- Native test value; use the value and type returned by the corresponding service. обязательно по схеме · boolean · по умолчанию false
- copies
- Native copies value; use the value and type returned by the corresponding service. обязательно по схеме · integer · по умолчанию 1 · минимум 1 · максимум 10
- language
- Язык результата или локализуемого значения согласно схеме. обязательно по схеме · string · по умолчанию "ru" · варианты ru, en
- requestId
- Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
- result
- Verified native Valet result; ticket PINs, guest tokens, QR capabilities and internal receipts are excluded. обязательно по схеме · object
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"locationId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Native locationId value; use the value and type returned by the corresponding service."
},
"printerId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Native printerId value; use the value and type returned by the corresponding service."
},
"visitId": {
"description": "Native visitId value; use the value and type returned by the corresponding service.",
"type": "string",
"pattern": "^V-\\d{1,12}$"
},
"test": {
"default": false,
"description": "Native test value; use the value and type returned by the corresponding service.",
"type": "boolean"
},
"copies": {
"default": 1,
"description": "Native copies value; use the value and type returned by the corresponding service.",
"type": "integer",
"minimum": 1,
"maximum": 10
},
"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."
}
},
"required": [
"locationId",
"printerId",
"test",
"copies",
"language",
"requestId"
],
"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": "Verified native Valet result; ticket PINs, guest tokens, QR capabilities and internal receipts are excluded."
}
},
"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"
}
}
]
}
}
}