Report production
INFO
Каждый ответ приходит в общем конверте — code, message, messages, status_code, time — а полезная нагрузка лежит в data. Таблицы ниже описывают содержимое data.
POST /reports/production/by-product
Manufacturing output aggregated by product.
Тело запроса
| Поле | Тип | Обязательно | Описание |
|---|---|---|---|
page | number | Да | По умолчанию: 1 |
limit | number | Да | По умолчанию: 20 |
date_from | string (date-time) | Нет | Start of the reporting window. |
date_to | string (date-time) | Нет | End of the reporting window. |
organization_ids | string[] | Нет | |
warehouse_ids | string[] | Нет | |
currency_id | string | Нет | |
responsible_ids | string[] | Нет | |
customer_ids | string[] | Нет | |
supplier_ids | string[] | Нет | |
product_ids | string[] | Нет | |
category_ids | string[] | Нет | |
payment_method_ids | string[] | Нет | |
sort_by | string | Нет | Field name to sort by. |
sort_order | string | Нет | Допустимые значения: asc, desc. По умолчанию: "desc" |
search | string | Нет |
json
{
"page": 1,
"limit": 20,
"date_from": "2025-05-01T12:00:00Z",
"date_to": "2025-05-01T12:00:00Z",
"organization_ids": [
"64b7f4d9e2b3b6a0b7c5d80a"
],
"warehouse_ids": [
"string"
],
"currency_id": "string",
"responsible_ids": [
"string"
],
"customer_ids": [
"string"
],
"supplier_ids": [
"string"
],
"product_ids": [
"string"
],
"category_ids": [
"string"
],
"payment_method_ids": [
"string"
],
"sort_by": "string",
"sort_order": "asc",
"search": "string"
}Ответ
| Поле | Тип | Описание |
|---|---|---|
list | object[] | |
total | number |
json
{
"code": 0,
"message": "Success",
"status_code": 200,
"data": {
"list": [
{}
],
"total": 0
},
"time": "2025-05-01T12:00:00Z"
}POST /reports/production/by-responsible
Manufacturing output aggregated by responsible user.
Тело запроса
| Поле | Тип | Обязательно | Описание |
|---|---|---|---|
page | number | Да | По умолчанию: 1 |
limit | number | Да | По умолчанию: 20 |
date_from | string (date-time) | Нет | Start of the reporting window. |
date_to | string (date-time) | Нет | End of the reporting window. |
organization_ids | string[] | Нет | |
warehouse_ids | string[] | Нет | |
currency_id | string | Нет | |
responsible_ids | string[] | Нет | |
customer_ids | string[] | Нет | |
supplier_ids | string[] | Нет | |
product_ids | string[] | Нет | |
category_ids | string[] | Нет | |
payment_method_ids | string[] | Нет | |
sort_by | string | Нет | Field name to sort by. |
sort_order | string | Нет | Допустимые значения: asc, desc. По умолчанию: "desc" |
search | string | Нет |
json
{
"page": 1,
"limit": 20,
"date_from": "2025-05-01T12:00:00Z",
"date_to": "2025-05-01T12:00:00Z",
"organization_ids": [
"64b7f4d9e2b3b6a0b7c5d80a"
],
"warehouse_ids": [
"string"
],
"currency_id": "string",
"responsible_ids": [
"string"
],
"customer_ids": [
"string"
],
"supplier_ids": [
"string"
],
"product_ids": [
"string"
],
"category_ids": [
"string"
],
"payment_method_ids": [
"string"
],
"sort_by": "string",
"sort_order": "asc",
"search": "string"
}Ответ
Структура ответа совпадает с POST /reports/production/by-product.
POST /reports/production/by-responsible-and-product
Manufacturing output aggregated by (responsible, product) pair.
Тело запроса
| Поле | Тип | Обязательно | Описание |
|---|---|---|---|
page | number | Да | По умолчанию: 1 |
limit | number | Да | По умолчанию: 20 |
date_from | string (date-time) | Нет | Start of the reporting window. |
date_to | string (date-time) | Нет | End of the reporting window. |
organization_ids | string[] | Нет | |
warehouse_ids | string[] | Нет | |
currency_id | string | Нет | |
responsible_ids | string[] | Нет | |
customer_ids | string[] | Нет | |
supplier_ids | string[] | Нет | |
product_ids | string[] | Нет | |
category_ids | string[] | Нет | |
payment_method_ids | string[] | Нет | |
sort_by | string | Нет | Field name to sort by. |
sort_order | string | Нет | Допустимые значения: asc, desc. По умолчанию: "desc" |
search | string | Нет |
json
{
"page": 1,
"limit": 20,
"date_from": "2025-05-01T12:00:00Z",
"date_to": "2025-05-01T12:00:00Z",
"organization_ids": [
"64b7f4d9e2b3b6a0b7c5d80a"
],
"warehouse_ids": [
"string"
],
"currency_id": "string",
"responsible_ids": [
"string"
],
"customer_ids": [
"string"
],
"supplier_ids": [
"string"
],
"product_ids": [
"string"
],
"category_ids": [
"string"
],
"payment_method_ids": [
"string"
],
"sort_by": "string",
"sort_order": "asc",
"search": "string"
}Ответ
Структура ответа совпадает с POST /reports/production/by-product.
POST /reports/production/recommended-to-be-used
Recommended raw-materials to use for upcoming production based on stock + open orders.
Тело запроса
| Поле | Тип | Обязательно | Описание |
|---|---|---|---|
page | number | Да | По умолчанию: 1 |
limit | number | Да | По умолчанию: 20 |
date_from | string (date-time) | Нет | Start of the reporting window. |
date_to | string (date-time) | Нет | End of the reporting window. |
organization_ids | string[] | Нет | |
warehouse_ids | string[] | Нет | |
currency_id | string | Нет | |
responsible_ids | string[] | Нет | |
customer_ids | string[] | Нет | |
supplier_ids | string[] | Нет | |
product_ids | string[] | Нет | |
category_ids | string[] | Нет | |
payment_method_ids | string[] | Нет | |
sort_by | string | Нет | Field name to sort by. |
sort_order | string | Нет | Допустимые значения: asc, desc. По умолчанию: "desc" |
search | string | Нет |
json
{
"page": 1,
"limit": 20,
"date_from": "2025-05-01T12:00:00Z",
"date_to": "2025-05-01T12:00:00Z",
"organization_ids": [
"64b7f4d9e2b3b6a0b7c5d80a"
],
"warehouse_ids": [
"string"
],
"currency_id": "string",
"responsible_ids": [
"string"
],
"customer_ids": [
"string"
],
"supplier_ids": [
"string"
],
"product_ids": [
"string"
],
"category_ids": [
"string"
],
"payment_method_ids": [
"string"
],
"sort_by": "string",
"sort_order": "asc",
"search": "string"
}Ответ
Структура ответа совпадает с POST /reports/production/by-product.
Эта страница сгенерирована из спецификации OpenAPI.