Бронирование · Чтение
Бронирование · Обзор
booking_workspace_overview
Попробуйте три запроса
Получить данные
- Вы указываетеОбъект
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Бронирование / Обзор» выполни чтение в текущей компании. Выведи кратко: companyId, результат.
- companyId
- Поле ответа
- result
- Результат
Следующая страница
- Вы указываетеПредыдущий ответ
- ПомощникПродолжение
- Вы получаетеСледующая страница
Запрос в чат
Продолжи «Бронирование / Обзор» с позиции прошлого ответа. Сохрани фильтры и размер страницы 256. Покажи новые строки отдельно.
Страница 1До 256 строк
Страница 2Продолжение
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Бронирование / Обзор» объясни companyId, результат. Отметь отсутствующие значения.
- companyId
- Поле ответа
- result
- Результат
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании. При постраничном чтении используйте продолжение ответа с теми же фильтрами.
Описание разработчика
Calculate the exact published Booking Overview model on the current native calendar: saved booking value, occupancy, ADR/RevPAR, arrivals/departures, channels, objects, staff/tasks and previous-period comparisons. Filter by dates, objects, unit, channel and status. Use one fixed asOf for every hash-bound chunk. These are current booking analytics, not bank receipts, historical sales or proof of actual check-in.
Параметры запроса
- start
- Native start value from the current Booking workspace. обязательно по схеме · string
- end
- Native end value from the current Booking workspace. обязательно по схеме · string
- objectIds
- Native objectIds value from the current Booking workspace. обязательно по схеме · array · по умолчанию [] · до элементов 1000
- unit
- Native unit value from the current Booking workspace. обязательно по схеме · string · по умолчанию "all" · варианты all, nights, hours, minutes
- channel
- Native channel value from the current Booking workspace. обязательно по схеме · string · по умолчанию "all" · до символов 120
- status
- Native status value from the current Booking workspace. обязательно по схеме · string · по умолчанию "all" · варианты all, confirmed, pending, completed, cancelled
- asOf
- Fixed evaluation time for this snapshot and every continuation chunk. This is current saved booking data, not historical accounting. обязательно по схеме · string
- offset
- Смещение из предыдущей страницы или начальное значение из схемы. обязательно по схеме · integer · по умолчанию 0 · минимум 0 · максимум 9007199254740991
- limit
- Максимальное число элементов на этой странице. обязательно по схеме · integer · по умолчанию 10000 · минимум 256 · максимум 10000
- expectedHash
- Контрольное значение из предыдущего чтения. необязательно · string
Что вернёт команда
- 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": {
"start": {
"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 start value from the current Booking workspace."
},
"end": {
"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 end value from the current Booking workspace."
},
"objectIds": {
"default": [],
"description": "Native objectIds value from the current Booking workspace.",
"maxItems": 1000,
"type": "array",
"items": {
"type": "string",
"pattern": "^(?!\\.{1,2}$)[A-Za-z0-9_~:@+.-]{1,128}$"
}
},
"unit": {
"default": "all",
"description": "Native unit value from the current Booking workspace.",
"type": "string",
"enum": [
"all",
"nights",
"hours",
"minutes"
]
},
"channel": {
"default": "all",
"description": "Native channel value from the current Booking workspace.",
"type": "string",
"maxLength": 120
},
"status": {
"default": "all",
"description": "Native status value from the current Booking workspace.",
"type": "string",
"enum": [
"all",
"confirmed",
"pending",
"completed",
"cancelled"
]
},
"asOf": {
"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": "Fixed evaluation time for this snapshot and every continuation chunk. This is current saved booking data, not historical accounting."
},
"offset": {
"default": 0,
"description": "Native offset value from the current Booking workspace.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"default": 10000,
"description": "Native limit value from the current Booking workspace.",
"type": "integer",
"minimum": 256,
"maximum": 10000
},
"expectedHash": {
"description": "Native expectedHash value from the current Booking workspace.",
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"required": [
"start",
"end",
"objectIds",
"unit",
"channel",
"status",
"asOf",
"offset",
"limit"
],
"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"
}
}
]
}
}
}