Финансы · Чтение
Финансы · Список · Касса · Смены
finance_list_cash_shifts
Попробуйте три запроса
Получить данные
- Вы указываетеФилиал
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Финансы / Список / Касса / Смены» выполни чтение по выбранной записи (филиал). Выведи кратко: список позиций, следующее смещение.
- items
- Список позиций
- nextOffset
- Следующее смещение
- hasMore
- Продолжение
Следующая страница
- Вы указываетеПредыдущий ответ
- ПомощникПродолжение
- Вы получаетеСледующая страница
Запрос в чат
Продолжи «Финансы / Список / Касса / Смены» с позиции прошлого ответа. Сохрани фильтры и размер страницы 3. Покажи новые строки отдельно.
Страница 1До 3 строк
Страница 2Продолжение
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Финансы / Список / Касса / Смены» объясни список позиций, следующее смещение. Отметь отсутствующие значения.
- items
- Список позиций
- nextOffset
- Следующее смещение
- hasMore
- Продолжение
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании. При постраничном чтении используйте продолжение ответа с теми же фильтрами.
Описание разработчика
Find cash register shifts. Use to discover canonical identifiers or inspect existing records. Do not use to create or modify records. Returns a bounded page of safe business summaries. Optional number and opening-interval filters are applied by the database before pagination. Sort by opening time or display number, descending. This does not open, close or reconcile a cash shift. Use the returned IDs unchanged in matching actions; no business state changes.
Параметры запроса
- id
- Идентификатор выбранной записи. необязательно · string · до символов 128
- locationId
- Идентификатор точки из текущего подключения. необязательно · string · до символов 128
- limit
- Максимальное число элементов на этой странице. обязательно по схеме · integer · по умолчанию 20 · минимум 1 · максимум 50
- offset
- Смещение из предыдущей страницы или начальное значение из схемы. обязательно по схеме · integer · по умолчанию 0 · минимум 0 · максимум 10000
- sortBy
- Sort descending by opening time (the existing default) or stored cash-shift display number. Equal sort values have no guaranteed relative order; this is an offset page, not an immutable snapshot. обязательно по схеме · string · по умолчанию "openedAt" · варианты openedAt, number
- number
- Optional exact stored cash-shift display number. Numbers can repeat across establishments; use the returned canonical id to identify one shift. необязательно · integer · минимум -2147483648 · максимум 2147483647
- openedFrom
- Inclusive lower bound on the recorded opening instant. Supply Z or an explicit UTC offset; comparisons preserve up to microsecond precision. Omit for no lower bound. необязательно · string
- openedBefore
- Exclusive upper bound on the recorded opening instant. Supply Z or an explicit UTC offset; must be after openedFrom when both are present. Omit for no upper bound. необязательно · string
Что вернёт команда
- items
- Записи, которые вернул этот запрос. обязательно по схеме · array · до элементов 50
- nextOffset
- Смещение для получения следующей страницы. обязательно по схеме · integer / null
- hasMore
- Есть ли ещё одна страница результата. обязательно по схеме · boolean
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[^\\u0000-\\u001f\\u007f/|]+$",
"description": "Canonical find cash register shifts identifier returned by search. Copy the exact value; never derive it from a name, phone number, or another ID."
},
"locationId": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"pattern": "^[^\\u0000-\\u001f\\u007f/|]+$",
"description": "Canonical establishment identifier returned by search. Copy the exact value; never derive it from a name, phone number, or another ID."
},
"limit": {
"default": 20,
"description": "Maximum returned records, from 1 to 50.",
"type": "integer",
"minimum": 1,
"maximum": 50
},
"offset": {
"default": 0,
"description": "Number of records to skip in the same search. Use nextOffset from the previous result with unchanged filters.",
"type": "integer",
"minimum": 0,
"maximum": 10000
},
"sortBy": {
"default": "openedAt",
"description": "Sort descending by opening time (the existing default) or stored cash-shift display number. Equal sort values have no guaranteed relative order; this is an offset page, not an immutable snapshot.",
"type": "string",
"enum": [
"openedAt",
"number"
]
},
"number": {
"description": "Optional exact stored cash-shift display number. Numbers can repeat across establishments; use the returned canonical id to identify one shift.",
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"openedFrom": {
"description": "Inclusive lower bound on the recorded opening instant. Supply Z or an explicit UTC offset; comparisons preserve up to microsecond precision. Omit for no lower bound.",
"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)))$"
},
"openedBefore": {
"description": "Exclusive upper bound on the recorded opening instant. Supply Z or an explicit UTC offset; must be after openedFrom when both are present. Omit for no upper bound.",
"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)))$"
}
},
"required": [
"limit",
"offset",
"sortBy"
],
"additionalProperties": false
}Выход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"items": {
"maxItems": 50,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"description": "Canonical find cash register shifts record identifier. Use only with actions for this same entity type."
},
"number": {
"description": "Stored cash shift display number.",
"type": [
"number",
"null"
]
},
"openedAt": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"description": "Cash shift opening time."
},
"closedAt": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"description": "Cash shift closing time, or null while open."
},
"cash": {
"description": "Recorded cash total; no currency conversion is performed.",
"type": [
"number",
"null"
]
},
"locationIds": {
"type": "array",
"items": {
"type": "string",
"description": "Canonical authorized establishment identifier."
},
"description": "Only establishments visible to this connection."
}
},
"required": [
"id",
"number",
"openedAt",
"closedAt",
"cash",
"locationIds"
],
"additionalProperties": false
},
"description": "Matching authorized business records, with internal fields removed."
},
"nextOffset": {
"anyOf": [
{
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
{
"type": "null"
}
],
"description": "Offset for the next page, or null when there is no next page."
},
"hasMore": {
"type": "boolean",
"description": "Whether the same search has another page."
}
},
"required": [
"items",
"nextOffset",
"hasMore"
],
"additionalProperties": false
}