{ "item": [ { "id": "41e85dac-3ec5-42b2-94b4-327271684524", "name": "Plan", "description": { "content": "Planning - creating trips from orders, performers and transport.\nPlanning requests can be executed in synchronous and asynchronous mode.\n", "type": "text/plain" }, "item": [ { "id": "ed0e57ce-1ef0-4a00-b783-436bf5adcb9c", "name": "Planning (SYNC)", "request": { "name": "Planning (SYNC)", "description": { "content": "Sync method for trip planning.\nUse only for testing and manual plannings.\nFor production use [async method](#operation/plan_async).\n", "type": "text/plain" }, "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "auth": null, "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"\",\n \"geopoint\": {\n \"value\": \"\"\n },\n \"arrival_duration\": {\n \"value\": \"\"\n },\n \"departure_duration\": {\n \"value\": \"\"\n },\n \"compatibilities\": {\n \"value\": \"\"\n },\n \"attributes\": {\n \"value\": \"\"\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"\",\n \"demands\": [\n {\n \"value\": \"\"\n }\n ],\n \"compatibilities\": {\n \"value\": \"\"\n },\n \"attributes\": {\n \"value\": \"\"\n }\n }\n ],\n \"performers\": [\n {\n \"key\": \"\",\n \"shifts\": [\n {\n \"value\": \"\"\n }\n ],\n \"own_transport_type\": {\n \"value\": \"\"\n },\n \"compatibilities\": {\n \"value\": \"\"\n },\n \"limits\": {\n \"value\": \"\"\n },\n \"attributes\": {\n \"value\": \"\"\n }\n }\n ],\n \"transports\": [\n {\n \"key\": \"\",\n \"shifts\": [\n {\n \"value\": \"\"\n }\n ],\n \"transport_type\": {\n \"value\": \"\"\n },\n \"compatibilities\": {\n \"value\": \"\"\n },\n \"limits\": {\n \"value\": \"\"\n },\n \"attributes\": {\n \"value\": \"\"\n }\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": {\n \"value\": \"\"\n },\n \"trip_start_time_strategy\": {\n \"value\": \"\"\n },\n \"assumptions\": {\n \"value\": \"\"\n },\n \"penalties\": {\n \"value\": \"\"\n }\n },\n \"geo_settings\": {\n \"geo_provider\": {\n \"value\": \"\"\n },\n \"toll_roads\": {\n \"value\": \"\"\n },\n \"ferry_crossing\": {\n \"value\": \"\"\n },\n \"traffic_jams\": {\n \"value\": \"\"\n },\n \"flight_distance\": {\n \"value\": \"\"\n },\n \"restricted_zones\": {\n \"value\": \"\"\n }\n },\n \"calculation_settings\": {\n \"max_calculation_time\": {\n \"value\": \"\"\n },\n \"max_waiting_time\": {\n \"value\": \"\"\n },\n \"result_ttl\": {\n \"value\": \"\"\n },\n \"result_timezone\": {\n \"value\": \"\"\n },\n \"treat_validations_as_errors\": {\n \"value\": \"\"\n },\n \"precision\": {\n \"value\": \"\"\n }\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "response": [ { "id": "066414d2-359d-47b2-95fa-e903d0b14e69", "name": "Successful execution", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"861c8e0a-2651-444e-b426-71cdccc31423\",\n \"client\": \"veeroute_|_example\",\n \"server\": \"Universal:leo\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"runPlanCalculation\",\n \"time\": \"2022-06-01T11:50:15.123Z\"\n },\n \"trips\": [\n {\n \"key\": \"performer_1_shift\",\n \"performer\": {\n \"performer_key\": \"performer_1\",\n \"shift_key\": \"performer_1_shift\",\n \"shift_time\": {\n \"from\": \"2022-06-08T04:48:15Z\",\n \"to\": \"2022-06-08T05:40:56Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport_1\",\n \"shift_key\": \"transport_1_shift\",\n \"shift_time\": {\n \"from\": \"2022-06-08T04:48:15Z\",\n \"to\": \"2022-06-08T05:40:56Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2022-06-08T04:48:15Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:48:15Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_1\",\n \"demand_key\": \"demand_1_pickup\",\n \"event_key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:48:15Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:48:15Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_2\",\n \"demand_key\": \"demand_2_pickup\",\n \"event_key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:48:15Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n },\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:48:15Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n },\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:00:00Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_1\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n },\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:00:00Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_1\",\n \"demand_key\": \"demand_1_drop\",\n \"event_key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n },\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:10:00Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_1\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:10:00Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:12:04Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_3\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:12:04Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_3\",\n \"demand_key\": \"demand_3_work\",\n \"event_key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:27:04Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_3\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:27:04Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:30:56Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_2\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:30:56Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_2\",\n \"demand_key\": \"demand_2_drop\",\n \"event_key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:40:56Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_2\",\n \"cargo_placements\": [],\n \"attributes\": []\n }\n ],\n \"waitlist\": [],\n \"attributes\": []\n }\n ],\n \"statistics\": {\n \"total_statistics\": {\n \"cost\": 2176.933,\n \"reward\": 3000.3,\n \"measurements\": {\n \"driving_time\": \"PT52M41S\",\n \"waiting_time\": \"PT0S\",\n \"working_time\": \"PT35M\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT1H27M41S\",\n \"distance\": 31306,\n \"time_window\": {\n \"from\": \"2022-06-08T04:48:15Z\",\n \"to\": \"2022-06-08T05:40:56Z\"\n }\n },\n \"performers_count\": 1,\n \"orders_count\": 3,\n \"plan_orders_count\": 3,\n \"waitlist_orders_count\": 0,\n \"capacity_utilization\": {\n \"mass\": 0.01,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n },\n \"capacity_max\": {\n \"mass\": 0.006,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n },\n \"quality\": {\n \"soft_time_window_violations\": {\n \"before\": {\n \"keys\": [],\n \"count\": 0\n },\n \"after\": {\n \"keys\": [],\n \"count\": 0\n }\n },\n \"hard_time_window_violations\": {\n \"before\": {\n \"keys\": [],\n \"count\": 0\n },\n \"after\": {\n \"keys\": [],\n \"count\": 0\n }\n }\n }\n },\n \"trips_statistics\": [\n {\n \"trip_key\": \"performer_1_shift\",\n \"statistics\": {\n \"cost\": 2176.9333333333334,\n \"reward\": 3000.3,\n \"measurements\": {\n \"driving_time\": \"PT52M41S\",\n \"waiting_time\": \"PT0S\",\n \"working_time\": \"PT35M\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT1H27M41S\",\n \"distance\": 31306,\n \"time_window\": {\n \"from\": \"2022-06-08T04:48:15Z\",\n \"to\": \"2022-06-08T05:40:56Z\"\n }\n },\n \"performers_count\": 1,\n \"orders_count\": 3,\n \"plan_orders_count\": 3,\n \"waitlist_orders_count\": 0,\n \"capacity_utilization\": {\n \"mass\": 0.01,\n \"volume\": 1,\n \"capacity_a\": 1,\n \"capacity_b\": 1,\n \"capacity_c\": 1\n },\n \"capacity_max\": {\n \"mass\": 0.006,\n \"volume\": 1,\n \"capacity_a\": 1,\n \"capacity_b\": 1,\n \"capacity_c\": 1\n },\n \"quality\": {\n \"soft_time_window_violations\": {\n \"before\": {\n \"keys\": [],\n \"count\": 0\n },\n \"after\": {\n \"keys\": [],\n \"count\": 0\n }\n },\n \"hard_time_window_violations\": {\n \"before\": {\n \"keys\": [],\n \"count\": 0\n },\n \"after\": {\n \"keys\": [],\n \"count\": 0\n }\n }\n }\n },\n \"stop_statistics\": [\n {\n \"location_key\": \"location_storage\",\n \"demand_ids\": [\n \"demand_2_pickup\",\n \"demand_1_pickup\"\n ],\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 0,\n \"time_window\": {\n \"from\": \"2022-06-08T04:48:15Z\",\n \"to\": \"2022-06-08T04:48:15Z\"\n }\n },\n \"upload\": {\n \"count\": 2,\n \"capacity\": {\n \"mass\": 2,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"download\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"max_load\": {\n \"count\": 2,\n \"capacity\": {\n \"mass\": 2,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"arrival_load\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"departure_load\": {\n \"count\": 1,\n \"capacity\": {\n \"mass\": 1,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n }\n },\n {\n \"location_key\": \"location_client_1\",\n \"demand_ids\": [\n \"demand_1_drop\"\n ],\n \"measurements\": {\n \"driving_time\": \"PT21M45S\",\n \"waiting_time\": \"PT0S\",\n \"working_time\": \"PT10M\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT31M45S\",\n \"distance\": 8878,\n \"time_window\": {\n \"from\": \"2022-06-08T04:48:15Z\",\n \"to\": \"2022-06-08T05:10:00Z\"\n }\n },\n \"upload\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"download\": {\n \"count\": 1,\n \"capacity\": {\n \"mass\": 1,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"max_load\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"arrival_load\": {\n \"count\": 1,\n \"capacity\": {\n \"mass\": 1,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"departure_load\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n }\n },\n {\n \"location_key\": \"location_client_3\",\n \"demand_ids\": [\n \"demand_3_work\"\n ],\n \"measurements\": {\n \"driving_time\": \"PT17M4S\",\n \"waiting_time\": \"PT0S\",\n \"working_time\": \"PT15M\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT32M4S\",\n \"distance\": 10003,\n \"time_window\": {\n \"from\": \"2022-06-08T05:10:00Z\",\n \"to\": \"2022-06-08T05:27:04Z\"\n }\n },\n \"upload\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"download\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"max_load\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"arrival_load\": {\n \"count\": 2,\n \"capacity\": {\n \"mass\": 2,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"departure_load\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n }\n },\n {\n \"location_key\": \"location_client_2\",\n \"demand_ids\": [\n \"demand_2_drop\"\n ],\n \"measurements\": {\n \"driving_time\": \"PT13M52S\",\n \"waiting_time\": \"PT0S\",\n \"working_time\": \"PT10M\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT23M52S\",\n \"distance\": 12425,\n \"time_window\": {\n \"from\": \"2022-06-08T05:27:04Z\",\n \"to\": \"2022-06-08T05:40:56Z\"\n }\n },\n \"upload\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"download\": {\n \"count\": 1,\n \"capacity\": {\n \"mass\": 1,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"max_load\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"arrival_load\": {\n \"count\": 2,\n \"capacity\": {\n \"mass\": 2,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"departure_load\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n }\n }\n ],\n \"total_load\": {\n \"count\": 2,\n \"capacity\": {\n \"mass\": 2,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"max_load\": {\n \"count\": 2,\n \"capacity\": {\n \"mass\": 2,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"max_transfer_load\": {\n \"count\": 2,\n \"capacity\": {\n \"mass\": 2,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n }\n }\n ]\n },\n \"progress\": 100,\n \"info\": {\n \"status\": \"FINISHED_IN_TIME\",\n \"result_version\": 108,\n \"calculation_time\": \"PT20S\",\n \"waiting_time\": \"PT15S\"\n },\n \"validations\": [],\n \"unplanned_items\": {\n \"order_keys\": [],\n \"performer_keys\": [],\n \"transport_keys\": [],\n \"hardlink_keys\": []\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "b03514a5-1060-42f6-88aa-d372723950e4", "name": "Bad request - data contain errors", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"logical_errors\": [\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "abe57de5-8d9c-4faf-bce1-af54b63d5254", "name": "Unauthorized - token missing or invalid\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "3451ac9f-e728-4ee6-bf9c-b2d28e093558", "name": "Payment Required", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Payment Required", "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "1394e820-adcf-4125-8980-1fb7d59b0464", "name": "Not found", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "44a09035-3f53-4645-9e37-03ec943d333b", "name": "Method not allowed, check method (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Method Not Allowed", "code": 405, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "5d6b8514-635b-4680-80ad-922ed425e384", "name": "Client is unable to process a format of response, check headers\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Not Acceptable", "code": 406, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "1e366cb1-a35d-413c-bcd5-a5a25830aab5", "name": "Unsupported media type, check headers\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Unsupported Media Type", "code": 415, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "df3a0270-0d39-46d8-b20c-fd741ce53e11", "name": "Too many requests", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "251d0d3e-e647-4f7c-9e9f-891586b60da0", "name": "Internal server error", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "b23b8aa0-b967-42a3-b427-d121502535ab", "name": "Not implemented", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Not Implemented", "code": 501, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "a9851195-f81d-4d04-9e86-a39b299d8d4e", "name": "Bad gateway", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Bad Gateway", "code": 502, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "b9ee5c6c-678c-49f7-94ce-bf899287aa31", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Service Unavailable", "code": 503, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "17341733-86e1-4fb4-a152-06d81a553050", "name": "Gateway timeout", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Gateway Timeout", "code": 504, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "a11fbd17-ee46-40be-82d7-206f7d57f641", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "6d6bf1b1-530d-492b-9583-33f2fd2d964c", "name": "Planning (ASYNC)", "request": { "name": "Planning (ASYNC)", "description": { "content": "Trip planning.\nThe 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": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "auth": null, "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"\",\n \"geopoint\": {\n \"value\": \"\"\n },\n \"arrival_duration\": {\n \"value\": \"\"\n },\n \"departure_duration\": {\n \"value\": \"\"\n },\n \"compatibilities\": {\n \"value\": \"\"\n },\n \"attributes\": {\n \"value\": \"\"\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"\",\n \"demands\": [\n {\n \"value\": \"\"\n }\n ],\n \"compatibilities\": {\n \"value\": \"\"\n },\n \"attributes\": {\n \"value\": \"\"\n }\n }\n ],\n \"performers\": [\n {\n \"key\": \"\",\n \"shifts\": [\n {\n \"value\": \"\"\n }\n ],\n \"own_transport_type\": {\n \"value\": \"\"\n },\n \"compatibilities\": {\n \"value\": \"\"\n },\n \"limits\": {\n \"value\": \"\"\n },\n \"attributes\": {\n \"value\": \"\"\n }\n }\n ],\n \"transports\": [\n {\n \"key\": \"\",\n \"shifts\": [\n {\n \"value\": \"\"\n }\n ],\n \"transport_type\": {\n \"value\": \"\"\n },\n \"compatibilities\": {\n \"value\": \"\"\n },\n \"limits\": {\n \"value\": \"\"\n },\n \"attributes\": {\n \"value\": \"\"\n }\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": {\n \"value\": \"\"\n },\n \"trip_start_time_strategy\": {\n \"value\": \"\"\n },\n \"assumptions\": {\n \"value\": \"\"\n },\n \"penalties\": {\n \"value\": \"\"\n }\n },\n \"geo_settings\": {\n \"geo_provider\": {\n \"value\": \"\"\n },\n \"toll_roads\": {\n \"value\": \"\"\n },\n \"ferry_crossing\": {\n \"value\": \"\"\n },\n \"traffic_jams\": {\n \"value\": \"\"\n },\n \"flight_distance\": {\n \"value\": \"\"\n },\n \"restricted_zones\": {\n \"value\": \"\"\n }\n },\n \"calculation_settings\": {\n \"max_calculation_time\": {\n \"value\": \"\"\n },\n \"max_waiting_time\": {\n \"value\": \"\"\n },\n \"result_ttl\": {\n \"value\": \"\"\n },\n \"result_timezone\": {\n \"value\": \"\"\n },\n \"treat_validations_as_errors\": {\n \"value\": \"\"\n },\n \"precision\": {\n \"value\": \"\"\n }\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "response": [ { "id": "1cac913a-7969-4580-90d2-7699d84801e0", "name": "Successful execution", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"id\": \"11111111-2222-3333-4444-555555555555\",\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "b517b935-4408-4b58-8256-5f6b4a8adf71", "name": "Bad request - data contain errors", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"logical_errors\": [\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "7b5484ee-16f5-47c8-b46a-2a37af4547f0", "name": "Unauthorized - token missing or invalid\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "f08e0f47-e6f1-4993-8162-a6940d5b346b", "name": "Payment Required", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Payment Required", "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "4160dc1e-19b9-4c12-b0bf-1327002ae0a0", "name": "Not found", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "8cd46774-f0ef-46c9-8aff-4d338eb2feba", "name": "Method not allowed, check method (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Method Not Allowed", "code": 405, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "3236f5b9-b6c1-4028-94a9-762a523f8fb6", "name": "Client is unable to process a format of response, check headers\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Not Acceptable", "code": 406, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "558d1618-5fec-43ba-ab22-2bd36e655c78", "name": "Unsupported media type, check headers\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Unsupported Media Type", "code": 415, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "ff921e95-1ce5-448f-971e-bd7a813d156c", "name": "Too many requests", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "4821e050-0435-4e04-9053-69be571d2dba", "name": "Internal server error", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "5dcd3b50-d6c3-4ef5-8b35-9c75121172f0", "name": "Not implemented", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Not Implemented", "code": 501, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "ea5e9555-5fad-4e6c-8084-19a7363654c6", "name": "Bad gateway", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Bad Gateway", "code": 502, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "4f1c2997-1f36-45cc-91cd-e920f579ce7b", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Service Unavailable", "code": 503, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "89f7d2f9-4044-4f69-95c2-fbc0950761fd", "name": "Gateway timeout", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Gateway Timeout", "code": 504, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "b3b581c5-1670-4320-805c-e317f76396e9", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "6d54c2a9-cc8b-4a5c-9d60-6852524d6218", "name": "Calculation state", "request": { "name": "Calculation state", "description": { "content": "Read calculation state by the calculation identifier.", "type": "text/plain" }, "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "GET", "auth": null }, "response": [ { "id": "c7e54709-561c-4762-a359-17be704090f0", "name": "Successful execution", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"progress\": 52,\n \"info\": {\n \"status\": \"FINISHED_IN_TIME\",\n \"result_version\": 133,\n \"calculation_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "fbad4cbd-59ba-4511-9fb5-ea5df45eb1b3", "name": "Bad request - data contain errors", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"logical_errors\": [\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "ad1ed121-2141-4302-a55b-0be4c2294359", "name": "Unauthorized - token missing or invalid\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "76a3c0a3-2a8b-4adc-be2b-540de3385eb2", "name": "Payment Required", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Payment Required", "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "478f30b9-6f01-4e95-bbae-a91cfa965309", "name": "Not found", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "da15d562-2a9a-43a0-bd10-1c9ad28c1e86", "name": "Method not allowed, check method (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "de935c2d-3307-4fd4-a6ed-427ad1998f92", "name": "Client is unable to process a format of response, check headers\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "c4fb2f07-4497-4c3a-adf3-965bddb9fe12", "name": "Unsupported media type, check headers\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "b54fbed3-3ced-4497-bcf4-353d8ee4c754", "name": "Too many requests", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "5c29fa8d-c938-4942-9ecd-995089558b27", "name": "Internal server error", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "a6053c45-8f6f-46ab-b215-59f761d0b154", "name": "Not implemented", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "50c9c31d-bf1b-4ff9-858e-f7a4e2dd8bd6", "name": "Bad gateway", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "e74bbdb1-c3f1-4037-a9ff-e0619b2b52e7", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "da8c03f7-b40c-49f2-8275-ee1da6e9369e", "name": "Gateway timeout", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "9f93ffe0-74e2-44dd-8e00-f2b9abfc0e07", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "111a89e2-b654-4aad-8822-86e6976d47da", "name": "Cancel calculation", "request": { "name": "Cancel calculation", "description": { "content": "Cancel calculation by the calculation identifier.", "type": "text/plain" }, "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "DELETE", "auth": null }, "response": [ { "id": "136218ed-3dd1-4c44-987a-5133e1657fb2", "name": "Successful execution - calculation has been canceled", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "d2e111dd-7ac5-47dd-8306-7418ea483585", "name": "Bad request - data contain errors", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"logical_errors\": [\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "04c4f065-f517-4077-b4e2-e3961f0f0b96", "name": "Unauthorized - token missing or invalid\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "1cf754b7-1475-4019-822d-cfee2dc76a76", "name": "Payment Required", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Payment Required", "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "be915dbe-eb3c-4dc8-b6cd-de63efe1910f", "name": "Not found", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "235dfd37-ee9a-4984-b332-a1783eac6db7", "name": "Method not allowed, check method (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "915f16f5-40b5-4877-913f-7394f4f706ec", "name": "Client is unable to process a format of response, check headers\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "0cc3da9a-5093-4bc8-b5de-200145e45830", "name": "Unsupported media type, check headers\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "2fddc4d2-0a75-41e1-be5f-4934a2f17fda", "name": "Too many requests", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "272176fe-e115-4747-b0cf-d645b029acc1", "name": "Internal server error", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "5fddaac8-a180-4fa1-bf01-be6d9791502a", "name": "Not implemented", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "d0eec1fa-c3c9-4227-ac3b-6e0e9228b9bf", "name": "Bad gateway", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "4c24e641-c77b-4f8d-a19c-3a355bce4aac", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "073bcc02-8d9f-4eed-9663-3a5084b29897", "name": "Gateway timeout", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "0f7098b0-d84b-429c-942b-7bfc603e5576", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "db409046-6d27-4033-940f-be262c3e058c", "name": "Getting the result", "request": { "name": "Getting the result", "description": { "content": "Getting the planning result based on the calculation identifier.", "type": "text/plain" }, "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "GET", "auth": null }, "response": [ { "id": "28b02453-b0ed-48ee-86c8-94e48d0b81e5", "name": "Successful execution - planning has been completed.", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"861c8e0a-2651-444e-b426-71cdccc31423\",\n \"client\": \"veeroute_|_example\",\n \"server\": \"Universal:leo\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"runPlanCalculation\",\n \"time\": \"2022-06-01T11:50:15.123Z\"\n },\n \"trips\": [\n {\n \"key\": \"performer_1_shift\",\n \"performer\": {\n \"performer_key\": \"performer_1\",\n \"shift_key\": \"performer_1_shift\",\n \"shift_time\": {\n \"from\": \"2022-06-08T04:48:15Z\",\n \"to\": \"2022-06-08T05:40:56Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport_1\",\n \"shift_key\": \"transport_1_shift\",\n \"shift_time\": {\n \"from\": \"2022-06-08T04:48:15Z\",\n \"to\": \"2022-06-08T05:40:56Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2022-06-08T04:48:15Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:48:15Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_1\",\n \"demand_key\": \"demand_1_pickup\",\n \"event_key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:48:15Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:48:15Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_2\",\n \"demand_key\": \"demand_2_pickup\",\n \"event_key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:48:15Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n },\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:48:15Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n },\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:00:00Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_1\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n },\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:00:00Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_1\",\n \"demand_key\": \"demand_1_drop\",\n \"event_key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n },\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:10:00Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_1\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:10:00Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:12:04Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_3\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:12:04Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_3\",\n \"demand_key\": \"demand_3_work\",\n \"event_key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:27:04Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_3\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:27:04Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:30:56Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_2\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:30:56Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_2\",\n \"demand_key\": \"demand_2_drop\",\n \"event_key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:40:56Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_2\",\n \"cargo_placements\": [],\n \"attributes\": []\n }\n ],\n \"waitlist\": [],\n \"attributes\": []\n }\n ],\n \"statistics\": {\n \"total_statistics\": {\n \"cost\": 2176.933,\n \"reward\": 3000.3,\n \"measurements\": {\n \"driving_time\": \"PT52M41S\",\n \"waiting_time\": \"PT0S\",\n \"working_time\": \"PT35M\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT1H27M41S\",\n \"distance\": 31306,\n \"time_window\": {\n \"from\": \"2022-06-08T04:48:15Z\",\n \"to\": \"2022-06-08T05:40:56Z\"\n }\n },\n \"performers_count\": 1,\n \"orders_count\": 3,\n \"plan_orders_count\": 3,\n \"waitlist_orders_count\": 0,\n \"capacity_utilization\": {\n \"mass\": 0.01,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n },\n \"capacity_max\": {\n \"mass\": 0.006,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n },\n \"quality\": {\n \"soft_time_window_violations\": {\n \"before\": {\n \"keys\": [],\n \"count\": 0\n },\n \"after\": {\n \"keys\": [],\n \"count\": 0\n }\n },\n \"hard_time_window_violations\": {\n \"before\": {\n \"keys\": [],\n \"count\": 0\n },\n \"after\": {\n \"keys\": [],\n \"count\": 0\n }\n }\n }\n },\n \"trips_statistics\": [\n {\n \"trip_key\": \"performer_1_shift\",\n \"statistics\": {\n \"cost\": 2176.9333333333334,\n \"reward\": 3000.3,\n \"measurements\": {\n \"driving_time\": \"PT52M41S\",\n \"waiting_time\": \"PT0S\",\n \"working_time\": \"PT35M\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT1H27M41S\",\n \"distance\": 31306,\n \"time_window\": {\n \"from\": \"2022-06-08T04:48:15Z\",\n \"to\": \"2022-06-08T05:40:56Z\"\n }\n },\n \"performers_count\": 1,\n \"orders_count\": 3,\n \"plan_orders_count\": 3,\n \"waitlist_orders_count\": 0,\n \"capacity_utilization\": {\n \"mass\": 0.01,\n \"volume\": 1,\n \"capacity_a\": 1,\n \"capacity_b\": 1,\n \"capacity_c\": 1\n },\n \"capacity_max\": {\n \"mass\": 0.006,\n \"volume\": 1,\n \"capacity_a\": 1,\n \"capacity_b\": 1,\n \"capacity_c\": 1\n },\n \"quality\": {\n \"soft_time_window_violations\": {\n \"before\": {\n \"keys\": [],\n \"count\": 0\n },\n \"after\": {\n \"keys\": [],\n \"count\": 0\n }\n },\n \"hard_time_window_violations\": {\n \"before\": {\n \"keys\": [],\n \"count\": 0\n },\n \"after\": {\n \"keys\": [],\n \"count\": 0\n }\n }\n }\n },\n \"stop_statistics\": [\n {\n \"location_key\": \"location_storage\",\n \"demand_ids\": [\n \"demand_2_pickup\",\n \"demand_1_pickup\"\n ],\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 0,\n \"time_window\": {\n \"from\": \"2022-06-08T04:48:15Z\",\n \"to\": \"2022-06-08T04:48:15Z\"\n }\n },\n \"upload\": {\n \"count\": 2,\n \"capacity\": {\n \"mass\": 2,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"download\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"max_load\": {\n \"count\": 2,\n \"capacity\": {\n \"mass\": 2,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"arrival_load\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"departure_load\": {\n \"count\": 1,\n \"capacity\": {\n \"mass\": 1,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n }\n },\n {\n \"location_key\": \"location_client_1\",\n \"demand_ids\": [\n \"demand_1_drop\"\n ],\n \"measurements\": {\n \"driving_time\": \"PT21M45S\",\n \"waiting_time\": \"PT0S\",\n \"working_time\": \"PT10M\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT31M45S\",\n \"distance\": 8878,\n \"time_window\": {\n \"from\": \"2022-06-08T04:48:15Z\",\n \"to\": \"2022-06-08T05:10:00Z\"\n }\n },\n \"upload\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"download\": {\n \"count\": 1,\n \"capacity\": {\n \"mass\": 1,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"max_load\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"arrival_load\": {\n \"count\": 1,\n \"capacity\": {\n \"mass\": 1,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"departure_load\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n }\n },\n {\n \"location_key\": \"location_client_3\",\n \"demand_ids\": [\n \"demand_3_work\"\n ],\n \"measurements\": {\n \"driving_time\": \"PT17M4S\",\n \"waiting_time\": \"PT0S\",\n \"working_time\": \"PT15M\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT32M4S\",\n \"distance\": 10003,\n \"time_window\": {\n \"from\": \"2022-06-08T05:10:00Z\",\n \"to\": \"2022-06-08T05:27:04Z\"\n }\n },\n \"upload\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"download\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"max_load\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"arrival_load\": {\n \"count\": 2,\n \"capacity\": {\n \"mass\": 2,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"departure_load\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n }\n },\n {\n \"location_key\": \"location_client_2\",\n \"demand_ids\": [\n \"demand_2_drop\"\n ],\n \"measurements\": {\n \"driving_time\": \"PT13M52S\",\n \"waiting_time\": \"PT0S\",\n \"working_time\": \"PT10M\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT23M52S\",\n \"distance\": 12425,\n \"time_window\": {\n \"from\": \"2022-06-08T05:27:04Z\",\n \"to\": \"2022-06-08T05:40:56Z\"\n }\n },\n \"upload\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"download\": {\n \"count\": 1,\n \"capacity\": {\n \"mass\": 1,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"max_load\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"arrival_load\": {\n \"count\": 2,\n \"capacity\": {\n \"mass\": 2,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"departure_load\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n }\n }\n ],\n \"total_load\": {\n \"count\": 2,\n \"capacity\": {\n \"mass\": 2,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"max_load\": {\n \"count\": 2,\n \"capacity\": {\n \"mass\": 2,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"max_transfer_load\": {\n \"count\": 2,\n \"capacity\": {\n \"mass\": 2,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n }\n }\n ]\n },\n \"progress\": 100,\n \"info\": {\n \"status\": \"FINISHED_IN_TIME\",\n \"result_version\": 108,\n \"calculation_time\": \"PT20S\",\n \"waiting_time\": \"PT15S\"\n },\n \"validations\": [],\n \"unplanned_items\": {\n \"order_keys\": [],\n \"performer_keys\": [],\n \"transport_keys\": [],\n \"hardlink_keys\": []\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "2b580959-b1d2-461e-b0aa-a362ea3140cb", "name": "Planning is in progress.", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Accepted", "code": 202, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"trips\": [],\n \"statistics\": {\n \"total_statistics\": {\n \"cost\": {\n \"value\": \"\"\n },\n \"reward\": {\n \"value\": \"\"\n },\n \"measurements\": {\n \"value\": \"\"\n },\n \"performers_count\": {\n \"value\": \"\"\n },\n \"orders_count\": {\n \"value\": \"\"\n },\n \"plan_orders_count\": {\n \"value\": \"\"\n },\n \"waitlist_orders_count\": {\n \"value\": \"\"\n },\n \"capacity_utilization\": {\n \"value\": \"\"\n },\n \"capacity_max\": {\n \"value\": \"\"\n },\n \"quality\": {\n \"value\": \"\"\n }\n },\n \"trips_statistics\": [\n {\n \"value\": \"\"\n }\n ]\n },\n \"progress\": 52,\n \"info\": {\n \"status\": \"FINISHED_IN_TIME\",\n \"result_version\": 133,\n \"calculation_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\"\n },\n \"unplanned_items\": {\n \"order_keys\": [\n \"key_01\"\n ],\n \"performer_keys\": [\n \"key_01\"\n ],\n \"transport_keys\": [\n \"key_01\"\n ],\n \"hardlink_keys\": [\n \"key_01\"\n ]\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "2919b5f7-8703-432a-98dc-8dfe69063593", "name": "Bad request - data contain errors", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"logical_errors\": [\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "5bab9d23-353f-411b-8eb2-2ca98c5fbb5e", "name": "Unauthorized - token missing or invalid\n", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "208d5193-1eb4-4742-a464-db241d71e085", "name": "Payment Required", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Payment Required", "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "1f0b8ed7-a56c-4075-b725-8216aecf83f5", "name": "Not found", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "919dd0f2-2b44-44f9-b604-930df3e22b09", "name": "Method not allowed, check method (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "60701364-304b-438d-bea1-4d1bfac13d54", "name": "Client is unable to process a format of response, check headers\n", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "f4e819e8-22eb-473d-95be-cf412a14f42a", "name": "Unsupported media type, check headers\n", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "69c19603-f467-4e90-8570-7abbe58181ea", "name": "Too many requests", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "2c9a583f-47cd-4174-9628-12b2b7346ded", "name": "Internal server error", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "beb64328-9598-4494-b736-5caa3ec5620f", "name": "Not implemented", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "1984a3a4-798b-4452-a463-c7a8d80657b2", "name": "Bad gateway", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "9186d58a-f7e6-4510-949f-a542b9968720", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "4b88d03d-ddfc-4052-a4e0-9475ada1106d", "name": "Gateway timeout", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "d1b9d94f-cd11-4d91-8ca5-714aea3156f5", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "d67d6fcc-af53-43bd-bb14-28d1e496ff8f", "name": "Result removal", "request": { "name": "Result removal", "description": { "content": "Removal of the planning result by the calculation identifier.", "type": "text/plain" }, "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "DELETE", "auth": null }, "response": [ { "id": "933d8e4c-d14f-4425-8c27-6dbc30d2d3e3", "name": "Successful execution - planning has been deleted", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "f9375741-17fa-4719-b85c-b67d7a096b12", "name": "Bad request - data contain errors", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"logical_errors\": [\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "557a8fed-2f46-4338-a27c-95d3be83949f", "name": "Unauthorized - token missing or invalid\n", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "ef9ce30b-5a40-4635-a7d1-5c0a15fe8739", "name": "Payment Required", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Payment Required", "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "ad6a80ea-89b3-4391-a6af-ae02aef7832e", "name": "Not found", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "022dd32f-ecce-44a5-8006-e716217bd617", "name": "Method not allowed, check method (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "c6245c15-d526-43e4-a1dd-612359ed7ccf", "name": "Client is unable to process a format of response, check headers\n", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "d531c941-425f-4fcf-af2e-dc5209b84a24", "name": "Unsupported media type, check headers\n", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "ee460268-52bd-437e-8d19-960ddb24a1a6", "name": "Too many requests", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "277526f7-d317-42d5-a059-17b8033cf12a", "name": "Internal server error", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "47caaaf2-1cd6-4164-a992-ff6ad830f960", "name": "Not implemented", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "f6d8f160-f3aa-40f4-8ec2-a972cb1e2fb1", "name": "Bad gateway", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "0e66cbf9-40d2-41e7-89f2-5bce4ee510fd", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "121d6486-fc86-4a55-a292-adcb32813c09", "name": "Gateway timeout", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "b571305a-6429-4daa-8fa6-d3d1fbf53a37", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "disabled": false, "type": "any", "value": "", "key": "id", "description": "(Required) Calculation identifier." } ] }, "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": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "21caf12c-78f2-4769-beab-68ff28f555b4", "name": "Data validation", "request": { "name": "Data validation", "description": { "content": "Check data before using.", "type": "text/plain" }, "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "auth": null, "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"\",\n \"geopoint\": {\n \"value\": \"\"\n },\n \"arrival_duration\": {\n \"value\": \"\"\n },\n \"departure_duration\": {\n \"value\": \"\"\n },\n \"compatibilities\": {\n \"value\": \"\"\n },\n \"attributes\": {\n \"value\": \"\"\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"\",\n \"demands\": [\n {\n \"value\": \"\"\n }\n ],\n \"compatibilities\": {\n \"value\": \"\"\n },\n \"attributes\": {\n \"value\": \"\"\n }\n }\n ],\n \"performers\": [\n {\n \"key\": \"\",\n \"shifts\": [\n {\n \"value\": \"\"\n }\n ],\n \"own_transport_type\": {\n \"value\": \"\"\n },\n \"compatibilities\": {\n \"value\": \"\"\n },\n \"limits\": {\n \"value\": \"\"\n },\n \"attributes\": {\n \"value\": \"\"\n }\n }\n ],\n \"transports\": [\n {\n \"key\": \"\",\n \"shifts\": [\n {\n \"value\": \"\"\n }\n ],\n \"transport_type\": {\n \"value\": \"\"\n },\n \"compatibilities\": {\n \"value\": \"\"\n },\n \"limits\": {\n \"value\": \"\"\n },\n \"attributes\": {\n \"value\": \"\"\n }\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": {\n \"value\": \"\"\n },\n \"trip_start_time_strategy\": {\n \"value\": \"\"\n },\n \"assumptions\": {\n \"value\": \"\"\n },\n \"penalties\": {\n \"value\": \"\"\n }\n },\n \"geo_settings\": {\n \"geo_provider\": {\n \"value\": \"\"\n },\n \"toll_roads\": {\n \"value\": \"\"\n },\n \"ferry_crossing\": {\n \"value\": \"\"\n },\n \"traffic_jams\": {\n \"value\": \"\"\n },\n \"flight_distance\": {\n \"value\": \"\"\n },\n \"restricted_zones\": {\n \"value\": \"\"\n }\n },\n \"calculation_settings\": {\n \"max_calculation_time\": {\n \"value\": \"\"\n },\n \"max_waiting_time\": {\n \"value\": \"\"\n },\n \"result_ttl\": {\n \"value\": \"\"\n },\n \"result_timezone\": {\n \"value\": \"\"\n },\n \"treat_validations_as_errors\": {\n \"value\": \"\"\n },\n \"precision\": {\n \"value\": \"\"\n }\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "response": [ { "id": "ecbec1f1-d812-46ec-b7d8-66d2c21d80c6", "name": "Successful execution", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"87d0c1a7-375b-412e-9ab8-8f4be24d0456\",\n \"client\": \"veeroute_|_example\",\n \"server\": \"Universal:leo\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"runValidation\",\n \"time\": \"2022-06-01T11:50:15.123Z\"\n },\n \"validations\": [\n {\n \"type\": \"NO_AVAILABLE_TRANSPORT\",\n \"entities\": [\n {\n \"entity_key\": \"ord0001\",\n \"entity_type\": \"ORDER\"\n }\n ]\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "ca49fd85-df5d-45f1-bfd8-69dae6ecc643", "name": "Bad request - data contain errors", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"logical_errors\": [\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "f16f724f-2a00-4b35-80f4-09bde0db164e", "name": "Unauthorized - token missing or invalid\n", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "188c9b34-bc83-4869-a670-1e745ef63952", "name": "Payment Required", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Payment Required", "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "5bf0d99d-69e6-4b0e-9b88-62190d24c5a5", "name": "Not found", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "3daae19d-aa61-4db7-823e-906e3b6daf35", "name": "Method not allowed, check method (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Method Not Allowed", "code": 405, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "a9dfb1aa-4d87-4f6a-807b-afbf0213d5f4", "name": "Client is unable to process a format of response, check headers\n", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Not Acceptable", "code": 406, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "bc4ddcc8-e5d0-42e5-b053-f0cbdc637426", "name": "Unsupported media type, check headers\n", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Unsupported Media Type", "code": 415, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "17a9cadc-6535-460b-9971-7b34fea7ebee", "name": "Too many requests", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "5660ad96-61d6-4d24-8c79-287908dd5c13", "name": "Internal server error", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "2cfa456c-4497-4f42-afad-ea0de2e83d9b", "name": "Not implemented", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Not Implemented", "code": 501, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "6bb3ee7e-cd0f-4cda-a229-d796af18820f", "name": "Bad gateway", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Bad Gateway", "code": 502, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "aea30e60-8a5c-4350-927b-b46b89f5865c", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Service Unavailable", "code": 503, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "71a6b0b4-c55d-4606-9466-bbb51aad8a78", "name": "Gateway timeout", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Gateway Timeout", "code": 504, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" }, { "id": "ec380c0c-846b-42a4-9edd-c296dfd721bd", "name": "Service unavailable", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 35.7048259,\n \"longitude\": 139.7297071\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 35.71861,\n \"longitude\": 139.7190533\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 35.7099049,\n \"longitude\": 139.7265958\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 35.7042346,\n \"longitude\": 139.6531996\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"plan_settings\": {\n \"trips_settings\": {\n \"configuration\": \"optimize_distance\"\n },\n \"geo_settings\": {\n \"toll_roads\": true,\n \"traffic_jams\": false\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "text/plain" } ], "body": "", "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } } ], "event": [] }, { "id": "9ad110aa-aeb5-472f-803c-2a27e7a787db", "name": "Replan", "description": { "content": "Replanning - creating new trips from existing trips, orders, performers and transport.\n", "type": "text/plain" }, "item": [ { "id": "65d33519-34c0-4039-865a-0295f0f2d7ca", "name": "Replanning (SYNC)", "request": { "name": "Replanning (SYNC)", "description": { "content": "Trips replanning - changing existing and creating new trips based on the facts and data about orders, performers and transport.\n", "type": "text/plain" }, "url": { "path": [ "universal", "replan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "auth": null, "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"\",\n \"geopoint\": {\n \"value\": \"\"\n },\n \"arrival_duration\": {\n \"value\": \"\"\n },\n \"departure_duration\": {\n \"value\": \"\"\n },\n \"compatibilities\": {\n \"value\": \"\"\n },\n \"attributes\": {\n \"value\": \"\"\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"\",\n \"demands\": [\n {\n \"value\": \"\"\n }\n ],\n \"compatibilities\": {\n \"value\": \"\"\n },\n \"attributes\": {\n \"value\": \"\"\n }\n }\n ],\n \"performers\": [\n {\n \"key\": \"\",\n \"shifts\": [\n {\n \"value\": \"\"\n }\n ],\n \"own_transport_type\": {\n \"value\": \"\"\n },\n \"compatibilities\": {\n \"value\": \"\"\n },\n \"limits\": {\n \"value\": \"\"\n },\n \"attributes\": {\n \"value\": \"\"\n }\n }\n ],\n \"transports\": [\n {\n \"key\": \"\",\n \"shifts\": [\n {\n \"value\": \"\"\n }\n ],\n \"transport_type\": {\n \"value\": \"\"\n },\n \"compatibilities\": {\n \"value\": \"\"\n },\n \"limits\": {\n \"value\": \"\"\n },\n \"attributes\": {\n \"value\": \"\"\n }\n }\n ],\n \"trips\": [\n {\n \"key\": \"\",\n \"performer\": {\n \"value\": \"\"\n },\n \"transport\": {\n \"value\": \"\"\n },\n \"states\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"waitlist\": {\n \"value\": \"\"\n },\n \"attributes\": {\n \"value\": \"\"\n }\n }\n ],\n \"facts\": {},\n \"replan_settings\": {\n \"strategy\": {\n \"reorder\": {\n \"value\": \"\"\n },\n \"plan_new_orders\": {\n \"value\": \"\"\n },\n \"create_new_trips\": {\n \"value\": \"\"\n }\n },\n \"trips_settings\": {\n \"configuration\": {\n \"value\": \"\"\n },\n \"trip_start_time_strategy\": {\n \"value\": \"\"\n },\n \"assumptions\": {\n \"value\": \"\"\n },\n \"penalties\": {\n \"value\": \"\"\n }\n },\n \"geo_settings\": {\n \"geo_provider\": {\n \"value\": \"\"\n },\n \"toll_roads\": {\n \"value\": \"\"\n },\n \"ferry_crossing\": {\n \"value\": \"\"\n },\n \"traffic_jams\": {\n \"value\": \"\"\n },\n \"flight_distance\": {\n \"value\": \"\"\n },\n \"restricted_zones\": {\n \"value\": \"\"\n }\n },\n \"calculation_settings\": {\n \"max_calculation_time\": {\n \"value\": \"\"\n },\n \"max_waiting_time\": {\n \"value\": \"\"\n },\n \"result_ttl\": {\n \"value\": \"\"\n },\n \"result_timezone\": {\n \"value\": \"\"\n },\n \"treat_validations_as_errors\": {\n \"value\": \"\"\n },\n \"precision\": {\n \"value\": \"\"\n }\n }\n }\n}", "options": { "raw": { "language": "json" } } } }, "response": [ { "id": "b3c12ae6-6e07-4269-acf6-7eaa221c3f66", "name": "Successful execution", "originalRequest": { "url": { "path": [ "universal", "replan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 55.713699,\n \"longitude\": 37.621839\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 55.630721,\n \"longitude\": 37.62493\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 55.722801,\n \"longitude\": 37.674984\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 55.685853,\n \"longitude\": 37.43181\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"trips\": [\n {\n \"key\": \"performer_1_shift\",\n \"performer\": {\n \"performer_key\": \"performer_1\",\n \"shift_key\": \"performer_1_shift\",\n \"shift_time\": {\n \"from\": \"2022-06-08T04:38:34Z\",\n \"to\": \"2022-06-08T05:53:39Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport_1\",\n \"shift_key\": \"transport_1_shift\",\n \"shift_time\": {\n \"from\": \"2022-06-08T04:38:34Z\",\n \"to\": \"2022-06-08T05:53:39Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2022-06-08T04:38:34Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:38:34Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_2\",\n \"demand_key\": \"demand_2_pickup\",\n \"event_key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:38:34Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:38:34Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_1\",\n \"demand_key\": \"demand_1_pickup\",\n \"event_key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:38:34Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n },\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:38:34Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n },\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:00:00Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_2\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n },\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:00:00Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_2\",\n \"demand_key\": \"demand_2_drop\",\n \"event_key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n },\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:10:00Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_2\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:10:00Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:20:52Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_1\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:20:52Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_1\",\n \"demand_key\": \"demand_1_drop\",\n \"event_key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:30:52Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_1\",\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:30:52Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:38:39Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_3\",\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:38:39Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_3\",\n \"demand_key\": \"demand_3_work\",\n \"event_key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:53:39Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_3\",\n \"cargo_placements\": [],\n \"attributes\": []\n }\n ],\n \"waitlist\": [],\n \"attributes\": []\n }\n ]\n}", "options": { "raw": { "language": "json" } } } }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"861c8e0a-2651-444e-b426-71cdccc31423\",\n \"client\": \"veeroute_|_example\",\n \"server\": \"Universal:leo\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"runReplanCalculation\",\n \"time\": \"2022-06-01T11:50:15.123Z\"\n },\n \"trips\": [\n {\n \"key\": \"performer_1_shift\",\n \"performer\": {\n \"performer_key\": \"performer_1\",\n \"shift_key\": \"performer_1_shift\",\n \"shift_time\": {\n \"from\": \"2022-06-08T04:38:34Z\",\n \"to\": \"2022-06-08T05:53:39Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport_1\",\n \"shift_key\": \"transport_1_shift\",\n \"shift_time\": {\n \"from\": \"2022-06-08T04:38:34Z\",\n \"to\": \"2022-06-08T05:53:39Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2022-06-08T04:38:34Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:38:34Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_2\",\n \"demand_key\": \"demand_2_pickup\",\n \"event_key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:38:34Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:38:34Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_1\",\n \"demand_key\": \"demand_1_pickup\",\n \"event_key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:38:34Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n },\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:38:34Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n },\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:00:00Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_2\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n },\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:00:00Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_2\",\n \"demand_key\": \"demand_2_drop\",\n \"event_key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n },\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:10:00Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_2\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:10:00Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:20:52Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_1\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:20:52Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_1\",\n \"demand_key\": \"demand_1_drop\",\n \"event_key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:30:52Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_1\",\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:30:52Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:38:39Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_3\",\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:38:39Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_3\",\n \"demand_key\": \"demand_3_work\",\n \"event_key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:53:39Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_3\",\n \"cargo_placements\": [],\n \"attributes\": []\n }\n ],\n \"waitlist\": [],\n \"attributes\": []\n }\n ],\n \"statistics\": {\n \"total_statistics\": {\n \"cost\": 2415.263,\n \"reward\": 3000.3,\n \"measurements\": {\n \"driving_time\": \"PT1H15M5S\",\n \"waiting_time\": \"PT0S\",\n \"working_time\": \"PT35M\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT1H50M5S\",\n \"distance\": 78117,\n \"time_window\": {\n \"from\": \"2022-06-08T04:38:34Z\",\n \"to\": \"2022-06-08T05:53:39Z\"\n }\n },\n \"performers_count\": 1,\n \"orders_count\": 3,\n \"plan_orders_count\": 3,\n \"waitlist_orders_count\": 0,\n \"capacity_utilization\": {\n \"mass\": 0.01,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n },\n \"capacity_max\": {\n \"mass\": 0.006,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n },\n \"quality\": {\n \"soft_time_window_violations\": {\n \"before\": {\n \"keys\": [],\n \"count\": 0\n },\n \"after\": {\n \"keys\": [],\n \"count\": 0\n }\n },\n \"hard_time_window_violations\": {\n \"before\": {\n \"keys\": [],\n \"count\": 0\n },\n \"after\": {\n \"keys\": [],\n \"count\": 0\n }\n }\n }\n },\n \"trips_statistics\": [\n {\n \"trip_key\": \"performer_1_shift\",\n \"statistics\": {\n \"cost\": 2415.2633333333333,\n \"reward\": 3000.3,\n \"measurements\": {\n \"driving_time\": \"PT1H15M5S\",\n \"waiting_time\": \"PT0S\",\n \"working_time\": \"PT35M\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT1H50M5S\",\n \"distance\": 78117,\n \"time_window\": {\n \"from\": \"2022-06-08T04:38:34Z\",\n \"to\": \"2022-06-08T05:53:39Z\"\n }\n },\n \"performers_count\": 1,\n \"orders_count\": 3,\n \"plan_orders_count\": 3,\n \"waitlist_orders_count\": 0,\n \"capacity_utilization\": {\n \"mass\": 0.01,\n \"volume\": 1,\n \"capacity_a\": 1,\n \"capacity_b\": 1,\n \"capacity_c\": 1\n },\n \"capacity_max\": {\n \"mass\": 0.006,\n \"volume\": 1,\n \"capacity_a\": 1,\n \"capacity_b\": 1,\n \"capacity_c\": 1\n },\n \"quality\": {\n \"soft_time_window_violations\": {\n \"before\": {\n \"keys\": [],\n \"count\": 0\n },\n \"after\": {\n \"keys\": [],\n \"count\": 0\n }\n },\n \"hard_time_window_violations\": {\n \"before\": {\n \"keys\": [],\n \"count\": 0\n },\n \"after\": {\n \"keys\": [],\n \"count\": 0\n }\n }\n }\n },\n \"stop_statistics\": [\n {\n \"location_key\": \"location_storage\",\n \"demand_ids\": [\n \"demand_2_pickup\",\n \"demand_1_pickup\"\n ],\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 0,\n \"time_window\": {\n \"from\": \"2022-06-08T04:38:34Z\",\n \"to\": \"2022-06-08T04:38:34Z\"\n }\n },\n \"upload\": {\n \"count\": 2,\n \"capacity\": {\n \"mass\": 2,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"download\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"max_load\": {\n \"count\": 2,\n \"capacity\": {\n \"mass\": 2,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"arrival_load\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"departure_load\": {\n \"count\": 1,\n \"capacity\": {\n \"mass\": 1,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n }\n },\n {\n \"location_key\": \"location_client_2\",\n \"demand_ids\": [\n \"demand_2_drop\"\n ],\n \"measurements\": {\n \"driving_time\": \"PT31M26S\",\n \"waiting_time\": \"PT0S\",\n \"working_time\": \"PT10M\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT41M26S\",\n \"distance\": 17108,\n \"time_window\": {\n \"from\": \"2022-06-08T04:38:34Z\",\n \"to\": \"2022-06-08T05:10:00Z\"\n }\n },\n \"upload\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"download\": {\n \"count\": 1,\n \"capacity\": {\n \"mass\": 1,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"max_load\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"arrival_load\": {\n \"count\": 1,\n \"capacity\": {\n \"mass\": 1,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"departure_load\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n }\n },\n {\n \"location_key\": \"location_client_1\",\n \"demand_ids\": [\n \"demand_1_drop\"\n ],\n \"measurements\": {\n \"driving_time\": \"PT20M52S\",\n \"waiting_time\": \"PT0S\",\n \"working_time\": \"PT10M\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT30M52S\",\n \"distance\": 26991,\n \"time_window\": {\n \"from\": \"2022-06-08T05:10:00Z\",\n \"to\": \"2022-06-08T05:30:52Z\"\n }\n },\n \"upload\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"download\": {\n \"count\": 1,\n \"capacity\": {\n \"mass\": 1,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"max_load\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"arrival_load\": {\n \"count\": 2,\n \"capacity\": {\n \"mass\": 2,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"departure_load\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n }\n },\n {\n \"location_key\": \"location_client_3\",\n \"demand_ids\": [\n \"demand_3_work\"\n ],\n \"measurements\": {\n \"driving_time\": \"PT22M47S\",\n \"waiting_time\": \"PT0S\",\n \"working_time\": \"PT15M\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT37M47S\",\n \"distance\": 34018,\n \"time_window\": {\n \"from\": \"2022-06-08T05:30:52Z\",\n \"to\": \"2022-06-08T05:53:39Z\"\n }\n },\n \"upload\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"download\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"max_load\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"arrival_load\": {\n \"count\": 1,\n \"capacity\": {\n \"mass\": 1,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"departure_load\": {\n \"count\": 0,\n \"capacity\": {\n \"mass\": 0,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n }\n }\n ],\n \"total_load\": {\n \"count\": 2,\n \"capacity\": {\n \"mass\": 2,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"max_load\": {\n \"count\": 2,\n \"capacity\": {\n \"mass\": 2,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n },\n \"max_transfer_load\": {\n \"count\": 2,\n \"capacity\": {\n \"mass\": 2,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n }\n }\n }\n ]\n },\n \"progress\": 100,\n \"info\": {\n \"status\": \"FINISHED_IN_TIME\",\n \"result_version\": 108,\n \"calculation_time\": \"PT20S\",\n \"waiting_time\": \"PT15S\"\n },\n \"validations\": [],\n \"unplanned_items\": {\n \"order_keys\": [],\n \"performer_keys\": [],\n \"transport_keys\": [],\n \"hardlink_keys\": []\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "a8c27ee4-690a-4d48-bab2-37162b0db0e0", "name": "Bad request - data contain errors", "originalRequest": { "url": { "path": [ "universal", "replan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 55.713699,\n \"longitude\": 37.621839\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 55.630721,\n \"longitude\": 37.62493\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 55.722801,\n \"longitude\": 37.674984\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 55.685853,\n \"longitude\": 37.43181\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n \"capacity\": {\n \"mass\": 300\n }\n }\n ]\n }\n ],\n \"trips\": [\n {\n \"key\": \"performer_1_shift\",\n \"performer\": {\n \"performer_key\": \"performer_1\",\n \"shift_key\": \"performer_1_shift\",\n \"shift_time\": {\n \"from\": \"2022-06-08T04:38:34Z\",\n \"to\": \"2022-06-08T05:53:39Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport_1\",\n \"shift_key\": \"transport_1_shift\",\n \"shift_time\": {\n \"from\": \"2022-06-08T04:38:34Z\",\n \"to\": \"2022-06-08T05:53:39Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2022-06-08T04:38:34Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:38:34Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_2\",\n \"demand_key\": \"demand_2_pickup\",\n \"event_key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:38:34Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:38:34Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_1\",\n \"demand_key\": \"demand_1_pickup\",\n \"event_key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:38:34Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_storage\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n },\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T04:38:34Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n },\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:00:00Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_2\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n },\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:00:00Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_2\",\n \"demand_key\": \"demand_2_drop\",\n \"event_key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n },\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_2_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:10:00Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_2\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:10:00Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:20:52Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_1\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:20:52Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_1\",\n \"demand_key\": \"demand_1_drop\",\n \"event_key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"cargo_placements\": [\n {\n \"box_key\": \"box_1\",\n \"cargo_key\": \"order_1_cargos\"\n }\n ],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:30:52Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_1\",\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:30:52Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:38:39Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_3\",\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:38:39Z\",\n \"flags\": [\n \"ON_DEMAND\",\n \"INSIDE_EVENT_HARD_WINDOW\",\n \"INSIDE_LOCATION_WINDOW\",\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"order_key\": \"order_3\",\n \"demand_key\": \"demand_3_work\",\n \"event_key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2022-06-08T05:53:39Z\",\n \"flags\": [\n \"INSIDE_LOCATION\",\n \"AROUND_LOCATION\"\n ],\n \"location_key\": \"location_client_3\",\n \"cargo_placements\": [],\n \"attributes\": []\n }\n ],\n \"waitlist\": [],\n \"attributes\": []\n }\n ]\n}", "options": { "raw": { "language": "json" } } } }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2022-06-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"logical_errors\": [\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n },\n {\n \"type\": {\n \"value\": \"\"\n },\n \"entities\": [\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n },\n {\n \"value\": \"\"\n }\n ],\n \"info\": \"entity error\"\n }\n ]\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "a5aae3b1-2e8a-4de3-81be-4eaff2232238", "name": "Unauthorized - token missing or invalid\n", "originalRequest": { "url": { "path": [ "universal", "replan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location_client_1\",\n \"geopoint\": {\n \"latitude\": 55.713699,\n \"longitude\": 37.621839\n }\n },\n {\n \"key\": \"location_client_2\",\n \"geopoint\": {\n \"latitude\": 55.630721,\n \"longitude\": 37.62493\n }\n },\n {\n \"key\": \"location_client_3\",\n \"geopoint\": {\n \"latitude\": 55.722801,\n \"longitude\": 37.674984\n }\n },\n {\n \"key\": \"location_storage\",\n \"geopoint\": {\n \"latitude\": 55.685853,\n \"longitude\": 37.43181\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order_1\",\n \"demands\": [\n {\n \"key\": \"demand_1_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_drop_event\",\n \"location_key\": \"location_client_1\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_1_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_1_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_1_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_1_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_2\",\n \"demands\": [\n {\n \"key\": \"demand_2_drop\",\n \"demand_type\": \"DROP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_drop_event\",\n \"location_key\": \"location_client_2\",\n \"duration\": \"PT10M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n },\n {\n \"key\": \"demand_2_pickup\",\n \"demand_type\": \"PICKUP\",\n \"target_cargos\": [\n \"order_2_cargos\"\n ],\n \"possible_events\": [\n {\n \"key\": \"demand_2_pickup_event\",\n \"location_key\": \"location_storage\",\n \"duration\": \"P0D\",\n \"reward\": 0,\n \"hard_time_window\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n }\n }\n ]\n }\n ],\n \"cargos\": [\n {\n \"key\": \"order_2_cargos\",\n \"capacity\": {\n \"mass\": 1\n }\n }\n ]\n },\n {\n \"key\": \"order_3\",\n \"demands\": [\n {\n \"key\": \"demand_3_work\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"demand_3_work_event\",\n \"location_key\": \"location_client_3\",\n \"duration\": \"PT15M\",\n \"hard_time_window\": {\n \"from\": \"2022-06-08T05:00:00+00:00\",\n \"to\": \"2022-06-08T07:00:00+00:00\"\n }\n }\n ]\n }\n ]\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer_1\",\n \"shifts\": [\n {\n \"key\": \"performer_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 720,\n \"cost_per_unit\": 1\n }\n ]\n }\n }\n ]\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport_1\",\n \"shifts\": [\n {\n \"key\": \"transport_1_shift\",\n \"availability_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2022-06-07T21:00:00+00:00\",\n \"to\": \"2022-06-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": 1000000,\n \"cost_per_unit\": 0.01\n }\n ]\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"boxes\": [\n {\n \"key\": \"box_1\",\n