Расписание · Чтение
Расписание · Цены · Список
schedule_prices_list
Попробуйте три запроса
Получить данные
- Вы указываетеРасписание
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Расписание / Цены / Список» выполни чтение по выбранной записи (расписание). Выведи кратко: расписание, версия записи.
- scheduleId
- Расписание
- revision
- Версия записи
- total
- Итог
Следующая страница
- Вы указываетеПредыдущий ответ
- ПомощникПродолжение
- Вы получаетеСледующая страница
Запрос в чат
Продолжи «Расписание / Цены / Список» с позиции прошлого ответа. Сохрани фильтры и размер страницы 3. Покажи новые строки отдельно.
Страница 1До 3 строк
Страница 2Продолжение
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Расписание / Цены / Список» объясни расписание, версия записи. Отметь отсутствующие значения.
- scheduleId
- Расписание
- revision
- Версия записи
- total
- Итог
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании. Прочитайте актуальную версию записи перед подготовкой запроса. При постраничном чтении используйте продолжение ответа с теми же фильтрами.
Описание разработчика
Read all native Schedule price intervals in revision-bound pages, including lists longer than 100. Keep the first revision on every subsequent page. This does not change prices or infer availability.
Параметры запроса
- scheduleId
- Exact native Schedule ID. обязательно по схеме · string · до символов 128
- offset
- Смещение из предыдущей страницы или начальное значение из схемы. обязательно по схеме · integer · по умолчанию 0 · минимум 0 · максимум 100000
- limit
- Максимальное число элементов на этой странице. обязательно по схеме · integer · по умолчанию 50 · минимум 1 · максимум 50
- expectedRevision
- Версия, прочитанная перед изменением. необязательно · string
Что вернёт команда
- scheduleId
- Native Schedule ID. обязательно по схеме · string · до символов 128
- revision
- Current Schedule revision shared by every page. обязательно по схеме · string
- total
- Общее количество по правилам этого действия. обязательно по схеме · integer · минимум 0 · максимум 9007199254740991
- items
- Записи, которые вернул этот запрос. обязательно по схеме · array · до элементов 50
- nextOffset
- Смещение для получения следующей страницы. обязательно по схеме · integer / null
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"scheduleId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_~:@+.-]+$",
"description": "Exact native Schedule ID."
},
"offset": {
"default": 0,
"description": "First zero-based price index; use nextOffset to continue.",
"type": "integer",
"minimum": 0,
"maximum": 100000
},
"limit": {
"default": 50,
"description": "Number of native prices to return, from 1 to 50.",
"type": "integer",
"minimum": 1,
"maximum": 50
},
"expectedRevision": {
"description": "Revision from the first page; later pages reject concurrent Schedule changes.",
"type": "string",
"pattern": "^\\d{1,12}:\\d{1,9}$"
}
},
"required": [
"scheduleId",
"offset",
"limit"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"scheduleId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[A-Za-z0-9_~:@+.-]+$",
"description": "Native Schedule ID."
},
"revision": {
"type": "string",
"pattern": "^\\d{1,12}:\\d{1,9}$",
"description": "Current Schedule revision shared by every page."
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Complete number of native prices, including entries beyond the current page."
},
"items": {
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"index": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Stable array index at this revision."
},
"value": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"description": "Native Price.id.",
"type": "string",
"maxLength": 2000
},
"price": {
"description": "Native Price.price.",
"type": "number"
},
"start": {
"description": "Native Price.start. ISO 8601 with timezone; stored as a timestamp.",
"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)))$"
},
"finish": {
"description": "Native Price.finish. ISO 8601 with timezone; stored as a timestamp.",
"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)))$"
},
"comment": {
"description": "Native Price.comment.",
"type": "string",
"maxLength": 12000
},
"source": {
"description": "Native Price.source.",
"type": "string",
"maxLength": 2000
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Typed native Price fields, or null for a malformed legacy item."
},
"fieldError": {
"description": "Type error for a malformed legacy item, without its stored value.",
"type": [
"string",
"null"
]
}
},
"required": [
"index",
"value",
"fieldError"
],
"additionalProperties": false
},
"description": "One bounded page; no entries outside it are omitted from the total."
},
"nextOffset": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
],
"description": "Next offset at this revision, or null after the last entry."
}
},
"required": [
"scheduleId",
"revision",
"total",
"items",
"nextOffset"
],
"additionalProperties": false
}