{ "item": [ { "name": "Plan", "description": "Production plan calculation.\n", "item": [ { "id": "c247bc59-a84e-4c9f-a3b2-b69bea0d9212", "name": "Planning (SYNC)", "request": { "name": "Planning (SYNC)", "description": { "content": "Production plan calculation.", "type": "text/plain" }, "url": { "path": [ "agro", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "auth": null }, "response": [ { "id": "5ddd5768-2454-4c2f-aee6-67affb59744f", "name": "Successful execution", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"69c507e4-7c2a-46fd-a862-a503cf27b1a3\",\n \"client\": \"veeroute_|_example\",\n \"server\": \"Agro:client\",\n \"service\": \"AGRO\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T16:55:35.370332Z\"\n },\n \"project\": [\n {\n \"type\": \"RELOCATE\",\n \"crop_key\": \"bean\",\n \"source\": {\n \"date\": \"2023-09-15\",\n \"target_key\": \"field_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"mass\": 100,\n \"humidity\": 15\n },\n \"destination\": {\n \"date\": \"2023-09-15\",\n \"target_key\": \"factory_1\",\n \"target_type\": \"FACTORY\",\n \"crop_type\": \"DRY\",\n \"mass\": 100,\n \"humidity\": 15\n },\n \"measurements\": {\n \"distance\": 50,\n \"cost\": 4500\n }\n }\n ],\n \"statistics\": {\n \"days_count\": 1,\n \"crops_count\": 1,\n \"fields_count\": 1,\n \"fields_part_count\": 0,\n \"elevators_count\": 1,\n \"factory_count\": 1,\n \"markets_count\": 1,\n \"total_distance\": 1888,\n \"total_cost\": 100.1,\n \"unplanned_crops_count\": 0,\n \"unplanned_fields_count\": 0,\n \"unplanned_elevators_count\": 0,\n \"unplanned_factories_count\": 0,\n \"unplanned_markets_count\": 0\n },\n \"progress\": 100,\n \"info\": {\n \"status\": \"FINISHED_IN_TIME\",\n \"result_version\": 142,\n \"preparing_time\": \"PT1M10S\",\n \"business_validation_time\": \"PT1M10S\",\n \"math_validation_time\": \"PT1M10S\",\n \"waiting_time\": \"PT15S\",\n \"calculation_time\": \"PT1M10S\"\n },\n \"warnings\": []\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "d9fb7234-eb12-42dc-8f35-9cd31d738cba", "name": "Bad request - data contain errors", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"veeroute_|_example\",\n \"server\": \"server_name\",\n \"service\": \"AGRO\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"schema_errors\": [],\n \"logical_errors\": [],\n \"warnings\": []\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "676f7600-24aa-4fab-9e00-17f4946b8d4b", "name": "Unauthorized - token missing or invalid\n", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "cba465ee-4d82-4e1b-9cd1-8c24c7413fed", "name": "Payment Required", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Payment Required", "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "3fce9708-00c3-4b01-8ae5-a7a3ed685aa9", "name": "Not found", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "fdd24d83-1a73-4c78-870a-9ecc68eff983", "name": "Method not allowed, check method (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Method Not Allowed", "code": 405, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "9130483a-5340-41a3-a286-1ab7cee000ec", "name": "Client is unable to process a format of response, check headers\n", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Acceptable", "code": 406, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "ff49184a-8f18-46c7-b5dc-590569ad6373", "name": "Unsupported media type, check headers\n", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Unsupported Media Type", "code": 415, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "7b33eba9-eccb-41f5-9443-c71c785b6300", "name": "Too many requests", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "4f65a06f-ca39-4b38-8a21-5babd08e8757", "name": "Internal server error", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "6c0e4c9c-ffe3-426b-a384-fc3c449cde0f", "name": "Not implemented", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Implemented", "code": 501, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "b904a47b-b7b4-455d-a92b-c736411aec70", "name": "Bad gateway", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Bad Gateway", "code": 502, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "ea3aba91-3964-4288-aae4-a53cc912de96", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Service Unavailable", "code": 503, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "e07633f7-9c74-4761-87c6-89636cd9aa0c", "name": "Gateway timeout", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Gateway Timeout", "code": 504, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "5796d8de-ddc8-46a9-9fe3-bf1aa856a9e5", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [], "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "1dfb56b3-7a38-452b-9a03-9fe7c34a868d", "name": "Planning (ASYNC)", "request": { "name": "Planning (ASYNC)", "description": { "content": "The result can be obtained using the [result](#operation/read_plan_result) method, removing - with [delete](#operation/delete_plan_result).\n", "type": "text/plain" }, "url": { "path": [ "agro", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "auth": null }, "response": [ { "id": "c70efc12-2975-400f-bf49-ddb490ce1e50", "name": "Successful execution", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"id\": \"11111111-2222-3333-4444-555555555555\",\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "31a07eca-c303-42b7-9128-25f6f55d9235", "name": "Bad request - data contain errors", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"veeroute_|_example\",\n \"server\": \"server_name\",\n \"service\": \"AGRO\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"schema_errors\": [],\n \"logical_errors\": [],\n \"warnings\": []\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "cee5f37d-7bd5-4b35-972b-78856730273c", "name": "Unauthorized - token missing or invalid\n", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "d33b8a7d-7699-4f5c-864f-0fa7aabf6abe", "name": "Payment Required", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Payment Required", "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "94e97539-072a-451b-9551-d5bdec45ce61", "name": "Not found", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "eb97b983-08d8-4e04-b285-8a85e5998a42", "name": "Method not allowed, check method (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Method Not Allowed", "code": 405, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "96fd2170-11fe-4f40-a983-6c13bba7bb21", "name": "Client is unable to process a format of response, check headers\n", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Acceptable", "code": 406, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "3f37234a-ab81-4a56-8fc4-95ac7f8148ec", "name": "Unsupported media type, check headers\n", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Unsupported Media Type", "code": 415, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "dc579819-f048-437d-a69c-1932c7a50ef7", "name": "Too many requests", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "b4e3e623-9ac1-47d5-81d4-ace039d6c577", "name": "Internal server error", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "12e76ad9-acc7-45f4-96dd-7247a49ef7fc", "name": "Not implemented", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Implemented", "code": 501, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "73b4547f-25e3-408b-95aa-f78321e98044", "name": "Bad gateway", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Bad Gateway", "code": 502, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "5758ca69-3eba-4e65-9b2b-00b1eb5d480f", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Service Unavailable", "code": 503, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "20d59b60-299f-4c0c-979b-ddbfd5649c90", "name": "Gateway timeout", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Gateway Timeout", "code": 504, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "baf65e44-7daa-499e-b2a0-d0782e5c5139", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [], "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "167c97b7-def7-4fa7-a18d-a83cdb589408", "name": "Calculation state", "request": { "name": "Calculation state", "description": { "content": "Read calculation state by the calculation identifier.", "type": "text/plain" }, "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "type": "any", "value": "11111111-2222-3333-4444-555555555555", "key": "id", "disabled": false, "description": { "content": "(Required) Calculation identifier.", "type": "text/plain" } } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {}, "auth": null }, "response": [ { "id": "50bfbe14-8267-4df1-be77-823eaa55d5ae", "name": "Successful execution", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"progress\": 52,\n \"info\": {\n \"status\": \"FINISHED_IN_TIME\",\n \"result_version\": 133,\n \"preparing_time\": \"PT0S\",\n \"business_validation_time\": \"PT0S\",\n \"math_validation_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"calculation_time\": \"PT0S\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "2090ae96-fed8-454b-8a29-b09ebc01aec4", "name": "Bad request - data contain errors", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"veeroute_|_example\",\n \"server\": \"server_name\",\n \"service\": \"AGRO\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"schema_errors\": [],\n \"logical_errors\": [],\n \"warnings\": []\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "c7f8c41a-0faf-4466-bff7-15a2041091db", "name": "Unauthorized - token missing or invalid\n", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "40e9cc15-fc9c-4cb1-ba9b-7a4d03579cf4", "name": "Payment Required", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Payment Required", "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "4b4a0024-66f9-4025-baa3-4b75a5037867", "name": "Not found", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "13e76275-fdbc-4859-a1e0-4f193960273d", "name": "Method not allowed, check method (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Method Not Allowed", "code": 405, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "2d4165ea-a806-4fc2-bd69-15e24834556f", "name": "Client is unable to process a format of response, check headers\n", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Acceptable", "code": 406, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "99f58829-8369-48d2-be1a-bf4d42d5d4ee", "name": "Unsupported media type, check headers\n", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Unsupported Media Type", "code": 415, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "5f32b2ea-ac83-4a36-9a1c-92dad4f693eb", "name": "Too many requests", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "a1d9b1ee-c4dd-45dd-99d1-f89789ad7e89", "name": "Internal server error", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "1da3da6e-137a-49b2-ab75-862b0c45e0fb", "name": "Not implemented", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Implemented", "code": 501, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "fdfe18eb-b36a-45c6-b73b-3cc5b4eeb7a2", "name": "Bad gateway", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Bad Gateway", "code": 502, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "4440fa5c-a25a-4df7-86f7-07e982c0b77c", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Service Unavailable", "code": 503, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "f9b8726b-91e2-42ef-ab58-74bc03e357b0", "name": "Gateway timeout", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Gateway Timeout", "code": 504, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "a97ba61a-c8cc-4cec-9098-2b7c2c949015", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [], "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "03666d52-809b-4f4c-b563-f8b7427b566b", "name": "Cancel calculation", "request": { "name": "Cancel calculation", "description": { "content": "Cancel calculation process by the calculation identifier.", "type": "text/plain" }, "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "type": "any", "value": "11111111-2222-3333-4444-555555555555", "key": "id", "disabled": false, "description": { "content": "(Required) Calculation identifier.", "type": "text/plain" } } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "DELETE", "body": {}, "auth": null }, "response": [ { "id": "881ffc6d-4d9e-4a06-b0f6-a2150c5bbe03", "name": "Successful execution - calculation has been canceled", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "No Content", "code": 204, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "e26ee22d-51a7-4e98-afc5-8eb514f03bd0", "name": "Bad request - data contain errors", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"veeroute_|_example\",\n \"server\": \"server_name\",\n \"service\": \"AGRO\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"schema_errors\": [],\n \"logical_errors\": [],\n \"warnings\": []\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "92dc8cfc-6b5b-4824-9512-b107b0f8b953", "name": "Unauthorized - token missing or invalid\n", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "3b19d997-0ed6-4d6c-a48d-d13f6215951e", "name": "Payment Required", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Payment Required", "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "41573f81-7250-48cc-afa6-a1b44c231ea1", "name": "Not found", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "13a712fd-8d28-451d-9288-93a12da828ae", "name": "Method not allowed, check method (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Method Not Allowed", "code": 405, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "f6a3c551-c502-430d-8541-83a9c85e4e61", "name": "Client is unable to process a format of response, check headers\n", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Not Acceptable", "code": 406, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "b3d7c7a4-dedc-41a2-a30a-7e60d56bdde0", "name": "Unsupported media type, check headers\n", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Unsupported Media Type", "code": 415, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "a46abce2-46de-409b-9b7d-57b6c6a6b771", "name": "Too many requests", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "b4cce7d6-476c-40cd-8c27-19fd30ae5ff0", "name": "Internal server error", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "5280481d-d92d-4dc6-898d-35630b651537", "name": "Not implemented", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Not Implemented", "code": 501, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "5227680a-e031-4154-acdd-0bb53881d28b", "name": "Bad gateway", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Bad Gateway", "code": 502, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "22727c09-4766-4fae-9176-d132a6188f68", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Service Unavailable", "code": 503, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "47e2b8a2-a60b-452a-a02d-941523061466", "name": "Gateway timeout", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Gateway Timeout", "code": 504, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "8d5cef4b-39cb-448f-a2be-cdc85419c180", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [], "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "d07dba0c-24d8-4ef0-9a71-1d2d27841bbf", "name": "Getting the result", "request": { "name": "Getting the result", "description": { "content": "Getting the result based on the calculation identifier.", "type": "text/plain" }, "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "type": "any", "value": "11111111-2222-3333-4444-555555555555", "key": "id", "disabled": false, "description": { "content": "(Required) Calculation identifier.", "type": "text/plain" } } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {}, "auth": null }, "response": [ { "id": "5fcb94ac-12a9-47f8-9eb1-22c9aeb5d87b", "name": "Successful execution - calculation has been completed.", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"69c507e4-7c2a-46fd-a862-a503cf27b1a3\",\n \"client\": \"veeroute_|_example\",\n \"server\": \"Agro:client\",\n \"service\": \"AGRO\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T16:55:35.370332Z\"\n },\n \"project\": [\n {\n \"type\": \"RELOCATE\",\n \"crop_key\": \"bean\",\n \"source\": {\n \"date\": \"2023-09-15\",\n \"target_key\": \"field_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"mass\": 100,\n \"humidity\": 15\n },\n \"destination\": {\n \"date\": \"2023-09-15\",\n \"target_key\": \"factory_1\",\n \"target_type\": \"FACTORY\",\n \"crop_type\": \"DRY\",\n \"mass\": 100,\n \"humidity\": 15\n },\n \"measurements\": {\n \"distance\": 50,\n \"cost\": 4500\n }\n }\n ],\n \"statistics\": {\n \"days_count\": 1,\n \"crops_count\": 1,\n \"fields_count\": 1,\n \"fields_part_count\": 0,\n \"elevators_count\": 1,\n \"factory_count\": 1,\n \"markets_count\": 1,\n \"total_distance\": 1888,\n \"total_cost\": 100.1,\n \"unplanned_crops_count\": 0,\n \"unplanned_fields_count\": 0,\n \"unplanned_elevators_count\": 0,\n \"unplanned_factories_count\": 0,\n \"unplanned_markets_count\": 0\n },\n \"progress\": 100,\n \"info\": {\n \"status\": \"FINISHED_IN_TIME\",\n \"result_version\": 142,\n \"preparing_time\": \"PT1M10S\",\n \"business_validation_time\": \"PT1M10S\",\n \"math_validation_time\": \"PT1M10S\",\n \"waiting_time\": \"PT15S\",\n \"calculation_time\": \"PT1M10S\"\n },\n \"warnings\": []\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "4484be8e-2201-451c-931f-64bbe1ab19be", "name": "Calculation is in progress.", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Accepted", "code": 202, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"project\": [\n {\n \"type\": \"HARVEST\",\n \"crop_key\": \"crop_key_1\",\n \"source\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"destination\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"measurements\": {\n \"distance\": 200,\n \"cost\": 200\n }\n },\n {\n \"type\": \"HARVEST\",\n \"crop_key\": \"crop_key_1\",\n \"source\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"destination\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"measurements\": {\n \"distance\": 200,\n \"cost\": 200\n }\n },\n {\n \"type\": \"HARVEST\",\n \"crop_key\": \"crop_key_1\",\n \"source\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"destination\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"measurements\": {\n \"distance\": 200,\n \"cost\": 200\n }\n },\n {\n \"type\": \"HARVEST\",\n \"crop_key\": \"crop_key_1\",\n \"source\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"destination\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"measurements\": {\n \"distance\": 200,\n \"cost\": 200\n }\n },\n {\n \"type\": \"HARVEST\",\n \"crop_key\": \"crop_key_1\",\n \"source\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"destination\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"measurements\": {\n \"distance\": 200,\n \"cost\": 200\n }\n },\n {\n \"type\": \"HARVEST\",\n \"crop_key\": \"crop_key_1\",\n \"source\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"destination\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"measurements\": {\n \"distance\": 200,\n \"cost\": 200\n }\n },\n {\n \"type\": \"HARVEST\",\n \"crop_key\": \"crop_key_1\",\n \"source\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"destination\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"measurements\": {\n \"distance\": 200,\n \"cost\": 200\n }\n },\n {\n \"type\": \"HARVEST\",\n \"crop_key\": \"crop_key_1\",\n \"source\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"destination\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"measurements\": {\n \"distance\": 200,\n \"cost\": 200\n }\n },\n {\n \"type\": \"HARVEST\",\n \"crop_key\": \"crop_key_1\",\n \"source\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"destination\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"measurements\": {\n \"distance\": 200,\n \"cost\": 200\n }\n },\n {\n \"type\": \"HARVEST\",\n \"crop_key\": \"crop_key_1\",\n \"source\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"destination\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"measurements\": {\n \"distance\": 200,\n \"cost\": 200\n }\n },\n {\n \"type\": \"HARVEST\",\n \"crop_key\": \"crop_key_1\",\n \"source\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"destination\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"measurements\": {\n \"distance\": 200,\n \"cost\": 200\n }\n },\n {\n \"type\": \"HARVEST\",\n \"crop_key\": \"crop_key_1\",\n \"source\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"destination\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"measurements\": {\n \"distance\": 200,\n \"cost\": 200\n }\n },\n {\n \"type\": \"HARVEST\",\n \"crop_key\": \"crop_key_1\",\n \"source\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"destination\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"measurements\": {\n \"distance\": 200,\n \"cost\": 200\n }\n },\n {\n \"type\": \"HARVEST\",\n \"crop_key\": \"crop_key_1\",\n \"source\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"destination\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"measurements\": {\n \"distance\": 200,\n \"cost\": 200\n }\n },\n {\n \"type\": \"HARVEST\",\n \"crop_key\": \"crop_key_1\",\n \"source\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"destination\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"measurements\": {\n \"distance\": 200,\n \"cost\": 200\n }\n },\n {\n \"type\": \"HARVEST\",\n \"crop_key\": \"crop_key_1\",\n \"source\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"destination\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"measurements\": {\n \"distance\": 200,\n \"cost\": 200\n }\n },\n {\n \"type\": \"HARVEST\",\n \"crop_key\": \"crop_key_1\",\n \"source\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"destination\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"measurements\": {\n \"distance\": 200,\n \"cost\": 200\n }\n },\n {\n \"type\": \"HARVEST\",\n \"crop_key\": \"crop_key_1\",\n \"source\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"destination\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"measurements\": {\n \"distance\": 200,\n \"cost\": 200\n }\n },\n {\n \"type\": \"HARVEST\",\n \"crop_key\": \"crop_key_1\",\n \"source\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"destination\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"measurements\": {\n \"distance\": 200,\n \"cost\": 200\n }\n },\n {\n \"type\": \"HARVEST\",\n \"crop_key\": \"crop_key_1\",\n \"source\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"destination\": {\n \"date\": \"2024-02-05\",\n \"target_key\": \"key_1\",\n \"target_type\": \"FIELD\",\n \"crop_type\": \"DRY\",\n \"humidity\": 180,\n \"mass\": 1200.1,\n \"target_detail_key\": \"storage_1\"\n },\n \"measurements\": {\n \"distance\": 200,\n \"cost\": 200\n }\n }\n ],\n \"statistics\": {\n \"days_count\": 365,\n \"crops_count\": 8,\n \"fields_count\": 217,\n \"fields_part_count\": 222,\n \"elevators_count\": 12,\n \"factory_count\": 25,\n \"markets_count\": 4,\n \"total_distance\": 129000,\n \"total_cost\": 2788900,\n \"unplanned_crops_count\": 222,\n \"unplanned_fields_count\": 2111,\n \"unplanned_elevators_count\": 7333,\n \"unplanned_factories_count\": 231,\n \"unplanned_markets_count\": 123\n },\n \"progress\": 52,\n \"info\": {\n \"status\": \"FINISHED_IN_TIME\",\n \"result_version\": 133,\n \"preparing_time\": \"PT0S\",\n \"business_validation_time\": \"PT0S\",\n \"math_validation_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"calculation_time\": \"PT0S\"\n },\n \"unplanned_items\": {\n \"crop_keys\": [\n \"crop_key_1\"\n ],\n \"field_keys\": [\n \"field_key_1\"\n ],\n \"elevator_keys\": [\n \"elevator_key_1\"\n ],\n \"factory_keys\": [\n \"factory_key_1\"\n ],\n \"market_keys\": [\n \"market_key_1\"\n ]\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "caae5a2e-8ae0-4dcd-96cd-ab6b38b89103", "name": "Bad request - data contain errors", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"veeroute_|_example\",\n \"server\": \"server_name\",\n \"service\": \"AGRO\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"schema_errors\": [],\n \"logical_errors\": [],\n \"warnings\": []\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "0ed375b7-9862-4ae5-8364-407bf7090b39", "name": "Unauthorized - token missing or invalid\n", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "1b1b7082-d19f-4692-8c8b-18ac0b28e0f9", "name": "Payment Required", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Payment Required", "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "2989a9f0-2997-452d-b31e-00117f340688", "name": "Not found", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "5919f537-a727-4576-b948-0a2e33a53a7f", "name": "Method not allowed, check method (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Method Not Allowed", "code": 405, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "48f91478-d8e5-4843-8c0a-5459c43eea6d", "name": "Client is unable to process a format of response, check headers\n", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Acceptable", "code": 406, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "af1f8285-3b15-4945-b998-af21b7bd899c", "name": "Unsupported media type, check headers\n", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Unsupported Media Type", "code": 415, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "36106c26-c0b9-42a9-91aa-dcb7540946f2", "name": "Too many requests", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "06096632-9696-436b-936c-2385a1f5f60e", "name": "Internal server error", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "82cabcc0-402c-46f2-8ff5-5e050b6a14cb", "name": "Not implemented", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Implemented", "code": 501, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "5fc69421-25b8-4fb7-8fd4-f1f1f8673296", "name": "Bad gateway", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Bad Gateway", "code": 502, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "f7359660-614d-4fc0-8389-b63e648bda28", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Service Unavailable", "code": 503, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "c0c5090f-1635-4fc5-a9e5-f44e42396724", "name": "Gateway timeout", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Gateway Timeout", "code": 504, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "55ae1c0c-fa8c-45c0-bba2-dcc88b1b45c8", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [], "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "e02ac292-0414-40b5-a22b-59b5f98b4aa2", "name": "Result removal", "request": { "name": "Result removal", "description": { "content": "Removal of the planning result by the calculation identifier.", "type": "text/plain" }, "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "type": "any", "value": "11111111-2222-3333-4444-555555555555", "key": "id", "disabled": false, "description": { "content": "(Required) Calculation identifier.", "type": "text/plain" } } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "DELETE", "body": {}, "auth": null }, "response": [ { "id": "7cd5bc1b-45cd-45f7-87b7-5c9046d10249", "name": "Successful execution - planning has been deleted", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "No Content", "code": 204, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "de41ab90-27a6-4933-ac35-b1ca43fabb3d", "name": "Bad request - data contain errors", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"veeroute_|_example\",\n \"server\": \"server_name\",\n \"service\": \"AGRO\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"schema_errors\": [],\n \"logical_errors\": [],\n \"warnings\": []\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "a5f10ae6-aeeb-4a55-91ab-88a91a146b9b", "name": "Unauthorized - token missing or invalid\n", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "e3493de8-fd98-4b4a-bbc7-ec15bea0e9e2", "name": "Payment Required", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Payment Required", "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "6676a5d7-ad7c-4f4f-8a6c-ffd10d63a7ff", "name": "Not found", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "b2c54837-c46d-4a95-aaee-6d8e946fd640", "name": "Method not allowed, check method (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Method Not Allowed", "code": 405, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "2d6465d6-cdd2-478f-8e63-b0f70094f1a2", "name": "Client is unable to process a format of response, check headers\n", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Not Acceptable", "code": 406, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "75ea62b4-034f-4f5e-891b-90ee84c8761f", "name": "Unsupported media type, check headers\n", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Unsupported Media Type", "code": 415, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "34901495-6302-4f1a-bc26-678d13c6036f", "name": "Too many requests", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "941e885b-9839-4467-86a9-107266582771", "name": "Internal server error", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "051b8b01-449e-4502-9eff-b42cd4ddd487", "name": "Not implemented", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Not Implemented", "code": 501, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "7a37822a-d006-4fa4-9de3-4953a74c106c", "name": "Bad gateway", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Bad Gateway", "code": 502, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "8f78eed0-92be-4c12-8348-493514c15dbe", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Service Unavailable", "code": 503, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "73928d54-38e7-4de1-91df-c099db13c973", "name": "Gateway timeout", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Gateway Timeout", "code": 504, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "99f2756a-71ec-4882-a901-0c327d634287", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [], "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "e2687f43-7c5c-4272-bc5d-b5c78c38ba86", "name": "Data validation", "request": { "name": "Data validation", "description": { "content": "Checking data before planning.", "type": "text/plain" }, "url": { "path": [ "agro", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "auth": null }, "response": [ { "id": "3d262b3d-4efa-4880-9463-b8da48b4e8d1", "name": "Successful execution", "originalRequest": { "url": { "path": [ "agro", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"warnings\": []\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "12ecafa0-5689-4d41-a7e4-b5bc478ffdbc", "name": "Bad request - data contain errors", "originalRequest": { "url": { "path": [ "agro", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"veeroute_|_example\",\n \"server\": \"server_name\",\n \"service\": \"AGRO\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"schema_errors\": [],\n \"logical_errors\": [],\n \"warnings\": []\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "d1dafea7-7536-428c-8fbe-b0537bb91bcc", "name": "Unauthorized - token missing or invalid\n", "originalRequest": { "url": { "path": [ "agro", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "4b2c6210-6126-4ccd-aaa6-a3bf3ec22b32", "name": "Payment Required", "originalRequest": { "url": { "path": [ "agro", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Payment Required", "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "cc404b38-2523-4b44-bb8d-0ea8a03448c3", "name": "Not found", "originalRequest": { "url": { "path": [ "agro", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "f92e6712-f63d-4910-8b2a-92dede90abbb", "name": "Method not allowed, check method (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "agro", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Method Not Allowed", "code": 405, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "acc631a7-7d00-4d87-9dad-dcb95b835d22", "name": "Client is unable to process a format of response, check headers\n", "originalRequest": { "url": { "path": [ "agro", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Acceptable", "code": 406, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "4e8d5c28-7db2-4aab-b549-b9e9fb6424d2", "name": "Unsupported media type, check headers\n", "originalRequest": { "url": { "path": [ "agro", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Unsupported Media Type", "code": 415, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "589c496c-04d8-42a7-94fa-b9ac30cafb43", "name": "Too many requests", "originalRequest": { "url": { "path": [ "agro", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "f0446caf-c6ca-4108-8c9e-b4baa03d9e51", "name": "Internal server error", "originalRequest": { "url": { "path": [ "agro", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "d2f50e16-1b7a-4225-ae01-5c1b54bfebae", "name": "Not implemented", "originalRequest": { "url": { "path": [ "agro", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Implemented", "code": 501, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "fe172646-63ae-4829-ba0b-60f8f074808d", "name": "Bad gateway", "originalRequest": { "url": { "path": [ "agro", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Bad Gateway", "code": 502, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "d9eb716a-85e9-4868-89da-71199b21794a", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Service Unavailable", "code": 503, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "454424e0-e4a4-4f50-8e52-58199ca28876", "name": "Gateway timeout", "originalRequest": { "url": { "path": [ "agro", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Gateway Timeout", "code": 504, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "ca2c0a98-d012-4c1e-98f9-31ebacdd68ba", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [], "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "9d123362-2806-4547-b3f3-9e955462e1cb", "name": "Clipping (SYNC)", "request": { "name": "Clipping (SYNC)", "description": { "content": "Data clipping.", "type": "text/plain" }, "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { "content": "Data clipping strategy.", "type": "text/plain" }, "key": "clip_strategy", "value": "CROP_WITH_TRANSIT_ELEVATORS" } ], "variable": [ { "type": "any", "value": "crop_key_1", "key": "clip_key", "disabled": false, "description": { "content": "(Required) Target essence key.", "type": "text/plain" } } ] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "auth": null }, "response": [ { "id": "2c357302-cce5-4f5c-acf3-51b5c5591703", "name": "Successful execution", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { "content": "Data clipping strategy.", "type": "text/plain" }, "key": "clip_strategy", "value": "CROP_WITH_TRANSIT_ELEVATORS" } ], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "836e4063-5c6f-4fac-868c-db9dcaed3e8a", "name": "Bad request - data contain errors", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { "content": "Data clipping strategy.", "type": "text/plain" }, "key": "clip_strategy", "value": "CROP_WITH_TRANSIT_ELEVATORS" } ], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"veeroute_|_example\",\n \"server\": \"server_name\",\n \"service\": \"AGRO\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"schema_errors\": [],\n \"logical_errors\": [],\n \"warnings\": []\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "ba4a8bba-4bbc-400b-9504-cebf1906223c", "name": "Unauthorized - token missing or invalid\n", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { "content": "Data clipping strategy.", "type": "text/plain" }, "key": "clip_strategy", "value": "CROP_WITH_TRANSIT_ELEVATORS" } ], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "d596a3b5-77df-499d-bed8-c9139a382a92", "name": "Payment Required", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { "content": "Data clipping strategy.", "type": "text/plain" }, "key": "clip_strategy", "value": "CROP_WITH_TRANSIT_ELEVATORS" } ], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Payment Required", "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "106701f4-4918-4f4b-a5c5-51ec660bcf3a", "name": "Not found", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { "content": "Data clipping strategy.", "type": "text/plain" }, "key": "clip_strategy", "value": "CROP_WITH_TRANSIT_ELEVATORS" } ], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "5bdd6723-3b75-47f0-929f-c7fc1e000e60", "name": "Method not allowed, check method (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { "content": "Data clipping strategy.", "type": "text/plain" }, "key": "clip_strategy", "value": "CROP_WITH_TRANSIT_ELEVATORS" } ], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Method Not Allowed", "code": 405, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "45dd24ff-8b8e-43cd-9dd5-74b3de81e319", "name": "Client is unable to process a format of response, check headers\n", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { "content": "Data clipping strategy.", "type": "text/plain" }, "key": "clip_strategy", "value": "CROP_WITH_TRANSIT_ELEVATORS" } ], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Acceptable", "code": 406, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "aadfba7f-c405-4293-860f-fe810d7a2be1", "name": "Unsupported media type, check headers\n", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { "content": "Data clipping strategy.", "type": "text/plain" }, "key": "clip_strategy", "value": "CROP_WITH_TRANSIT_ELEVATORS" } ], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Unsupported Media Type", "code": 415, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "20942105-5ace-4edc-8353-7d9c45562ed8", "name": "Too many requests", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { "content": "Data clipping strategy.", "type": "text/plain" }, "key": "clip_strategy", "value": "CROP_WITH_TRANSIT_ELEVATORS" } ], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "d3c845e3-7f00-4865-9c94-8ead69875132", "name": "Internal server error", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { "content": "Data clipping strategy.", "type": "text/plain" }, "key": "clip_strategy", "value": "CROP_WITH_TRANSIT_ELEVATORS" } ], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "0a6cf4d0-6f9a-4741-8bc6-452b2b996fa8", "name": "Not implemented", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { "content": "Data clipping strategy.", "type": "text/plain" }, "key": "clip_strategy", "value": "CROP_WITH_TRANSIT_ELEVATORS" } ], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Implemented", "code": 501, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "885543c8-bb56-4698-b70d-63be08595c08", "name": "Bad gateway", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { "content": "Data clipping strategy.", "type": "text/plain" }, "key": "clip_strategy", "value": "CROP_WITH_TRANSIT_ELEVATORS" } ], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Bad Gateway", "code": 502, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "6febe082-c47d-42c5-8fac-dc3eac886ef8", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { "content": "Data clipping strategy.", "type": "text/plain" }, "key": "clip_strategy", "value": "CROP_WITH_TRANSIT_ELEVATORS" } ], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Service Unavailable", "code": 503, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "e1d6ec36-5b04-4484-9fa9-38ab3d3dc274", "name": "Gateway timeout", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { "content": "Data clipping strategy.", "type": "text/plain" }, "key": "clip_strategy", "value": "CROP_WITH_TRANSIT_ELEVATORS" } ], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Gateway Timeout", "code": 504, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "99a9d74e-9e54-43d0-8e81-74645988b815", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": false, "description": { "content": "Data clipping strategy.", "type": "text/plain" }, "key": "clip_strategy", "value": "CROP_WITH_TRANSIT_ELEVATORS" } ], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"crops\": [\n {\n \"key\": \"bean\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [],\n \"attributes\": [\n {\n \"key\": \"full_name\",\n \"value\": \"Бобы сои\"\n }\n ]\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_1\",\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-04\",\n \"to\": \"2023-01-05\"\n },\n \"humidity\": 170\n }\n ],\n \"amount\": 5000,\n \"attributes\": [\n {\n \"key\": \"full_number\",\n \"value\": \"57-4-6-130-227\"\n }\n ]\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_1\",\n \"gate\": {\n \"key\": \"gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 100\n }\n ]\n },\n \"dryers\": [\n {\n \"key\": \"dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 5000\n }\n ]\n }\n ]\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-06\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 4100\n }\n ]\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_1\",\n \"type\": \"trench\",\n \"deployment_cost\": 1888,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-07-15\"\n },\n \"capacity\": 50000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_1\",\n \"gate\": {\n \"key\": \"factory_gate_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_capacity_forecast\": []\n },\n \"dryers\": [\n {\n \"key\": \"factory_dryer_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"bean\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"productivity\": 2700\n }\n ]\n }\n ]\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-10\"\n },\n \"capacity\": 5000\n }\n ]\n }\n ],\n \"consumers\": [\n {\n \"key\": \"factory_line_1\",\n \"crop_key\": \"bean\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-05\",\n \"to\": \"2023-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2023-01-12\",\n \"to\": \"2023-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-12\"\n },\n \"min_stock_days\": 2\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_1\",\n \"contracts\": [\n {\n \"key\": \"contract_1\",\n \"type\": \"BUY\",\n \"target_keys\": [\n \"elevator_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 280\n }\n ]\n }\n ]\n },\n {\n \"key\": \"contract_2\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"bean\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2023-01-01\",\n \"to\": \"2023-01-15\"\n },\n \"price\": 320\n }\n ]\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 100,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"field_1\",\n \"destination_key\": \"elevator_1\",\n \"distance\": 70,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"factory_1\",\n \"distance\": 40,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"elevator_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n },\n {\n \"source_key\": \"factory_1\",\n \"destination_key\": \"market_1\",\n \"distance\": 5,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"bean\",\n \"humidity\": 50,\n \"target_key\": \"field_1\",\n \"target_detail_key\": null,\n \"amount\": 4990\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-01-01\",\n \"end_date\": \"2023-01-15\",\n \"transport_capacity\": 23\n },\n \"calculation_settings\": {\n \"result_ttl\": \"PT20M\",\n \"treat_warnings_as_errors\": false\n }\n }\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [], "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } } ] }, { "name": "System", "description": "System functions.\nAuxiliary functionality common to all services.\n", "item": [ { "id": "92bb134b-ddfd-4feb-a8f2-47a3ad882123", "name": "Checking the availability", "request": { "name": "Checking the availability", "description": { "content": "Checking the service availability.", "type": "text/plain" }, "url": { "path": [ "agro", "system", "check" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {}, "auth": null }, "response": [ { "id": "b2afaec2-51fb-4238-873e-ce66b9c8bbe5", "name": "Successful execution", "originalRequest": { "url": { "path": [ "agro", "system", "check" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"health\": 0.999\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "9aadec8d-553f-4a6d-8fac-d7aadc89d10b", "name": "Not found", "originalRequest": { "url": { "path": [ "agro", "system", "check" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "fd2db67f-e9c4-4b94-a8af-5495f41445ed", "name": "Method not allowed, check method (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "agro", "system", "check" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Method Not Allowed", "code": 405, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "b707ed2f-4170-4c04-9c75-b70c8e3dc520", "name": "Client is unable to process a format of response, check headers\n", "originalRequest": { "url": { "path": [ "agro", "system", "check" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Acceptable", "code": 406, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "f953c223-cdd8-48d2-8dca-dbee9a41e987", "name": "Unsupported media type, check headers\n", "originalRequest": { "url": { "path": [ "agro", "system", "check" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Unsupported Media Type", "code": 415, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "0d730f13-f247-4402-b414-da94ffd9f650", "name": "Too many requests", "originalRequest": { "url": { "path": [ "agro", "system", "check" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "817d6899-1279-4110-ad38-9b42255f5af2", "name": "Internal server error", "originalRequest": { "url": { "path": [ "agro", "system", "check" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "69b04e9a-5126-4755-9fd3-14cc4cef65cf", "name": "Not implemented", "originalRequest": { "url": { "path": [ "agro", "system", "check" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Implemented", "code": 501, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "680d793c-7bb4-47d0-8439-606b8c939231", "name": "Bad gateway", "originalRequest": { "url": { "path": [ "agro", "system", "check" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Bad Gateway", "code": 502, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "a07e0655-5dc9-402f-a582-bebd6e3b013e", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "system", "check" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Service Unavailable", "code": 503, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "f38c4754-d522-4623-95e9-9854500f406c", "name": "Gateway timeout", "originalRequest": { "url": { "path": [ "agro", "system", "check" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Gateway Timeout", "code": 504, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "8f2f8da1-f7b9-4847-9bc5-90267ecda99f", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "system", "check" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [], "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "9c0d6ac5-1d58-429e-9ebe-f5cc3e0e3eb3", "name": "Getting the service version", "request": { "name": "Getting the service version", "description": { "content": "Getting the service version.", "type": "text/plain" }, "url": { "path": [ "agro", "system", "version" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {}, "auth": null }, "response": [ { "id": "c8d4a00a-5a14-4203-bd84-166f74dd25a8", "name": "Successful execution", "originalRequest": { "url": { "path": [ "agro", "system", "version" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"major\": 4,\n \"minor\": 4,\n \"build\": \"1754RC\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "01537105-ac0f-4b5f-be7f-a281135440c6", "name": "Not found", "originalRequest": { "url": { "path": [ "agro", "system", "version" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "4eaf302d-fca5-47d6-ae66-c691ea52aa06", "name": "Method not allowed, check method (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "agro", "system", "version" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Method Not Allowed", "code": 405, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "de8183d2-21b2-4e70-86a6-b9edae614c9b", "name": "Client is unable to process a format of response, check headers\n", "originalRequest": { "url": { "path": [ "agro", "system", "version" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Acceptable", "code": 406, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "a4fca183-a847-4981-bd86-f0180a2873ae", "name": "Unsupported media type, check headers\n", "originalRequest": { "url": { "path": [ "agro", "system", "version" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Unsupported Media Type", "code": 415, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "37865de2-9edd-4cdf-a8cd-9f0a8b11cc1a", "name": "Too many requests", "originalRequest": { "url": { "path": [ "agro", "system", "version" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "6e53609e-1d1b-4299-bedc-84bbdb2f6147", "name": "Internal server error", "originalRequest": { "url": { "path": [ "agro", "system", "version" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "ac3b71ac-9240-490e-8d55-8447847db09b", "name": "Not implemented", "originalRequest": { "url": { "path": [ "agro", "system", "version" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Implemented", "code": 501, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "89c52bc5-6893-4232-b9fd-29d389fba97c", "name": "Bad gateway", "originalRequest": { "url": { "path": [ "agro", "system", "version" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Bad Gateway", "code": 502, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "8c254780-cdfe-4382-8e65-fbf7e99c33e8", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "system", "version" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Service Unavailable", "code": 503, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "bd320fe6-7c80-4aa2-9912-08940ea2d439", "name": "Gateway timeout", "originalRequest": { "url": { "path": [ "agro", "system", "version" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Gateway Timeout", "code": 504, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "bc3ea22a-d169-4648-9416-03e054e4da26", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "system", "version" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [], "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "d262b1bc-1333-4a12-99a5-16cd0c61891c", "name": "Getting the documentation", "request": { "name": "Getting the documentation", "description": { "content": "Getting the file with this service documentation.", "type": "text/plain" }, "url": { "path": [ "agro", "file", ":filename" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "type": "any", "value": "file_en.html", "key": "filename", "disabled": false, "description": { "content": "(Required) File name.", "type": "text/plain" } } ] }, "header": [ { "key": "Accept", "value": "text/html" } ], "method": "GET", "body": {}, "auth": null }, "response": [ { "id": "610579a8-d79e-49fd-801c-f098944896a0", "name": "Successful execution", "originalRequest": { "url": { "path": [ "agro", "file", ":filename" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "text/html" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "text/html" } ], "body": "est", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "8b49341d-0d7d-4721-bdcc-c5ed2c43677d", "name": "Not found", "originalRequest": { "url": { "path": [ "agro", "file", ":filename" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "b6402132-c32d-49fe-a400-08dc4ae3c87a", "name": "Method not allowed, check method (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "agro", "file", ":filename" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Method Not Allowed", "code": 405, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "291cd3e7-9194-4320-9145-17bcf53258d3", "name": "Client is unable to process a format of response, check headers\n", "originalRequest": { "url": { "path": [ "agro", "file", ":filename" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Acceptable", "code": 406, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "0512e939-faa0-4cb7-a522-9cc4cff9d37d", "name": "Unsupported media type, check headers\n", "originalRequest": { "url": { "path": [ "agro", "file", ":filename" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Unsupported Media Type", "code": 415, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "e855dd0b-b6b3-442c-8fb2-766f8cae3288", "name": "Too many requests", "originalRequest": { "url": { "path": [ "agro", "file", ":filename" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "d17071ec-23ab-42b8-9b4a-a83c1ec585c4", "name": "Internal server error", "originalRequest": { "url": { "path": [ "agro", "file", ":filename" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-02-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "127b1946-a5cb-4a8c-a162-feee06c47e37", "name": "Not implemented", "originalRequest": { "url": { "path": [ "agro", "file", ":filename" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Implemented", "code": 501, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "d89c8925-e105-4fba-9561-a508b3ea0080", "name": "Bad gateway", "originalRequest": { "url": { "path": [ "agro", "file", ":filename" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Bad Gateway", "code": 502, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "5e0882a1-a2f0-42c6-ab78-95cb775d2086", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "file", ":filename" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Service Unavailable", "code": 503, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "66f6cdf7-ca2f-4670-b714-4730d5b1da0c", "name": "Gateway timeout", "originalRequest": { "url": { "path": [ "agro", "file", ":filename" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Gateway Timeout", "code": 504, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "80c8c037-d51a-4aea-a21b-02a45e2c8d26", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "file", ":filename" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [], "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } } ] } ], "auth": { "type": "bearer", "bearer": [ { "type": "any", "value": "{{bearerToken}}", "key": "token" } ] }, "event": [], "variable": [ { "key": "baseUrl", "value": "https://api.edge.veeroute.tech" } ], "info": { "_postman_id": "1481224e-7e04-4887-b58b-6cc801f7249e", "name": "VRt.Agro [AG]", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description": { "content": "Veeroute Agro API.\n\n# Description\n\nThe service is designed to calculate the work plan of production facilities.\n\n## Objects overview\n\n![objects](../images/agro_objects.svg)\n\n### Field\n\n- produces a certain crop of a certain moisture content\n- products from the field can only be moved to the Elevator or Factory\n\n### Elevator\n\n- consists of Gates, Dryers, short-term and long-term storage areas\n- dries the grain (if the moisture content of the crop is more than acceptable)\n- stores dry grain in short-term storage places (warehouses), while unloading and loading grain is allowed within one day\n- stores dry grain in long-term storage places (sleeves, trenches, mounds)\n- when stored in one storage, only one type of culture can be located\n- sells surplus grain to the Market\n- production processes inside the facility: drying, loading / unloading to a storage location, storage\n\n### Factory\n\n- consists of Gates, Dryers, Bunkers, Consumers\n- [if drying is present] dries the grain (if the moisture content of the crop is more than allowed)\n- stores dry grain in Bunkers (short-term storage tied to a specific crop)\n- maintains a minimum supply of grain for consumption in the Bunkers\n- Consumes grain from Bunkers\n- buys the missing grain from the Market\n- production processes inside the facility: drying, loading / unloading to a storage location, storage, consumption\n\n### Market\n\n- buys grain from elevators\n- sells grain to factories\n\n## Project\n\nThe project reflects the planned sequence of operations on agricultural crops, the types of operations are described below.\n\n### HARVEST\n\nCrop harvesting:\n\n- between production facilities (Field and Elevator or Field)\n- the operation takes place within one day\n- on the Field there is a determination of grain moisture\n\n| | Object (target_key) | Subobject (target_detail_key) |\n|-------------|---------------------|-------------------------------|\n| Source | Field | - |\n| Destination | Elevator or Factory | Gate |\n\n### DRY\n\nDrying culture:\n\n- inside the production facility (Elevator or Field)\n- duration of the operation - days\n- during the drying process, the mass and type of humidity changes (WET -> DRY)\n- the source indicates the mass of raw culture\n- in the appointment, the resulting mass of dry culture is indicated\n\n| | Object (target_key) | Subobject (target_detail_key) |\n|-------------|---------------------|-------------------------------|\n| Source | Elevator or Factory | Gate |\n| Destination | Elevator or Factory | Dryer |\n\n### LOAD\n\nLoading culture from the Gate to the Storage Location (long-term, short-term, silo):\n\n- between parts of one production facility (Elevator or Field)\n- the operation takes place within one day\n\n| | Object (target_key) | Subobject (target_detail_key) |\n|-------------|---------------------|--------------------------------------------------|\n| Source | Elevator or Factory | Gate or Dryer |\n| Destination | Elevator or Factory | Storage location (long-term, short-term, bunker) |\n\n### UNLOAD\n\nUnloading the culture from the storage place to the gate:\n\n- between parts of one production facility (Elevator)\n- the operation takes place within one day\n\n| | Object (target_key) | Subobject (target_detail_key) |\n|-------------|---------------------|--------------------------------------------------|\n| Source | Elevator | Storage location (long-term, short-term, bunker) |\n| Destination | Elevator | Gate |\n\n### STORE\n\nCulture storage:\n\n- the operation takes place within one day\n- storage location does not change\n\n| | Object (target_key) | Subobject (target_detail_key) |\n|-------------|---------------------|--------------------------------------------------|\n| Source | Elevator or Factory | Storage location (long-term, short-term, bunker) |\n| Destination | Elevator or Factory | The same storage location |\n\n### RELOCATE\n\nTransportation between production facilities:\n\n- between production facilities (Elevator and Field)\n- the operation takes place within one day\n\n| | Object (target_key) | Subobject (target_detail_key) |\n|-------------|---------------------|-------------------------------|\n| Source | Elevator | Gate |\n| Destination | Factory | Gate |\n\n### CONSUMPTION\n\nField crop consumption:\n\n- between parts of one production facility (Field)\n- the operation takes place within one day\n- consumption comes from the Bunker\n- in addition, we can consume directly from the Gate or Dryer without laying in the Bunker\n\n| | Object (target_key) | Subobject (target_detail_key) |\n|-------------|---------------------|-------------------------------|\n| Source | Factory | Hopper or Gate or Dryer |\n| Destination | Factory | Consumer |\n\n### SELL\n\nSale of culture:\n\n- between production facilities (Elevator and Market)\n- the operation takes place within one day\n\n| | Object (target_key) | Subobject (target_detail_key) |\n|-------------|---------------------|-------------------------------|\n| Source | Elevator | Gate |\n| Destination | Market | Contract |\n\n### BUY\n\nBuying culture:\n\n- between production facilities (Market and Factory)\n- the operation takes place within one day\n\n| | Object (target_key) | Subobject (target_detail_key) |\n|-------------|---------------------|-------------------------------|\n| Source | Market | Contract |\n| Destination | Factory | Gate |\n\n## Entity relationship diagram\n\n![erd](../uml/agro.svg)\n\n\nContact Support:\n Name: Veeroute Support Team\n Email: servicedesk@veeroute.com", "type": "text/plain" } } }