Валет-паркинг · Чтение
Валет-паркинг · Печать · Предпросмотр
valet_print_preview
Попробуйте три запроса
Получить данные
- Вы указываетеФилиал
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Валет-паркинг / Печать / Предпросмотр» выполни чтение по выбранной записи (филиал). Выведи кратко: результат.
- result
- Результат
Задать параметры
- Вы указываетеФилиал
- ПомощникСверка выбора
- Вы получаетеТочный объект
Запрос в чат
Покажи, как получить «Валет-паркинг / Печать / Предпросмотр» на учебном примере с language = ru. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
- language
- ru
- locationId
- DEMO-101
- printerId
- DEMO-101
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Валет-паркинг / Печать / Предпросмотр» объясни результат. Отметь отсутствующие значения.
- result
- Результат
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании.
Описание разработчика
Validate the native Valet ticket and printer without enqueuing a job. Returns a safe summary only; guest QR and pickup PIN stay inside the server. Set test=true without visitId for a test ticket.
Параметры запроса
- 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"
}
}
]
}
}
}