Бронирование · Изменение
Бронирование · Параметры · Изменение
booking_workspace_preferences_update
Попробуйте три запроса
Подготовить
- Вы указываетеКлюч записи
- ПомощникПодготовка
- Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Бронирование / Параметры / Изменение». Для изменения нужны ключ записи, visible. Покажи объект и ожидаемый эффект до выполнения.
- key
- Ключ записи
- visible
- Параметр
Применить
- Вы указываетеСогласованные значения
- ПомощникОдин вызов
- Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Бронирование / Параметры / Изменение» с параметром key = title. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
- key
- title
- visible
- true
Проверить итог
- Вы указываетеИсходный ответ
- ПомощникСверка результата
- Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Бронирование / Параметры / Изменение» по исходному ответу. Покажи companyId, результат. Объясни, чем подтвердить эффект для выбранного объекта.
- ЗапросСохранить исходный ключ
- ОтветПроверить статус
- ПроверкаСверить эффект операции
Как работает действие
Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения.
Описание разработчика
Native Booking preferences_update. Uses the same current company handlers and business rules as booking.sabsus.site. Read all hash-bound chunks and follow native pagination. Recover uncertain writes with booking_workspace_get_operation and the original request ID.
Параметры запроса
- requestId
- Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
- key
- Канонический ключ записи из результата чтения. обязательно по схеме · string · варианты title, id, number, status, address, pay, invoice, preraring, print, client, client.photo, client.name, client.phone, client.email, client.chat, client.call, client.statistik, additem, items, items.time, items.timer, items.photo, items.minus, items.add, items.price, items.brand, items.address, items.modif, items.return, summary, payments, commentclient, comment, commentadd, addingridient, ingridients, insufficient, deliveryedite, task, tasks.add, tasks.all, files, files.add, sing, folders, cancel, changestatus, dedlinepayment, guests, items.comment, promotions, sendtoproduction, typeorder
- visible
- Native visible value from the current Booking workspace. обязательно по схеме · boolean
Что вернёт команда
- companyId
- Verified current native company. обязательно по схеме · string
- result
- Native Booking receipt or hash-bound JSON chunk. Historic completed receipts, current occupancy and provider confirmation are distinct. обязательно по схеме · object
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"requestId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"description": "Native requestId value from the current Booking workspace."
},
"key": {
"type": "string",
"enum": [
"title",
"id",
"number",
"status",
"address",
"pay",
"invoice",
"preraring",
"print",
"client",
"client.photo",
"client.name",
"client.phone",
"client.email",
"client.chat",
"client.call",
"client.statistik",
"additem",
"items",
"items.time",
"items.timer",
"items.photo",
"items.minus",
"items.add",
"items.price",
"items.brand",
"items.address",
"items.modif",
"items.return",
"summary",
"payments",
"commentclient",
"comment",
"commentadd",
"addingridient",
"ingridients",
"insufficient",
"deliveryedite",
"task",
"tasks.add",
"tasks.all",
"files",
"files.add",
"sing",
"folders",
"cancel",
"changestatus",
"dedlinepayment",
"guests",
"items.comment",
"promotions",
"sendtoproduction",
"typeorder"
],
"description": "Native key value from the current Booking workspace."
},
"visible": {
"type": "boolean",
"description": "Native visible value from the current Booking workspace."
}
},
"required": [
"requestId",
"key",
"visible"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"companyId": {
"type": "string",
"description": "Verified current native company."
},
"result": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"description": "Native Booking receipt or hash-bound JSON chunk. Historic completed receipts, current occupancy and provider confirmation are distinct."
}
},
"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"
}
}
]
}
}
}