Бронирование · Чтение
Голос · Услуги · Поиск · Визиты
voice_service_find_visit
Попробуйте три запроса
Получить данные
- Вы указываетеФилиал
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Голос / Услуги / Поиск / Визиты» выполни чтение по выбранной записи (филиал). Выведи кратко: результат.
- result
- Результат
Задать параметры
- Вы указываетеФилиал
- ПомощникСверка выбора
- Вы получаетеТочный объект
Запрос в чат
Покажи, как получить «Голос / Услуги / Поиск / Визиты» на учебном примере с establishmentId = DEMO-101. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
- establishmentId
- DEMO-101
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Голос / Услуги / Поиск / Визиты» объясни результат. Отметь отсутствующие значения.
- result
- Результат
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании.
Описание разработчика
ALWAYS use this for two or more sequential services for one guest, even for information only. After resolving exact services and artists, provide their catalog durations, desired local date and first local time. Calculates the earliest real non-overlapping slots, preserving each artist, and returns exact start/finish, gaps and estimated total. Do not derive a multi-service itinerary by combining services_slots yourself. Read only: no quote storage, hold, appointment, call, payment or message.
Параметры запроса
- establishmentId
- Native establishmentId value; use the value and type returned by the corresponding service. обязательно по схеме · string
- date
- Requested salon-local calendar date. обязательно по схеме · string
- startTime
- Preferred first service start in salon-local HH:MM, such as 11:00. Never convert it to UTC. обязательно по схеме · string
- lines
- Services in the requested order, each with its exact current artist, catalog duration and modifiers. Never include guessed services or artists. обязательно по схеме · array · до элементов 6
Что вернёт команда
- result
- Read-only native itineraries with exact service/staff identity, local start/finish, computed breaks and estimated price. Not a reservation or payment quote. обязательно по схеме · 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."
},
"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": "Requested salon-local calendar date."
},
"startTime": {
"type": "string",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
"description": "Preferred first service start in salon-local HH:MM, such as 11:00. Never convert it to UTC."
},
"lines": {
"minItems": 2,
"maxItems": 6,
"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."
},
"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
}
}
},
"required": [
"employeeId",
"productId",
"durationMinutes",
"modifiers"
],
"additionalProperties": false
},
"description": "Services in the requested order, each with its exact current artist, catalog duration and modifiers. Never include guessed services or artists."
}
},
"required": [
"establishmentId",
"date",
"startTime",
"lines"
],
"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": "Read-only native itineraries with exact service/staff identity, local start/finish, computed breaks and estimated price. Not a reservation or payment quote."
}
},
"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"
}
}
]
}
}
}