{ "_type": "export", "__export_format": 4, "__export_date": "2024-03-28T09:50:44.418Z", "__export_source": "insomnia.importers:v0.1.0", "resources": [ { "_type": "workspace", "_id": "__WORKSPACE_ID__", "parentId": null, "name": "VRt.Agro [AG] 6.20.2289", "description": "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" }, { "parentId": "__WORKSPACE_ID__", "name": "Base environment", "data": { "base_url": "{{ scheme }}://{{ host }}{{ base_path }}" }, "_type": "environment", "_id": "__BASE_ENVIRONMENT_ID__" }, { "parentId": "__BASE_ENVIRONMENT_ID__", "name": "OpenAPI env", "data": { "scheme": "https", "base_path": "", "host": "api.edge.veeroute.tech", "bearerToken": "bearerToken" }, "_type": "environment", "_id": "env___BASE_ENVIRONMENT_ID___sub" }, { "parentId": "__WORKSPACE_ID__", "name": "Plan", "environment": {}, "_id": "fld___WORKSPACE_ID__ae2f98a0", "_type": "request_group", "description": "Production plan calculation.\n" }, { "parentId": "__WORKSPACE_ID__", "name": "System", "environment": {}, "_id": "fld___WORKSPACE_ID__bc0792d8", "_type": "request_group", "description": "System functions.\nAuxiliary functionality common to all services.\n" }, { "parentId": "fld___WORKSPACE_ID__ae2f98a0", "name": "Planning (SYNC)", "url": "{{ base_url }}/agro/plan/calculation", "body": { "mimeType": "application/json", "text": "{\n \"crops\": [\n {\n \"key\": \"crop_key_1\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [\n \"trench\"\n ],\n \"attributes\": []\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_key_1\",\n \"crop_key\": \"crop_key_1\",\n \"amount\": 200,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"humidity\": 180\n }\n ],\n \"attributes\": []\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_key_1\",\n \"gate\": {\n \"key\": \"gate_key_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"input_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n },\n \"dryers\": [\n {\n \"key\": \"dryer_key_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"productivity\": 200\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_key_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_key_1\",\n \"type\": \"trench\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"deployment_cost\": 100,\n \"collapse_cost\": 100,\n \"attributes\": []\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_key_1\",\n \"gate\": {\n \"key\": \"gate_key_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"input_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n },\n \"dryers\": [\n {\n \"key\": \"dryer_key_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"productivity\": 200\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n }\n ],\n \"consumers\": [\n {\n \"key\": \"consumer_key_1\",\n \"crop_key\": \"crop_key_1\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"min_stock_days\": 14\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_key_1\",\n \"contracts\": [\n {\n \"key\": \"contract_key_1\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"price\": 2000\n }\n ],\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"source_key_1\",\n \"destination_key\": \"destination_key_1\",\n \"distance\": 20,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"humidity\": 180,\n \"target_key\": \"target_key_1\",\n \"target_detail_key\": \"storage_key_1\",\n \"amount\": 250\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-06-15\",\n \"end_date\": \"2023-06-22\",\n \"transport_capacity\": 12\n },\n \"calculation_settings\": {\n \"max_calculation_time\": \"PT4M30S\",\n \"max_waiting_time\": \"PT2H\",\n \"result_ttl\": \"PT4M30S\",\n \"result_timezone\": 3,\n \"treat_warnings_as_errors\": true,\n \"precision\": 3\n }\n }\n}" }, "parameters": [], "headers": [], "authentication": { "type": "bearer", "token": "{{bearerToken}}", "prefix": "" }, "_type": "request", "_id": "req___WORKSPACE_ID__4e407bdd", "method": "POST" }, { "parentId": "fld___WORKSPACE_ID__ae2f98a0", "name": "Planning (ASYNC)", "url": "{{ base_url }}/agro/plan/calculation_async", "body": { "mimeType": "application/json", "text": "{\n \"crops\": [\n {\n \"key\": \"crop_key_1\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [\n \"trench\"\n ],\n \"attributes\": []\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_key_1\",\n \"crop_key\": \"crop_key_1\",\n \"amount\": 200,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"humidity\": 180\n }\n ],\n \"attributes\": []\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_key_1\",\n \"gate\": {\n \"key\": \"gate_key_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"input_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n },\n \"dryers\": [\n {\n \"key\": \"dryer_key_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"productivity\": 200\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_key_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_key_1\",\n \"type\": \"trench\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"deployment_cost\": 100,\n \"collapse_cost\": 100,\n \"attributes\": []\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_key_1\",\n \"gate\": {\n \"key\": \"gate_key_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"input_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n },\n \"dryers\": [\n {\n \"key\": \"dryer_key_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"productivity\": 200\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n }\n ],\n \"consumers\": [\n {\n \"key\": \"consumer_key_1\",\n \"crop_key\": \"crop_key_1\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"min_stock_days\": 14\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_key_1\",\n \"contracts\": [\n {\n \"key\": \"contract_key_1\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"price\": 2000\n }\n ],\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"source_key_1\",\n \"destination_key\": \"destination_key_1\",\n \"distance\": 20,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"humidity\": 180,\n \"target_key\": \"target_key_1\",\n \"target_detail_key\": \"storage_key_1\",\n \"amount\": 250\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-06-15\",\n \"end_date\": \"2023-06-22\",\n \"transport_capacity\": 12\n },\n \"calculation_settings\": {\n \"max_calculation_time\": \"PT4M30S\",\n \"max_waiting_time\": \"PT2H\",\n \"result_ttl\": \"PT4M30S\",\n \"result_timezone\": 3,\n \"treat_warnings_as_errors\": true,\n \"precision\": 3\n }\n }\n}" }, "parameters": [], "headers": [], "authentication": { "type": "bearer", "token": "{{bearerToken}}", "prefix": "" }, "_type": "request", "_id": "req___WORKSPACE_ID__d1e027a5", "method": "POST" }, { "parentId": "fld___WORKSPACE_ID__ae2f98a0", "name": "Calculation state", "url": "{{ base_url }}/agro/plan/calculation_async/{{ id }}", "body": {}, "parameters": [], "headers": [], "authentication": { "type": "bearer", "token": "{{bearerToken}}", "prefix": "" }, "_type": "request", "_id": "req___WORKSPACE_ID__28f3970b", "method": "GET" }, { "parentId": "fld___WORKSPACE_ID__ae2f98a0", "name": "Cancel calculation", "url": "{{ base_url }}/agro/plan/calculation_async/{{ id }}", "body": {}, "parameters": [], "headers": [], "authentication": { "type": "bearer", "token": "{{bearerToken}}", "prefix": "" }, "_type": "request", "_id": "req___WORKSPACE_ID__c1eac7ff", "method": "DELETE" }, { "parentId": "fld___WORKSPACE_ID__ae2f98a0", "name": "Getting the result", "url": "{{ base_url }}/agro/plan/result/{{ id }}", "body": {}, "parameters": [], "headers": [], "authentication": { "type": "bearer", "token": "{{bearerToken}}", "prefix": "" }, "_type": "request", "_id": "req___WORKSPACE_ID__b69d5280", "method": "GET" }, { "parentId": "fld___WORKSPACE_ID__ae2f98a0", "name": "Result removal", "url": "{{ base_url }}/agro/plan/result/{{ id }}", "body": {}, "parameters": [], "headers": [], "authentication": { "type": "bearer", "token": "{{bearerToken}}", "prefix": "" }, "_type": "request", "_id": "req___WORKSPACE_ID__9faba70f", "method": "DELETE" }, { "parentId": "fld___WORKSPACE_ID__ae2f98a0", "name": "Data validation", "url": "{{ base_url }}/agro/plan/validation", "body": { "mimeType": "application/json", "text": "{\n \"crops\": [\n {\n \"key\": \"crop_key_1\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [\n \"trench\"\n ],\n \"attributes\": []\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_key_1\",\n \"crop_key\": \"crop_key_1\",\n \"amount\": 200,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"humidity\": 180\n }\n ],\n \"attributes\": []\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_key_1\",\n \"gate\": {\n \"key\": \"gate_key_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"input_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n },\n \"dryers\": [\n {\n \"key\": \"dryer_key_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"productivity\": 200\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_key_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_key_1\",\n \"type\": \"trench\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"deployment_cost\": 100,\n \"collapse_cost\": 100,\n \"attributes\": []\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_key_1\",\n \"gate\": {\n \"key\": \"gate_key_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"input_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n },\n \"dryers\": [\n {\n \"key\": \"dryer_key_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"productivity\": 200\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n }\n ],\n \"consumers\": [\n {\n \"key\": \"consumer_key_1\",\n \"crop_key\": \"crop_key_1\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"min_stock_days\": 14\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_key_1\",\n \"contracts\": [\n {\n \"key\": \"contract_key_1\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"price\": 2000\n }\n ],\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"source_key_1\",\n \"destination_key\": \"destination_key_1\",\n \"distance\": 20,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"humidity\": 180,\n \"target_key\": \"target_key_1\",\n \"target_detail_key\": \"storage_key_1\",\n \"amount\": 250\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-06-15\",\n \"end_date\": \"2023-06-22\",\n \"transport_capacity\": 12\n },\n \"calculation_settings\": {\n \"max_calculation_time\": \"PT4M30S\",\n \"max_waiting_time\": \"PT2H\",\n \"result_ttl\": \"PT4M30S\",\n \"result_timezone\": 3,\n \"treat_warnings_as_errors\": true,\n \"precision\": 3\n }\n }\n}" }, "parameters": [], "headers": [], "authentication": { "type": "bearer", "token": "{{bearerToken}}", "prefix": "" }, "_type": "request", "_id": "req___WORKSPACE_ID__f2c4729b", "method": "POST" }, { "parentId": "fld___WORKSPACE_ID__ae2f98a0", "name": "Clipping (SYNC)", "url": "{{ base_url }}/agro/plan/clip/{{ clip_key }}", "body": { "mimeType": "application/json", "text": "{\n \"crops\": [\n {\n \"key\": \"crop_key_1\",\n \"base_humidity\": 180,\n \"compatible_storage_types\": [\n \"granary\"\n ],\n \"compatible_silo_types\": [\n \"trench\"\n ],\n \"attributes\": []\n }\n ],\n \"fields\": [\n {\n \"key\": \"field_key_1\",\n \"crop_key\": \"crop_key_1\",\n \"amount\": 200,\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"humidity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"humidity\": 180\n }\n ],\n \"attributes\": []\n }\n ],\n \"elevators\": [\n {\n \"key\": \"elevator_key_1\",\n \"gate\": {\n \"key\": \"gate_key_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"input_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n },\n \"dryers\": [\n {\n \"key\": \"dryer_key_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"productivity\": 200\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"storages\": [\n {\n \"key\": \"storage_key_1\",\n \"type\": \"granary\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n }\n ],\n \"silos\": [\n {\n \"key\": \"silo_key_1\",\n \"type\": \"trench\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"deployment_cost\": 100,\n \"collapse_cost\": 100,\n \"attributes\": []\n }\n ],\n \"attributes\": []\n }\n ],\n \"factories\": [\n {\n \"key\": \"factory_key_1\",\n \"gate\": {\n \"key\": \"gate_key_1\",\n \"input_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"input_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"output_capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"output_cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n },\n \"dryers\": [\n {\n \"key\": \"dryer_key_1\",\n \"chamber_variants\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"productivity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"productivity\": 200\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"bunkers\": [\n {\n \"key\": \"bunker_key_1\",\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"cost_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"cost\": 100\n }\n ],\n \"attributes\": []\n }\n ],\n \"consumers\": [\n {\n \"key\": \"consumer_key_1\",\n \"crop_key\": \"crop_key_1\",\n \"consumption_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ],\n \"stock_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"min_stock_days\": 14\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"markets\": [\n {\n \"key\": \"market_key_1\",\n \"contracts\": [\n {\n \"key\": \"contract_key_1\",\n \"type\": \"SELL\",\n \"target_keys\": [\n \"factory_1\"\n ],\n \"pricelist\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"price_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"price\": 2000\n }\n ],\n \"capacity_forecast\": [\n {\n \"date_window\": {\n \"from\": \"2024-02-15\",\n \"to\": \"2024-02-22\"\n },\n \"capacity\": 2000\n }\n ]\n }\n ],\n \"attributes\": []\n }\n ],\n \"attributes\": []\n }\n ],\n \"movement_matrix\": [\n {\n \"source_key\": \"source_key_1\",\n \"destination_key\": \"destination_key_1\",\n \"distance\": 20,\n \"cost_per_transport\": 5000\n }\n ],\n \"leftovers\": [\n {\n \"crop_key\": \"crop_key_1\",\n \"humidity\": 180,\n \"target_key\": \"target_key_1\",\n \"target_detail_key\": \"storage_key_1\",\n \"amount\": 250\n }\n ],\n \"plan_settings\": {\n \"project_settings\": {\n \"configuration\": \"OPTIMIZE_DISTANCE\",\n \"start_date\": \"2023-06-15\",\n \"end_date\": \"2023-06-22\",\n \"transport_capacity\": 12\n },\n \"calculation_settings\": {\n \"max_calculation_time\": \"PT4M30S\",\n \"max_waiting_time\": \"PT2H\",\n \"result_ttl\": \"PT4M30S\",\n \"result_timezone\": 3,\n \"treat_warnings_as_errors\": true,\n \"precision\": 3\n }\n }\n}" }, "parameters": [ { "name": "clip_strategy", "disabled": true, "value": "CROP_WITH_TRANSIT_ELEVATORS" } ], "headers": [], "authentication": { "type": "bearer", "token": "{{bearerToken}}", "prefix": "" }, "_type": "request", "_id": "req___WORKSPACE_ID__579ac6a3", "method": "POST" }, { "parentId": "fld___WORKSPACE_ID__bc0792d8", "name": "Checking the availability", "url": "{{ base_url }}/agro/system/check", "body": {}, "parameters": [], "headers": [], "authentication": {}, "_type": "request", "_id": "req___WORKSPACE_ID__d56d9853", "method": "GET" }, { "parentId": "fld___WORKSPACE_ID__bc0792d8", "name": "Getting the service version", "url": "{{ base_url }}/agro/system/version", "body": {}, "parameters": [], "headers": [], "authentication": {}, "_type": "request", "_id": "req___WORKSPACE_ID__c692273d", "method": "GET" }, { "parentId": "fld___WORKSPACE_ID__bc0792d8", "name": "Getting the documentation", "url": "{{ base_url }}/agro/file/{{ filename }}", "body": {}, "parameters": [], "headers": [], "authentication": {}, "_type": "request", "_id": "req___WORKSPACE_ID__971c419d", "method": "GET" } ] }