Бронирование · Чтение
Услуги · Предварительный расчёт
services_quote
Попробуйте три запроса
Получить данные
- Вы указываетеФилиал
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Услуги / Предварительный расчёт» выполни чтение по выбранной записи (филиал). Выведи кратко: companyId, результат.
- companyId
- Поле ответа
- result
- Результат
Задать параметры
- Вы указываетеФилиал
- ПомощникСверка выбора
- Вы получаетеТочный объект
Запрос в чат
Покажи, как получить «Услуги / Предварительный расчёт» на учебном примере с establishmentId = DEMO-101. Объясни, какие ещё данные нужны и как будет выглядеть ответ.
- establishmentId
- DEMO-101
- orderId
- DEMO-101
- version
- 4
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Услуги / Предварительный расчёт» объясни companyId, результат. Отметь отсутствующие значения.
- companyId
- Поле ответа
- result
- Результат
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании. Прочитайте актуальную версию записи перед подготовкой запроса.
Описание разработчика
Quote exact service lines, modifiers, staff, time and pricing with native overlap checks. Returned conflicts require explicit approval of that exact overlap before committing; they are not a booking. For editing provide orderId/version. Requires the current native Booking/Services subscription and management role.
Параметры запроса
- 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
- orderId
- Идентификатор выбранного заказа. необязательно · string
- version
- Native version value; use the value and type returned by the corresponding service. необязательно · integer · минимум 0 · максимум 9007199254740991
Что вернёт команда
- companyId
- Native companyId value; use the value and type returned by the corresponding service. обязательно по схеме · string
- result
- Native result value; use the value and type returned by the corresponding service. обязательно по схеме · 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."
},
"unitPrice": {
"description": "Native unitPrice value; use the value and type returned by the corresponding service.",
"type": "number",
"minimum": 0,
"maximum": 10000000
},
"discountPercent": {
"description": "Native discountPercent value; use the value and type returned by the corresponding service.",
"type": "number",
"minimum": 0,
"maximum": 100
},
"discountAmount": {
"description": "Native discountAmount value; use the value and type returned by the corresponding service.",
"type": "number",
"minimum": 0,
"maximum": 10000000
},
"overlapConfirmation": {
"description": "Native overlapConfirmation value; use the value and type returned by the corresponding service.",
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"required": [
"employeeId",
"productId",
"date",
"durationMinutes",
"modifiers",
"start"
],
"additionalProperties": false
},
"description": "Native lines value; use the value and type returned by the corresponding service."
},
"orderId": {
"description": "Native orderId value; use the value and type returned by the corresponding service.",
"type": "string",
"pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,128}$"
},
"version": {
"description": "Native version value; use the value and type returned by the corresponding service.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"establishmentId",
"lines"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"companyId": {
"type": "string",
"description": "Native companyId value; use the value and type returned by the corresponding service."
},
"result": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"description": "Native result value; use the value and type returned by the corresponding service."
}
},
"required": [
"companyId",
"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"
}
}
]
}
}
}