{ "item": [ { "name": "Plan", "description": "Production plan calculation.\n", "item": [ { "id": "b7057a8d-1195-444d-b98d-822b334d9e9e", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "841b6759-6141-495d-a415-0122a36e96d8", "name": "Calculation completed successfully", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"example_username\",\n \"company\": \"example_company\",\n \"env\": \"edge7\",\n \"pod\": \"aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee\",\n \"service\": \"AGRO\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-11-21T16:55:35.370332Z\"\n },\n \"project\": [\n {\n \"type\": \"RELOCATE\",\n \"crop_key\": \"bean\",\n \"source\": {\n \"date\": \"2024-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\": \"2024-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 \"calculation_progress\": 100,\n \"calculation_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": "08c34196-52f3-4c74-b831-99acf701cfac", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"example_username\",\n \"company\": \"example_company\",\n \"env\": \"edge7\",\n \"pod\": \"aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee\",\n \"service\": \"AGRO\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-11-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": "eef11a5c-f841-4e25-a4ca-f2c50f462328", "name": "Unauthorized - incorrect authorization details, token is missing or invalid", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "f12a9419-67f5-43a6-9345-eab24cda594f", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "52e0bd34-01d3-4d5c-9439-541c606fe287", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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_key\": \"resource_key\",\n \"detail\": {\n \"tracedata\": {\n \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "af6e43a2-b4b6-424f-a3c1-e8af6705ec0d", "name": "Method not allowed, check method (POST, GET, ...)", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "a340797a-0467-4c9f-88f5-72c394d50da4", "name": "Client is unable to process a format of response, check headers", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "96da3bd0-1765-46a7-b866-5bd0df32ea10", "name": "Unsupported media type, check headers", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "fdcd7faa-4e67-4614-835b-039bfd97aa59", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "5c9f918e-884b-4a4f-9570-14d347fc3b6b", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "dd7711ad-7e1c-4a09-8b30-fcf899d4e052", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "3fc2a0a5-4f58-4074-8470-736a8700497b", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "7c9adccc-2602-4233-a2ca-7268974e3eb7", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "fc3461f9-3d17-4d1c-ac94-6085e13e885b", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "eb7fb328-189d-4a89-bff6-1a73d77d52a3", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "21f7c47c-5864-4650-8c5a-3f0f583a7258", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "6eb081b6-f376-47b6-a1b3-1ae1dfaa089e", "name": "The calculation was successfully added to the queue", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"process_code\": \"11111111-2222-3333-4444-555555555555\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "b48913b8-5251-4918-b8a6-f2fa198af59a", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"example_username\",\n \"company\": \"example_company\",\n \"env\": \"edge7\",\n \"pod\": \"aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee\",\n \"service\": \"AGRO\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-11-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": "e73b5023-e2a6-4dc1-ba90-e6e5a0a2307f", "name": "Unauthorized - incorrect authorization details, token is missing or invalid", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "74da20d1-5a96-45f3-9170-fcf8e946ac2c", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "c815e53f-668c-4974-97d5-4dd0182e9e66", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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_key\": \"resource_key\",\n \"detail\": {\n \"tracedata\": {\n \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "0c5c8550-a472-4fc3-81a9-64fa07ee3793", "name": "Method not allowed, check method (POST, GET, ...)", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "a448cef6-2614-4389-b8ce-c416321467e5", "name": "Client is unable to process a format of response, check headers", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "85ad4597-0148-4972-9685-79449d6f2052", "name": "Unsupported media type, check headers", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "d10e3bf1-3bcd-49c5-98e9-16d7019f986d", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "8bf495e9-f4f7-4c46-809d-eeda3fcd31d5", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "98ebd522-b343-4f81-8873-170353f5bd28", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "2e283a17-1017-4a23-8fcf-b1c33842f484", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "e726d0e3-dc1c-4878-8c30-d5edd5a39c28", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "49c61ca0-489e-4654-8a1f-207c8c4598f4", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "39fc7ca1-4cf3-40c2-9ad1-aa1179af9c38", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "a317ab30-277c-4e59-b35b-2b66b293f990", "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", ":process_code" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "type": "any", "value": "11111111-2222-3333-4444-555555555555", "key": "process_code", "disabled": false, "description": { "content": "(Required) Unique process identifier.", "type": "text/plain" } } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "DELETE", "body": {}, "auth": null }, "response": [ { "id": "25a4b777-2070-45ed-bc13-6a79d6a964d0", "name": "Calculation successfully canceled", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation-async", ":process_code" ], "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": "3b7bde23-fa8e-4bae-903e-fdbbab7b09f8", "name": "Bad request - data contain errors", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation-async", ":process_code" ], "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"example_username\",\n \"company\": \"example_company\",\n \"env\": \"edge7\",\n \"pod\": \"aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee\",\n \"service\": \"AGRO\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-11-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": "2c4f27d3-eb96-47a8-8a2d-71da408f529f", "name": "Unauthorized - incorrect authorization details, token is missing or invalid", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation-async", ":process_code" ], "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": "Unauthorized", "code": 401, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "cd5747d9-0fd8-484c-9521-781502958bfd", "name": "Payment Required", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation-async", ":process_code" ], "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "dc44c6ec-2052-4055-96fb-994f457b72f9", "name": "Not found", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation-async", ":process_code" ], "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_key\": \"resource_key\",\n \"detail\": {\n \"tracedata\": {\n \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "29040bc6-d688-4903-b7ec-992e3348d5f4", "name": "Method not allowed, check method (POST, GET, ...)", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation-async", ":process_code" ], "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": "14172776-d40b-420d-95b3-33d61ab03989", "name": "Client is unable to process a format of response, check headers", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation-async", ":process_code" ], "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": "479a9f80-0fcc-40e3-bb54-812d3560c1c7", "name": "Unsupported media type, check headers", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation-async", ":process_code" ], "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": "db73149a-12f4-4292-859c-ac0e9686721d", "name": "Too many requests", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation-async", ":process_code" ], "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "3f9fccba-5bce-4a6b-a090-7c21ab483d31", "name": "Internal server error", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation-async", ":process_code" ], "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "ac715e08-3e31-44c1-b233-007df4ad6477", "name": "Not implemented", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation-async", ":process_code" ], "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": "1765a6ae-81bd-4320-bcd2-c9247185c654", "name": "Bad gateway", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation-async", ":process_code" ], "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": "2175a76a-01a8-4e75-b1e4-a9182fa05295", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation-async", ":process_code" ], "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": "22c897fa-16db-452c-9589-4928ed27a8e7", "name": "Gateway timeout", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation-async", ":process_code" ], "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": "beb5f76b-a2ab-4672-931e-f2506faaf7bb", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "calculation-async", ":process_code" ], "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": "c388ef6e-77db-4fb8-ab6c-9955920828a8", "name": "Calculation state", "request": { "name": "Calculation state", "description": { "content": "Read calculation state by the calculation identifier.", "type": "text/plain" }, "url": { "path": [ "agro", "plan", "state", ":process_code" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "type": "any", "value": "11111111-2222-3333-4444-555555555555", "key": "process_code", "disabled": false, "description": { "content": "(Required) Unique process identifier.", "type": "text/plain" } } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {}, "auth": null }, "response": [ { "id": "e27affba-2f02-4f2c-80d9-8edb3fd710ed", "name": "Calculation completed successfully", "originalRequest": { "url": { "path": [ "agro", "plan", "state", ":process_code" ], "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"calculation_progress\": 52,\n \"calculation_info\": {\n \"status\": \"FINISHED_IN_TIME\",\n \"result_version\": 133,\n \"preparing_time\": \"PT1H45M\",\n \"business_validation_time\": \"PT1H45M\",\n \"math_validation_time\": \"PT1H45M\",\n \"waiting_time\": \"PT1H45M\",\n \"calculation_time\": \"PT1H45M\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "29a51e44-c085-4750-939f-10dd06172cce", "name": "Calculation in progress, intermediate results returned", "originalRequest": { "url": { "path": [ "agro", "plan", "state", ":process_code" ], "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"calculation_progress\": 52,\n \"calculation_info\": {\n \"status\": \"FINISHED_IN_TIME\",\n \"result_version\": 133,\n \"preparing_time\": \"PT1H45M\",\n \"business_validation_time\": \"PT1H45M\",\n \"math_validation_time\": \"PT1H45M\",\n \"waiting_time\": \"PT1H45M\",\n \"calculation_time\": \"PT1H45M\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "930c5b4c-360b-45a3-9df0-cbd49a03040e", "name": "Calculation completed, problems encountered during the calculation process", "originalRequest": { "url": { "path": [ "agro", "plan", "state", ":process_code" ], "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": {} }, "code": 299, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"calculation_progress\": 52,\n \"calculation_info\": {\n \"status\": \"FINISHED_IN_TIME\",\n \"result_version\": 133,\n \"preparing_time\": \"PT1H45M\",\n \"business_validation_time\": \"PT1H45M\",\n \"math_validation_time\": \"PT1H45M\",\n \"waiting_time\": \"PT1H45M\",\n \"calculation_time\": \"PT1H45M\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "68511271-3cfa-40d8-bbc0-3d8b0320d373", "name": "Bad request - data contain errors", "originalRequest": { "url": { "path": [ "agro", "plan", "state", ":process_code" ], "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"example_username\",\n \"company\": \"example_company\",\n \"env\": \"edge7\",\n \"pod\": \"aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee\",\n \"service\": \"AGRO\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-11-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": "387812cb-7a1c-4ed0-b110-3297d0102a35", "name": "Unauthorized - incorrect authorization details, token is missing or invalid", "originalRequest": { "url": { "path": [ "agro", "plan", "state", ":process_code" ], "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": "Unauthorized", "code": 401, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "5c3287b4-42d3-4e07-8653-a3157496c3be", "name": "Payment Required", "originalRequest": { "url": { "path": [ "agro", "plan", "state", ":process_code" ], "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "22ae9f14-6fbd-49e7-8852-e0ebbbb345e8", "name": "Not found", "originalRequest": { "url": { "path": [ "agro", "plan", "state", ":process_code" ], "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_key\": \"resource_key\",\n \"detail\": {\n \"tracedata\": {\n \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "4a463a64-d4b8-47e3-a4b0-b4492371e577", "name": "Method not allowed, check method (POST, GET, ...)", "originalRequest": { "url": { "path": [ "agro", "plan", "state", ":process_code" ], "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": "0104578a-96af-404c-9707-b1fe3d737b46", "name": "Client is unable to process a format of response, check headers", "originalRequest": { "url": { "path": [ "agro", "plan", "state", ":process_code" ], "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": "804f5b0b-6c55-4eaf-9ead-19131bf0b818", "name": "Unsupported media type, check headers", "originalRequest": { "url": { "path": [ "agro", "plan", "state", ":process_code" ], "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": "57b5e500-8141-4a44-afe6-ad0979ad11d1", "name": "Too many requests", "originalRequest": { "url": { "path": [ "agro", "plan", "state", ":process_code" ], "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "0be882e6-fa54-4148-9fd1-85aa43c6bbec", "name": "Internal server error", "originalRequest": { "url": { "path": [ "agro", "plan", "state", ":process_code" ], "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "d20cd348-4519-4c12-b1e5-db3cf16a81cb", "name": "Not implemented", "originalRequest": { "url": { "path": [ "agro", "plan", "state", ":process_code" ], "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": "c35280c2-505c-4c22-b9fd-83319627820a", "name": "Bad gateway", "originalRequest": { "url": { "path": [ "agro", "plan", "state", ":process_code" ], "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": "e3dbad70-ab81-479b-b12e-eb263affc341", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "state", ":process_code" ], "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": "fccad4a2-6340-462d-a436-04cee7cf28aa", "name": "Gateway timeout", "originalRequest": { "url": { "path": [ "agro", "plan", "state", ":process_code" ], "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": "98461d3b-7584-4dd5-b610-fcbc7ac40a53", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "state", ":process_code" ], "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": "e9f0ea34-0ff4-4f62-b2a1-4b64920cae9c", "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", ":process_code" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "type": "any", "value": "11111111-2222-3333-4444-555555555555", "key": "process_code", "disabled": false, "description": { "content": "(Required) Unique process identifier.", "type": "text/plain" } } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {}, "auth": null }, "response": [ { "id": "f9bf3b4d-b46e-4c3a-bf57-79001ab54fbd", "name": "Calculation completed successfully", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"example_username\",\n \"company\": \"example_company\",\n \"env\": \"edge7\",\n \"pod\": \"aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee\",\n \"service\": \"AGRO\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-11-21T16:55:35.370332Z\"\n },\n \"project\": [\n {\n \"type\": \"RELOCATE\",\n \"crop_key\": \"bean\",\n \"source\": {\n \"date\": \"2024-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\": \"2024-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 \"calculation_progress\": 100,\n \"calculation_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": "d2f7c171-e8e8-49e4-a5c7-e1aaf904b695", "name": "Calculation in progress, intermediate results returned", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"example_username\",\n \"company\": \"example_company\",\n \"env\": \"edge7\",\n \"pod\": \"aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee\",\n \"service\": \"AGRO\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-11-21T16:55:35.370332Z\"\n },\n \"project\": [\n {\n \"type\": \"RELOCATE\",\n \"crop_key\": \"bean\",\n \"source\": {\n \"date\": \"2024-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\": \"2024-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 \"calculation_progress\": 100,\n \"calculation_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": "f8d47a89-2b17-4c0d-8c55-3f03949f2adb", "name": "Calculation completed, problems encountered during the calculation process", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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": {} }, "code": 299, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"example_username\",\n \"company\": \"example_company\",\n \"env\": \"edge7\",\n \"pod\": \"aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee\",\n \"service\": \"AGRO\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-11-21T16:55:35.370332Z\"\n },\n \"project\": [\n {\n \"type\": \"RELOCATE\",\n \"crop_key\": \"bean\",\n \"source\": {\n \"date\": \"2024-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\": \"2024-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 \"calculation_progress\": 100,\n \"calculation_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": "5cf09815-bf30-400d-8b51-d762bd39a076", "name": "Bad request - data contain errors", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"example_username\",\n \"company\": \"example_company\",\n \"env\": \"edge7\",\n \"pod\": \"aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee\",\n \"service\": \"AGRO\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-11-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": "f8b5a952-ed15-42d1-9d7c-0a877dbabc61", "name": "Unauthorized - incorrect authorization details, token is missing or invalid", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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": "Unauthorized", "code": 401, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "5160bd99-6140-41f6-a3c9-7a80aa99f550", "name": "Payment Required", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "35ed0d18-def0-4367-807b-8174e8849b53", "name": "Not found", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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_key\": \"resource_key\",\n \"detail\": {\n \"tracedata\": {\n \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "40477305-92d5-47ff-991a-6cb7247d92de", "name": "Method not allowed, check method (POST, GET, ...)", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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": "4116464c-e193-41a2-ade7-640cfab22bd7", "name": "Client is unable to process a format of response, check headers", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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": "4673117c-8e49-4484-a810-703a802c4a28", "name": "Unsupported media type, check headers", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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": "f2665123-8232-464b-95ed-a914c3ea4c12", "name": "Too many requests", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "f9e38dce-b747-434e-8b4e-502e3d5b4a50", "name": "Internal server error", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "284176e8-b5c0-49fa-8745-76fa791b8b7f", "name": "Not implemented", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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": "b6b91b0e-3771-4189-87de-48b5db54b5f9", "name": "Bad gateway", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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": "c3748780-450d-42a5-9136-722a0f067fb6", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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": "a9a97536-ad85-431b-bb88-a8592d2de012", "name": "Gateway timeout", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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": "0acdd449-287a-4363-b53f-1cffe072c8cf", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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": "b2bf45b7-ee07-4888-8dcc-6444bd302557", "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", ":process_code" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "type": "any", "value": "11111111-2222-3333-4444-555555555555", "key": "process_code", "disabled": false, "description": { "content": "(Required) Unique process identifier.", "type": "text/plain" } } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "DELETE", "body": {}, "auth": null }, "response": [ { "id": "ab8c5408-fba9-442a-81a7-0fb4fce183d3", "name": "Successful execution - calculation result deleted", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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": "2a340c36-1228-4da3-9c78-f1b874dbaa57", "name": "Bad request - data contain errors", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"example_username\",\n \"company\": \"example_company\",\n \"env\": \"edge7\",\n \"pod\": \"aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee\",\n \"service\": \"AGRO\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-11-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": "ab016636-4c1f-4488-b013-c2190826b94f", "name": "Unauthorized - incorrect authorization details, token is missing or invalid", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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": "Unauthorized", "code": 401, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "ea1c4ed6-b476-48e4-a308-ac4efa5c3cc3", "name": "Payment Required", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "9e9588b0-0e51-49b1-8691-51c9e386ba95", "name": "Not found", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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_key\": \"resource_key\",\n \"detail\": {\n \"tracedata\": {\n \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "266126fe-0fe1-499a-9374-62a9febbe510", "name": "Method not allowed, check method (POST, GET, ...)", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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": "b1011d4b-2d2d-4fd0-9b83-57d87c62b873", "name": "Client is unable to process a format of response, check headers", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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": "e52e0f66-293a-467d-8e4c-9803b4cccb37", "name": "Unsupported media type, check headers", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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": "0429a8de-2198-480b-b8e1-de398b679ca1", "name": "Too many requests", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "5c2d445a-53d0-4ecf-98f5-785fd900350f", "name": "Internal server error", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "82f7169b-a1d9-45c6-bcf2-4eb3169733e1", "name": "Not implemented", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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": "e833bb96-25ac-4548-972c-dfb85a025b49", "name": "Bad gateway", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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": "b3a10960-aac3-4f7d-b8b7-34b062d640c3", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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": "8b2340bc-965e-4d3d-9be1-3028f8647173", "name": "Gateway timeout", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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": "fdf8398e-9350-4145-9965-17d9a0db54ef", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "result", ":process_code" ], "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": "5168cc56-5421-48c4-a3a9-90b8909ab3f8", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "c9492f83-5eda-4a34-884f-c365423754f2", "name": "Data validation completed successfully", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"warnings\": [\n {\n \"type\": \"NO_COMPATIBLE_STORAGE\",\n \"entities\": [\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n }\n ],\n \"info\": \"entity warning\"\n },\n {\n \"type\": \"NO_COMPATIBLE_STORAGE\",\n \"entities\": [\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n }\n ],\n \"info\": \"entity warning\"\n },\n {\n \"type\": \"NO_COMPATIBLE_STORAGE\",\n \"entities\": [\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n }\n ],\n \"info\": \"entity warning\"\n },\n {\n \"type\": \"NO_COMPATIBLE_STORAGE\",\n \"entities\": [\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n }\n ],\n \"info\": \"entity warning\"\n },\n {\n \"type\": \"NO_COMPATIBLE_STORAGE\",\n \"entities\": [\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n }\n ],\n \"info\": \"entity warning\"\n },\n {\n \"type\": \"NO_COMPATIBLE_STORAGE\",\n \"entities\": [\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n }\n ],\n \"info\": \"entity warning\"\n },\n {\n \"type\": \"NO_COMPATIBLE_STORAGE\",\n \"entities\": [\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n }\n ],\n \"info\": \"entity warning\"\n },\n {\n \"type\": \"NO_COMPATIBLE_STORAGE\",\n \"entities\": [\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n }\n ],\n \"info\": \"entity warning\"\n },\n {\n \"type\": \"NO_COMPATIBLE_STORAGE\",\n \"entities\": [\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n }\n ],\n \"info\": \"entity warning\"\n },\n {\n \"type\": \"NO_COMPATIBLE_STORAGE\",\n \"entities\": [\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n }\n ],\n \"info\": \"entity warning\"\n },\n {\n \"type\": \"NO_COMPATIBLE_STORAGE\",\n \"entities\": [\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n }\n ],\n \"info\": \"entity warning\"\n },\n {\n \"type\": \"NO_COMPATIBLE_STORAGE\",\n \"entities\": [\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n }\n ],\n \"info\": \"entity warning\"\n },\n {\n \"type\": \"NO_COMPATIBLE_STORAGE\",\n \"entities\": [\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n }\n ],\n \"info\": \"entity warning\"\n },\n {\n \"type\": \"NO_COMPATIBLE_STORAGE\",\n \"entities\": [\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n }\n ],\n \"info\": \"entity warning\"\n },\n {\n \"type\": \"NO_COMPATIBLE_STORAGE\",\n \"entities\": [\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n }\n ],\n \"info\": \"entity warning\"\n },\n {\n \"type\": \"NO_COMPATIBLE_STORAGE\",\n \"entities\": [\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n }\n ],\n \"info\": \"entity warning\"\n },\n {\n \"type\": \"NO_COMPATIBLE_STORAGE\",\n \"entities\": [\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n }\n ],\n \"info\": \"entity warning\"\n },\n {\n \"type\": \"NO_COMPATIBLE_STORAGE\",\n \"entities\": [\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n }\n ],\n \"info\": \"entity warning\"\n },\n {\n \"type\": \"NO_COMPATIBLE_STORAGE\",\n \"entities\": [\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n }\n ],\n \"info\": \"entity warning\"\n },\n {\n \"type\": \"NO_COMPATIBLE_STORAGE\",\n \"entities\": [\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n },\n {\n \"entity_key\": \"order_0001\",\n \"entity_type\": \"TASK\",\n \"child_entity\": {\n \"value\": \"\"\n }\n }\n ],\n \"info\": \"entity warning\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "82c9ba8e-982a-4837-a7cf-ac984b025111", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"example_username\",\n \"company\": \"example_company\",\n \"env\": \"edge7\",\n \"pod\": \"aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee\",\n \"service\": \"AGRO\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-11-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": "ec5b0758-f4c6-49ca-838b-43cabb0b21a6", "name": "Unauthorized - incorrect authorization details, token is missing or invalid", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "8c0719da-df69-4310-b8d2-41ea0311fe3d", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "64fd094f-9462-4aed-8e25-7597704b0ba1", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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_key\": \"resource_key\",\n \"detail\": {\n \"tracedata\": {\n \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "9c88ae11-576c-45a0-a35b-3d15454975ae", "name": "Method not allowed, check method (POST, GET, ...)", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "2fef65cc-9ec4-4d22-b87b-a3ce9067c94c", "name": "Client is unable to process a format of response, check headers", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "e265db66-e001-4fd8-ace9-308297d3e7a4", "name": "Unsupported media type, check headers", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "24cf5f17-e51f-4a97-be97-01a3433a0362", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "badd5069-2b75-4bf7-a62a-cf8ccb344f02", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "431752d1-9869-4cfd-b812-8b7e433e6a55", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "d88968c1-c57b-459a-96a2-4d08f14aa897", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "1a5a640b-b9e9-47e4-9c42-32bc0496f922", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "e6481eb1-1faa-4062-8a59-71a3cdd1886d", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "ba07f980-58d2-4484-8fa1-4d5a41b00687", "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "982fc7b0-528e-418c-bd0a-a0f1dfaeca8c", "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": true, "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "96d90e4a-423f-43dd-b1c7-5fc15b9e0d19", "name": "Successful execution", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": true, "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "53516659-37e7-482c-b56d-4def0a751b70", "name": "Bad request - data contain errors", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": true, "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"example_username\",\n \"company\": \"example_company\",\n \"env\": \"edge7\",\n \"pod\": \"aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee\",\n \"service\": \"AGRO\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2024-11-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": "a12e3dfe-7d1a-4aa1-aaf1-5d9e1a0b7832", "name": "Unauthorized - incorrect authorization details, token is missing or invalid", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": true, "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "ec9f449b-c938-4f72-9f40-91cff7452f44", "name": "Payment Required", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": true, "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "65ac8e40-d11f-4026-b32c-7556593b21ab", "name": "Not found", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": true, "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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_key\": \"resource_key\",\n \"detail\": {\n \"tracedata\": {\n \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "a46378e8-2d8c-4d34-a806-8cd3ec3d0ad8", "name": "Method not allowed, check method (POST, GET, ...)", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": true, "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "61fae7c0-909d-4e51-aeb8-9cde0464d4d2", "name": "Client is unable to process a format of response, check headers", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": true, "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "816a6f00-e9b8-49cc-8eef-ba9f49dcc223", "name": "Unsupported media type, check headers", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": true, "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "47574b46-1eea-4f7a-b734-ac9026864bf9", "name": "Too many requests", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": true, "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "69b3c86c-bfb5-4559-99d6-f4439764af59", "name": "Internal server error", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": true, "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "8510bf73-06a6-4125-bd75-7d9d031fd7ff", "name": "Not implemented", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": true, "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "d8953016-ec12-444f-897e-2302ddea8c7b", "name": "Bad gateway", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": true, "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "ac9b1926-ad30-41f0-bf91-7767c9fcb1d7", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": true, "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "ba0bc8f6-8452-4559-b3b3-ea7c50797b8b", "name": "Gateway timeout", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": true, "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "96e00236-f0f9-4127-b0ba-d94819386159", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "agro", "plan", "clip", ":clip_key" ], "host": [ "{{baseUrl}}" ], "query": [ { "disabled": true, "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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 1000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-01-03\"\n },\n \"humidity\": 220\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-04\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 15000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-05\"\n },\n \"capacity\": 5000\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-06\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-01-10\"\n },\n \"capacity\": 17000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-05\",\n \"to\": \"2024-01-11\"\n },\n \"capacity\": 500\n },\n {\n \"date_window\": {\n \"from\": \"2024-01-12\",\n \"to\": \"2024-01-15\"\n },\n \"capacity\": 20\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"to\": \"2024-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\": \"2024-01-01\",\n \"end_date\": \"2024-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": "65197bb8-852b-4b7e-8159-d1c27488652f", "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": "bd105022-6c0b-4a97-b700-baa091a835e6", "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": "18e20ac9-395b-47bc-bf22-6b4997282762", "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_key\": \"resource_key\",\n \"detail\": {\n \"tracedata\": {\n \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "128bbab5-0d90-407b-9e7e-e7799f39b163", "name": "Method not allowed, check method (POST, GET, ...)", "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": "3cd66d50-efed-4ec4-9ad3-80b81aadc477", "name": "Client is unable to process a format of response, check headers", "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": "16a4797b-3a32-492d-92e3-66936921e57d", "name": "Unsupported media type, check headers", "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": "92712006-cff9-44f4-b19c-9421fa07f1c4", "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "a2784e75-9dae-4a8d-8b2a-c4eb14da86e7", "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "db3d0bd4-9c7c-4eee-9a17-cbadb1be293d", "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": "9afb3eea-b5b2-4b33-b3fa-413097c0ffb6", "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": "f358d199-9f2a-4bfa-9c39-416b6bc926c0", "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": "3fb41bb1-2755-48cb-ae82-91b18e3ca87c", "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": "38c71475-5533-42d1-bd81-b0b234b24b0a", "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": "2db3fd42-6e3e-4069-9c73-d45c0ae30586", "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": "8645d3c7-d73e-44c7-84bf-2c5bfa8386e0", "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\": 7,\n \"minor\": 5,\n \"build\": \"3754RC\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "817b7b68-ac27-4885-a6ff-0f7befa82fa3", "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_key\": \"resource_key\",\n \"detail\": {\n \"tracedata\": {\n \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "2fdabd06-8f06-4b34-833f-0a3879e268e4", "name": "Method not allowed, check method (POST, GET, ...)", "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": "8c641296-af30-44e0-aa10-0645833460ce", "name": "Client is unable to process a format of response, check headers", "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": "ffe564fa-075b-40e8-a1be-49a1d246a6ee", "name": "Unsupported media type, check headers", "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": "5d1c3aea-33c0-4175-8e7f-53e7bc962673", "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "7510010f-8589-425b-a75d-c84b5335140f", "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "bc589734-1d64-4e24-bb18-aa5dee482106", "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": "f69662d5-3f16-464c-a9d1-8f8cfc9319ff", "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": "02e315da-6c99-49f3-8fd1-0c73b91086d1", "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": "a7bf85f9-f6ac-40bc-8331-9c0df39a2353", "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": "b5ceeb24-743a-4102-82eb-bc54ac8df2b4", "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": "43509cf6-391c-4fc0-bbb2-49bd083197d0", "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": "3a9437ca-5df7-46c9-a26f-f0b612fea572", "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": "sunt culpa ad amet ea", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "cb37dde5-ecc4-45da-bac6-53bc6ce5de18", "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_key\": \"resource_key\",\n \"detail\": {\n \"tracedata\": {\n \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "798bc64e-bab5-4d37-b9df-5d61e2b4214d", "name": "Method not allowed, check method (POST, GET, ...)", "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": "9c4e395a-a0d5-41cb-aeda-37ac4a5a3c5e", "name": "Client is unable to process a format of response, check headers", "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": "b75d32de-5795-4d3c-9a80-1a31ad212d99", "name": "Unsupported media type, check headers", "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": "9e283878-4078-4d4d-aada-2f31928749a0", "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "94507883-5ac1-4ab0-9973-95800ad15558", "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 \"process_code\": \"11111111-2222-3333-4444-555555555555\",\n \"request_code\": \"aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee\",\n \"username\": \"username_for_login\",\n \"company\": \"smart_company\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"env\": \"edge7\",\n \"pod\": \"11111111-2222-3333-4444-555555555555\",\n \"time\": \"2024-11-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "9396c262-8528-424b-b731-4f553396d918", "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": "f3a4ee5b-dbcf-4e0e-a33e-72979870aa85", "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": "19bf0cb2-af4f-4ce9-98d4-f9ed438d4b25", "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": "09f6499f-05df-4b48-914c-9245f9a219f8", "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": "90f132ab-73e0-4ee1-abf2-de5f8d29e9fc", "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.edge7.veeroute.cloud" } ], "info": { "_postman_id": "da4e9fd9-4a6c-47b1-85ac-d4598139f6cb", "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" } } }