Заказы · Чтение
Заказы · Счета · Предпросмотр
orders_workspace_bills_preview
Попробуйте три запроса
Получить данные
- Вы указываетеЗаказ
- ПомощникЧтение
- Вы получаетеПоля ответа
Запрос в чат
Для задачи «Заказы / Счета / Предпросмотр» выполни чтение по выбранной записи (заказ). Выведи кратко: companyId, результат.
- companyId
- Поле ответа
- result
- Результат
Следующая страница
- Вы указываетеПредыдущий ответ
- ПомощникПродолжение
- Вы получаетеСледующая страница
Запрос в чат
Продолжи «Заказы / Счета / Предпросмотр» с позиции прошлого ответа. Сохрани фильтры и размер страницы 3. Покажи новые строки отдельно.
Страница 1До 3 строк
Страница 2Продолжение
Разобрать ответ
- Вы указываетеПолученный ответ
- ПомощникРазбор значений
- Вы получаетеКраткое пояснение
Запрос в чат
На основании уже полученного ответа «Заказы / Счета / Предпросмотр» объясни companyId, результат. Отметь отсутствующие значения.
- companyId
- Поле ответа
- result
- Результат
Как работает действие
Это чтение. Выберите запись или задайте фильтры в доступной компании. При постраничном чтении используйте продолжение ответа с теми же фильтрами.
Описание разработчика
Native Order Workspace bills_preview. Uses the same current company handlers and permissions as order-web.web.app. Read every hash-bound chunk and follow any native pagination. Saved configuration, queued work and provider confirmation are distinct. Recover uncertain writes with orders_workspace_get_operation and the original request ID.
Параметры запроса
- orderId
- Идентификатор выбранного заказа. обязательно по схеме · string
- expectedVersion
- Native expectedVersion value. Resolve existing identifiers and read the current native state before changes. обязательно по схеме · integer · минимум 0 · максимум 9007199254740991
- plan
- Native plan value. Resolve existing identifiers and read the current native state before changes. обязательно по схеме · object
- offset
- Смещение из предыдущей страницы или начальное значение из схемы. обязательно по схеме · integer · по умолчанию 0 · минимум 0 · максимум 9007199254740991
- limit
- Максимальное число элементов на этой странице. обязательно по схеме · integer · по умолчанию 10000 · минимум 1 · максимум 10000
- expectedHash
- Контрольное значение из предыдущего чтения. необязательно · string
Что вернёт команда
- companyId
- Verified current native company. обязательно по схеме · string
- result
- Native operation receipt or hash-bound result chunk. Queued, completed and provider-confirmed states have distinct meanings. обязательно по схеме · object
Поля и технические схемы

Вход · JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"orderId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$",
"description": "Native orderId value. Resolve existing identifiers and read the current native state before changes."
},
"expectedVersion": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991,
"description": "Native expectedVersion value. Resolve existing identifiers and read the current native state before changes."
},
"plan": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean",
"description": "Native enabled value. Resolve existing identifiers and read the current native state before changes."
},
"bills": {
"minItems": 2,
"maxItems": 8,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$",
"description": "Native id value. Resolve existing identifiers and read the current native state before changes."
},
"number": {
"type": "integer",
"minimum": 1,
"maximum": 99,
"description": "Native number value. Resolve existing identifiers and read the current native state before changes."
},
"name": {
"default": "",
"description": "Native name value. Resolve existing identifiers and read the current native state before changes.",
"type": "string",
"maxLength": 80
},
"lines": {
"maxItems": 500,
"type": "array",
"items": {
"type": "object",
"properties": {
"lineId": {
"type": "string",
"pattern": "^[A-Za-z0-9_~:@+.-]{1,160}$",
"description": "Native lineId value. Resolve existing identifiers and read the current native state before changes."
},
"quantity": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Native quantity value. Resolve existing identifiers and read the current native state before changes."
}
},
"required": [
"lineId",
"quantity"
],
"additionalProperties": false
},
"description": "Native lines value. Resolve existing identifiers and read the current native state before changes."
}
},
"required": [
"id",
"number",
"name",
"lines"
],
"additionalProperties": false
},
"description": "Native bills value. Resolve existing identifiers and read the current native state before changes."
}
},
"required": [
"enabled",
"bills"
],
"additionalProperties": false,
"description": "Native plan value. Resolve existing identifiers and read the current native state before changes."
},
"offset": {
"default": 0,
"description": "Native offset value. Resolve existing identifiers and read the current native state before changes.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"limit": {
"default": 10000,
"description": "Native limit value. Resolve existing identifiers and read the current native state before changes.",
"type": "integer",
"minimum": 1,
"maximum": 10000
},
"expectedHash": {
"description": "Native expectedHash value. Resolve existing identifiers and read the current native state before changes.",
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"required": [
"orderId",
"expectedVersion",
"plan",
"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 operation receipt or hash-bound result chunk. Queued, completed and provider-confirmed states have distinct meanings."
}
},
"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"
}
}
]
}
}
}