Бронирование · Изменение
Голос · Услуги · Подготовка · Бронирование
voice_service_prepare_booking
Попробуйте три запроса
Подготовить
- Вы указываетеФилиал
- ПомощникПодготовка
- Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Голос / Услуги / Подготовка / Бронирование». Для изменения нужны филиал, lines. Покажи объект и ожидаемый эффект до выполнения.
- establishmentId
- Филиал
- lines
- Параметр
Применить
- Вы указываетеСогласованные значения
- ПомощникОдин вызов
- Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Голос / Услуги / Подготовка / Бронирование» с параметром establishmentId = DEMO-101. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
- establishmentId
- DEMO-101
Проверить итог
- Вы указываетеИсходный ответ
- ПомощникСверка результата
- Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Голос / Услуги / Подготовка / Бронирование» по исходному ответу. Покажи результат. Объясни, чем подтвердить эффект для выбранного объекта.
- ЗапросСохранить исходный ключ
- ОтветПроверить статус
- ПроверкаСверить эффект операции
Как работает действие
Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения.
Описание разработчика
During an authorized AI call, recheck exact service lines and current prices, then save a short-lived quote bound to this call and its existing customer. No order, payment or message. No price overrides, discounts or overlaps. Read the returned terms aloud before confirmation.
Параметры запроса
- establishmentId
- Native establishmentId value; use the value and type returned by the corresponding service. обязательно по схеме · string
- lines
- Native lines value; use the value and type returned by the corresponding service. обязательно по схеме · array · до элементов 10
- requestId
- Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
- result
- Verified native result. Created is not paid; never infer payment or SMS delivery. обязательно по схеме · object
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"establishmentId": {
"type": "string",
"pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Native establishmentId value; use the value and type returned by the corresponding service."
},
"lines": {
"minItems": 1,
"maxItems": 10,
"type": "array",
"items": {
"type": "object",
"properties": {
"employeeId": {
"type": "string",
"pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Native employeeId value; use the value and type returned by the corresponding service."
},
"productId": {
"type": "string",
"pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Native productId value; use the value and type returned by the corresponding service."
},
"date": {
"type": "string",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"description": "Native date value; use the value and type returned by the corresponding service."
},
"durationMinutes": {
"type": "integer",
"minimum": 5,
"maximum": 1440,
"description": "Native durationMinutes value; use the value and type returned by the corresponding service."
},
"modifiers": {
"default": [],
"description": "Native modifiers value; use the value and type returned by the corresponding service.",
"maxItems": 30,
"type": "array",
"items": {
"type": "object",
"properties": {
"optionSetId": {
"type": "string",
"pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,128}$",
"description": "Native optionSetId value; use the value and type returned by the corresponding service."
},
"productIds": {
"maxItems": 30,
"type": "array",
"items": {
"type": "string",
"pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,128}$"
},
"description": "Native productIds value; use the value and type returned by the corresponding service."
},
"quantities": {
"description": "Native quantities value; use the value and type returned by the corresponding service.",
"type": "object",
"propertyNames": {
"type": "string",
"pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,128}$"
},
"additionalProperties": {
"type": "integer",
"minimum": 1,
"maximum": 100
}
}
},
"required": [
"optionSetId",
"productIds"
],
"additionalProperties": false
}
},
"start": {
"type": "string",
"format": "date-time",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
"description": "Native start value; use the value and type returned by the corresponding service."
}
},
"required": [
"employeeId",
"productId",
"date",
"durationMinutes",
"modifiers",
"start"
],
"additionalProperties": false
},
"description": "Native lines 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."
}
},
"required": [
"establishmentId",
"lines",
"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 result. Created is not paid; never infer payment or SMS delivery."
}
},
"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"
}
}
]
}
}
}