{ "_type": "export", "__export_format": 4, "__export_date": "2024-10-14T11:09:51.909Z", "__export_source": "insomnia.importers:v0.1.0", "resources": [ { "_type": "workspace", "_id": "__WORKSPACE_ID__", "parentId": null, "name": "VRt.Agro [AG] 7.9.2527", "description": "Программный интерфейс для Veeroute Agro.\n\n# Описание\n\nСервис предназначен для расчета плана работ производственных объектов.\n\n## Общая схема\n\n![objects](../images/agro_objects.svg)\n\n### Поле\n\n- производит определенную сельскохозяйственную культуру определенной влажности\n- продукция с поля может перемещаться только на Элеватор или Завод\n\n### Элеватор (Ток)\n\n- состоит из Ворот, Сушилок, краткосрочных и долгосрочных мест хранения\n- сушит зерно (если влажность культуры больше допустимой)\n- хранит сухое зерно в краткосрочных местах хранения (складах), при этом допускается выгрузка и загрузка зерна в рамках одних суток\n- хранит сухое зерно в долгосрочных местах хранения (рукавах, траншеях, курганах)\n- при хранении в одном хранилище может находится только один вид культуры\n- продает излишки зерна на Рынок\n- производственные процессы внутри объекта: сушка, загрузка/выгрузка в место хранения, хранение\n\n### Завод\n\n- состоит из Ворот, Сушилок, Бункеров, Потребителей\n- [если присутствует сушка] сушит зерно (если влажность культуры больше допустимой)\n- хранит сухое зерно в Бункерах (краткосрочное хранилище, привязанное к определенной культуре)\n- поддерживает в Бункерах минимальный запас зерна для потребления\n- потребляет зерно из Бункеров\n- закупает недостающее зерно с Рынка\n- производственные процессы внутри объекта: сушка, загрузка/выгрузка в место хранения, хранение, потребление\n\n### Рынок\n\n- закупает зерно у Элеваторов\n- продает зерно Заводам\n\n## Проект\n\nПроект отражает запланированную последовательность операций над сельскохозяйственными культурами, ниже описаны типы операций.\n\n### HARVEST\n\nУборка сельскохозяйственной культуры:\n\n- между производственными объектами (Полем и Элеватором или Заводом)\n- операция происходит внутри одного дня\n- на Поле происходит определение влажности зерна\n\n| | Объект (target_key) | Подобъект (target_detail_key) |\n|--------------------------|---------------------|-------------------------------|\n| Источник (source) | Поле | - |\n| Назначение (destination) | Элеватор или Завод | Ворота |\n\n### DRY\n\nСушка культуры:\n\n- внутри производственного объекта (Элеватора или Завода)\n- длительность операции - сутки\n- в процессе сушки меняется масса и тип влажности (WET -> DRY)\n- в источнике указывается масса сырой культуры\n- в назначении указывается полученная масса сухой культуры\n\n| | Объект (target_key) | Подобъект (target_detail_key) |\n|--------------------------|---------------------|-------------------------------|\n| Источник (source) | Элеватор или Завод | Ворота |\n| Назначение (destination) | Элеватор или Завод | Сушилка |\n\n### LOAD\n\nЗагрузка культуры с Ворот в Место хранения (долгосрочное, краткосрочное, бункер):\n\n- между частями одного производственного объекта (Элеватора или Завода)\n- операция происходит внутри одного дня\n\n| | Объект (target_key) | Подобъект (target_detail_key) |\n|--------------------------|---------------------|------------------------------------------------------|\n| Источник (source) | Элеватор или Завод | Ворота или Сушилка |\n| Назначение (destination) | Элеватор или Завод | Место хранения (долгосрочное, краткосрочное, бункер) |\n\n### UNLOAD\n\nВыгрузка культуры из места хранения на Ворота:\n\n- между частями одного производственного объекта (Элеватора)\n- операция происходит внутри одного дня\n\n| | Объект (target_key) | Подобъект (target_detail_key) |\n|--------------------------|---------------------|------------------------------------------------------------------|\n| Источник (source) | Элеватор | Место хранения (долгосрочное, краткосрочное, бункер) или Сушилка |\n| Назначение (destination) | Элеватор | Ворота |\n\n### STORE\n\nХранение культуры:\n\n- место хранения не меняется\n- длительность операции - сутки\n- операция происходит через ночь\n\n| | Объект (target_key) | Подобъект (target_detail_key) |\n|--------------------------|---------------------|------------------------------------------------------|\n| Источник (source) | Элеватор или Завод | Место хранения (долгосрочное, краткосрочное, бункер) |\n| Назначение (destination) | Элеватор или Завод | То же самое место хранения |\n\n### RELOCATE\n\nПеревозка между производственными объектами:\n\n- между производственными объектами (Элеватором и Заводом)\n- операция происходит внутри одного дня\n\n| | Объект (target_key) | Подобъект (target_detail_key) |\n|--------------------------|---------------------|-------------------------------|\n| Источник (source) | Элеватор | Ворота |\n| Назначение (destination) | Завод | Ворота |\n\n### CONSUMPTION\n\nПотребление культуры заводом:\n\n- между частями одного производственного объекта (Завода)\n- операция происходит внутри одного дня\n- потребление идет из Бункера\n- дополнительно можем потреблять прямо с Ворот или Сушилки без закладки в Бункер\n\n| | Объект (target_key) | Подобъект (target_detail_key) |\n|--------------------------|---------------------|-------------------------------|\n| Источник (source) | Завод | Бункер или Ворота или Сушилка |\n| Назначение (destination) | Завод | Потребитель |\n\n### SELL\n\nПродажа культуры:\n\n- между производственными объектами (Элеватором и Рынком)\n- операция происходит внутри одного дня\n\n| | Объект (target_key) | Подобъект (target_detail_key) |\n|--------------------------|---------------------|-------------------------------|\n| Источник (source) | Элеватор | Ворота |\n| Назначение (destination) | Рынок | Контракт |\n\n### BUY\n\nПокупка культуры:\n\n- между производственными объектами (Рынком и Заводом)\n- операция происходит внутри одного дня\n\n| | Объект (target_key) | Подобъект (target_detail_key) |\n|--------------------------|---------------------|-------------------------------|\n| Источник (source) | Рынок | Контракт |\n| Назначение (destination) | Завод | Ворота |\n\n## Диаграмма сущностей\n\n![erd](../uml/agro.svg)\n" }, { "parentId": "__WORKSPACE_ID__", "name": "Base environment", "data": { "base_url": "{{ scheme }}://{{ host }}{{ base_path }}" }, "_type": "environment", "_id": "__BASE_ENVIRONMENT_ID__" }, { "parentId": "__BASE_ENVIRONMENT_ID__", "name": "OpenAPI env", "data": { "scheme": "https", "base_path": "", "host": "api.edge7.veeroute.cloud", "bearerToken": "bearerToken" }, "_type": "environment", "_id": "env___BASE_ENVIRONMENT_ID___sub" }, { "parentId": "__WORKSPACE_ID__", "name": "Plan", "environment": {}, "_id": "fld___WORKSPACE_ID__ae2f98a0", "_type": "request_group", "description": "Расчет производственного плана. \n" }, { "parentId": "__WORKSPACE_ID__", "name": "System", "environment": {}, "_id": "fld___WORKSPACE_ID__bc0792d8", "_type": "request_group", "description": "Системные функции.\nВспомогательный функционал, общий для всех сервисов.\n" }, { "parentId": "fld___WORKSPACE_ID__ae2f98a0", "name": "Планирование (SYNC)", "url": "{{ base_url }}/agro/plan/calculation", "body": { "mimeType": "application/json", "text": "{\n \"crops\": [\n {\n \"key\": \"crop_key_1\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [\n \"trench\"\n ],\n \"attributes\": []\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_key_1\",\n \"crop_key\": \"crop_key_1\",\n \"amount\": 200,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"humidity\": 180\n }\n ],\n \"attributes\": []\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_key_1\",\n \"gate\": {\n \"key\": \"gate_key_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"input_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n },\n \"dryers\": [\n {\n \"key\": \"dryer_key_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"productivity\": 200\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_key_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_key_1\",\n \"type\": \"trench\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"deployment_cost\": 100,\n \"collapse_cost\": 100,\n \"attributes\": []\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_key_1\",\n \"gate\": {\n \"key\": \"gate_key_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"input_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n },\n \"dryers\": [\n {\n \"key\": \"dryer_key_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"productivity\": 200\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n }\n ],\n \"consumers\": [\n {\n \"key\": \"consumer_key_1\",\n \"crop_key\": \"crop_key_1\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"min_stock_days\": 14\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_key_1\",\n \"contracts\": [\n {\n \"key\": \"contract_key_1\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"price\": 2000\n }\n ],\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"source_key_1\",\n \"destination_key\": \"destination_key_1\",\n \"distance\": 20,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"humidity\": 180,\n \"target_key\": \"target_key_1\",\n \"target_detail_key\": \"storage_key_1\",\n \"amount\": 250\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2024-11-15\",\n \"end_date\": \"2024-11-22\",\n \"transport_capacity\": 12\n },\n \"calculation_settings\": {\n \"max_calculation_time\": \"PT12M35S\",\n \"max_waiting_time\": \"PT2H\",\n \"result_ttl\": \"PT4M30S\",\n \"result_timezone\": 3,\n \"treat_warnings_as_errors\": true,\n \"precision\": 1\n }\n },\n \"dataset_name\": \"custom_dataset_one\"\n}" }, "parameters": [], "headers": [], "authentication": { "type": "bearer", "token": "{{bearerToken}}", "prefix": "" }, "_type": "request", "_id": "req___WORKSPACE_ID__4e407bdd", "method": "POST" }, { "parentId": "fld___WORKSPACE_ID__ae2f98a0", "name": "Планирование (ASYNC)", "url": "{{ base_url }}/agro/plan/calculation-async", "body": { "mimeType": "application/json", "text": "{\n \"crops\": [\n {\n \"key\": \"crop_key_1\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [\n \"trench\"\n ],\n \"attributes\": []\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_key_1\",\n \"crop_key\": \"crop_key_1\",\n \"amount\": 200,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"humidity\": 180\n }\n ],\n \"attributes\": []\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_key_1\",\n \"gate\": {\n \"key\": \"gate_key_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"input_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n },\n \"dryers\": [\n {\n \"key\": \"dryer_key_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"productivity\": 200\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_key_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_key_1\",\n \"type\": \"trench\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"deployment_cost\": 100,\n \"collapse_cost\": 100,\n \"attributes\": []\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_key_1\",\n \"gate\": {\n \"key\": \"gate_key_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"input_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n },\n \"dryers\": [\n {\n \"key\": \"dryer_key_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"productivity\": 200\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n }\n ],\n \"consumers\": [\n {\n \"key\": \"consumer_key_1\",\n \"crop_key\": \"crop_key_1\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"min_stock_days\": 14\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_key_1\",\n \"contracts\": [\n {\n \"key\": \"contract_key_1\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"price\": 2000\n }\n ],\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"source_key_1\",\n \"destination_key\": \"destination_key_1\",\n \"distance\": 20,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"humidity\": 180,\n \"target_key\": \"target_key_1\",\n \"target_detail_key\": \"storage_key_1\",\n \"amount\": 250\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2024-11-15\",\n \"end_date\": \"2024-11-22\",\n \"transport_capacity\": 12\n },\n \"calculation_settings\": {\n \"max_calculation_time\": \"PT12M35S\",\n \"max_waiting_time\": \"PT2H\",\n \"result_ttl\": \"PT4M30S\",\n \"result_timezone\": 3,\n \"treat_warnings_as_errors\": true,\n \"precision\": 1\n }\n },\n \"dataset_name\": \"custom_dataset_one\"\n}" }, "parameters": [], "headers": [], "authentication": { "type": "bearer", "token": "{{bearerToken}}", "prefix": "" }, "_type": "request", "_id": "req___WORKSPACE_ID__d1e027a5", "method": "POST" }, { "parentId": "fld___WORKSPACE_ID__ae2f98a0", "name": "Отмена расчета", "url": "{{ base_url }}/agro/plan/calculation-async/{{ process_code }}", "body": {}, "parameters": [], "headers": [], "authentication": { "type": "bearer", "token": "{{bearerToken}}", "prefix": "" }, "_type": "request", "_id": "req___WORKSPACE_ID__c1eac7ff", "method": "DELETE" }, { "parentId": "fld___WORKSPACE_ID__ae2f98a0", "name": "Состояние расчета", "url": "{{ base_url }}/agro/plan/state/{{ process_code }}", "body": {}, "parameters": [], "headers": [], "authentication": { "type": "bearer", "token": "{{bearerToken}}", "prefix": "" }, "_type": "request", "_id": "req___WORKSPACE_ID__255ddc2b", "method": "GET" }, { "parentId": "fld___WORKSPACE_ID__ae2f98a0", "name": "Получение результата", "url": "{{ base_url }}/agro/plan/result/{{ process_code }}", "body": {}, "parameters": [], "headers": [], "authentication": { "type": "bearer", "token": "{{bearerToken}}", "prefix": "" }, "_type": "request", "_id": "req___WORKSPACE_ID__b69d5280", "method": "GET" }, { "parentId": "fld___WORKSPACE_ID__ae2f98a0", "name": "Удаление результата", "url": "{{ base_url }}/agro/plan/result/{{ process_code }}", "body": {}, "parameters": [], "headers": [], "authentication": { "type": "bearer", "token": "{{bearerToken}}", "prefix": "" }, "_type": "request", "_id": "req___WORKSPACE_ID__9faba70f", "method": "DELETE" }, { "parentId": "fld___WORKSPACE_ID__ae2f98a0", "name": "Валидация данных", "url": "{{ base_url }}/agro/plan/validation", "body": { "mimeType": "application/json", "text": "{\n \"crops\": [\n {\n \"key\": \"crop_key_1\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [\n \"trench\"\n ],\n \"attributes\": []\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_key_1\",\n \"crop_key\": \"crop_key_1\",\n \"amount\": 200,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"humidity\": 180\n }\n ],\n \"attributes\": []\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_key_1\",\n \"gate\": {\n \"key\": \"gate_key_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"input_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n },\n \"dryers\": [\n {\n \"key\": \"dryer_key_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"productivity\": 200\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_key_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_key_1\",\n \"type\": \"trench\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"deployment_cost\": 100,\n \"collapse_cost\": 100,\n \"attributes\": []\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_key_1\",\n \"gate\": {\n \"key\": \"gate_key_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"input_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n },\n \"dryers\": [\n {\n \"key\": \"dryer_key_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"productivity\": 200\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n }\n ],\n \"consumers\": [\n {\n \"key\": \"consumer_key_1\",\n \"crop_key\": \"crop_key_1\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"min_stock_days\": 14\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_key_1\",\n \"contracts\": [\n {\n \"key\": \"contract_key_1\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"price\": 2000\n }\n ],\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"source_key_1\",\n \"destination_key\": \"destination_key_1\",\n \"distance\": 20,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"humidity\": 180,\n \"target_key\": \"target_key_1\",\n \"target_detail_key\": \"storage_key_1\",\n \"amount\": 250\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2024-11-15\",\n \"end_date\": \"2024-11-22\",\n \"transport_capacity\": 12\n },\n \"calculation_settings\": {\n \"max_calculation_time\": \"PT12M35S\",\n \"max_waiting_time\": \"PT2H\",\n \"result_ttl\": \"PT4M30S\",\n \"result_timezone\": 3,\n \"treat_warnings_as_errors\": true,\n \"precision\": 1\n }\n },\n \"dataset_name\": \"custom_dataset_one\"\n}" }, "parameters": [], "headers": [], "authentication": { "type": "bearer", "token": "{{bearerToken}}", "prefix": "" }, "_type": "request", "_id": "req___WORKSPACE_ID__f2c4729b", "method": "POST" }, { "parentId": "fld___WORKSPACE_ID__ae2f98a0", "name": "Обрезка (SYNC)", "url": "{{ base_url }}/agro/plan/clip/{{ clip_key }}", "body": { "mimeType": "application/json", "text": "{\n \"crops\": [\n {\n \"key\": \"crop_key_1\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [\n \"trench\"\n ],\n \"attributes\": []\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_key_1\",\n \"crop_key\": \"crop_key_1\",\n \"amount\": 200,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"humidity\": 180\n }\n ],\n \"attributes\": []\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_key_1\",\n \"gate\": {\n \"key\": \"gate_key_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"input_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n },\n \"dryers\": [\n {\n \"key\": \"dryer_key_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"productivity\": 200\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_key_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_key_1\",\n \"type\": \"trench\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"deployment_cost\": 100,\n \"collapse_cost\": 100,\n \"attributes\": []\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_key_1\",\n \"gate\": {\n \"key\": \"gate_key_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"input_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n },\n \"dryers\": [\n {\n \"key\": \"dryer_key_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"productivity\": 200\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n }\n ],\n \"consumers\": [\n {\n \"key\": \"consumer_key_1\",\n \"crop_key\": \"crop_key_1\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"min_stock_days\": 14\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_key_1\",\n \"contracts\": [\n {\n \"key\": \"contract_key_1\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"price\": 2000\n }\n ],\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-11-15\",\n \"to\": \"2024-11-22\"\n },\n \"capacity\": 2000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"source_key_1\",\n \"destination_key\": \"destination_key_1\",\n \"distance\": 20,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"humidity\": 180,\n \"target_key\": \"target_key_1\",\n \"target_detail_key\": \"storage_key_1\",\n \"amount\": 250\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2024-11-15\",\n \"end_date\": \"2024-11-22\",\n \"transport_capacity\": 12\n },\n \"calculation_settings\": {\n \"max_calculation_time\": \"PT12M35S\",\n \"max_waiting_time\": \"PT2H\",\n \"result_ttl\": \"PT4M30S\",\n \"result_timezone\": 3,\n \"treat_warnings_as_errors\": true,\n \"precision\": 1\n }\n },\n \"dataset_name\": \"custom_dataset_one\"\n}" }, "parameters": [ { "name": "clip_strategy", "disabled": true, "value": "CROP_WITH_TRANSIT_ELEVATORS" } ], "headers": [], "authentication": { "type": "bearer", "token": "{{bearerToken}}", "prefix": "" }, "_type": "request", "_id": "req___WORKSPACE_ID__579ac6a3", "method": "POST" }, { "parentId": "fld___WORKSPACE_ID__bc0792d8", "name": "Проверка доступности", "url": "{{ base_url }}/agro/system/check", "body": {}, "parameters": [], "headers": [], "authentication": {}, "_type": "request", "_id": "req___WORKSPACE_ID__d56d9853", "method": "GET" }, { "parentId": "fld___WORKSPACE_ID__bc0792d8", "name": "Получение версии сервиса", "url": "{{ base_url }}/agro/system/version", "body": {}, "parameters": [], "headers": [], "authentication": {}, "_type": "request", "_id": "req___WORKSPACE_ID__c692273d", "method": "GET" }, { "parentId": "fld___WORKSPACE_ID__bc0792d8", "name": "Получение документации", "url": "{{ base_url }}/agro/file/{{ filename }}", "body": {}, "parameters": [], "headers": [], "authentication": {}, "_type": "request", "_id": "req___WORKSPACE_ID__971c419d", "method": "GET" } ] }