{ "item": [ { "name": "Plan", "description": "Планирование - создание рейсов, которые учитывают все заданные ограничения, на основе данных о заказах, исполнителях и транспорте.\n\nЗапросы на планирования возможно выполнять в синхронном (для тестирования) и асинхронном (для основного использования) режимах.\n", "item": [ { "id": "a5d31252-adbe-491c-ad58-2e400badf70f", "name": "Планирование (SYNC)", "request": { "name": "Планирование (SYNC)", "description": { "content": "Синхронный метод для создания рейсов.\nДанный метод рекомендуется только для тестового использования и ручного запуска расчетов на небольшом объеме данных.\nДля боевой среды рекомендуется использовать [асинхронный метод](#operation/run_plan_calculation_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", "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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } }, "auth": null }, "response": [ { "id": "25a92004-6ad2-4f76-8bb4-6c5a26dc212c", "name": "Успешное выполнение", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "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\": \"2023-10-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\": \"2023-10-08T04:48:15Z\",\n \"to\": \"2023-10-08T05:40:56Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport_1\",\n \"shift_key\": \"transport_1_shift\",\n \"shift_time\": {\n \"from\": \"2023-10-08T04:48:15Z\",\n \"to\": \"2023-10-08T05:40:56Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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 \"break_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\": \"2023-10-08T04:48:15Z\",\n \"to\": \"2023-10-08T05:40:56Z\"\n }\n },\n \"performers_count\": 1,\n \"trips_count\": 1,\n \"orders_count\": 3,\n \"plan_orders_count\": 3,\n \"waitlist_orders_count\": 0,\n \"cargo_capacity_ratio\": {\n \"mass\": 0.01,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n },\n \"max_transport_load\": {\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 \"break_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\": \"2023-10-08T04:48:15Z\",\n \"to\": \"2023-10-08T05:40:56Z\"\n }\n },\n \"performers_count\": 1,\n \"trips_count\": 1,\n \"orders_count\": 3,\n \"plan_orders_count\": 3,\n \"waitlist_orders_count\": 0,\n \"cargo_capacity_ratio\": {\n \"mass\": 0.01,\n \"volume\": 1,\n \"capacity_a\": 1,\n \"capacity_b\": 1,\n \"capacity_c\": 1\n },\n \"max_transport_load\": {\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 \"stop_time_window\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T04:38:34Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 0,\n \"time_window\": {\n \"from\": \"2023-10-08T04:48:15Z\",\n \"to\": \"2023-10-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 \"stop_time_window\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T04:38:34Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT21M45S\",\n \"waiting_time\": \"PT0S\",\n \"break_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\": \"2023-10-08T04:48:15Z\",\n \"to\": \"2023-10-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 \"stop_time_window\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T04:38:34Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT17M4S\",\n \"waiting_time\": \"PT0S\",\n \"break_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\": \"2023-10-08T05:10:00Z\",\n \"to\": \"2023-10-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 \"stop_time_window\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T04:38:34Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT13M52S\",\n \"waiting_time\": \"PT0S\",\n \"break_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\": \"2023-10-08T05:27:04Z\",\n \"to\": \"2023-10-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 \"preparing_time\": \"PT1M10S\",\n \"business_validation_time\": \"PT1M10S\",\n \"math_validation_time\": \"PT1M10S\",\n \"waiting_time\": \"PT15S\",\n \"calculation_time\": \"PT1M10S\"\n },\n \"warnings\": [],\n \"unplanned_items\": {\n \"order_keys\": [],\n \"performer_keys\": [],\n \"transport_keys\": [],\n \"hardlink_keys\": []\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "1c458bbd-dc8c-4405-a2b1-3724725e07b3", "name": "Неверный запрос - данные содержат ошибки", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"schema_errors\": [],\n \"logical_errors\": [],\n \"warnings\": []\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "8bba5366-ea01-4ae4-b118-c547e7b287cf", "name": "Ошибка доступа - токен отсутствует или невалиден\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "0df39525-aa03-45ea-b803-a7abb7790736", "name": "Необходима оплата", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Payment Required", "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "e8b606fd-6057-435a-8f86-b5c1f45a955a", "name": "Запрашиваемая сущность не найдена", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "925bbac4-892f-4b10-bdc0-29c0d918ffb6", "name": "Метод запрещен для данного ресурса, проверьте указанный метод (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Method Not Allowed", "code": 405, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "85ab8536-de44-4e96-be4d-e9bac1270dc7", "name": "Клиент не способен обработать формат ответа, проверьте заголовки\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Acceptable", "code": 406, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "a42e8672-08b9-4d2f-94ca-d019533db702", "name": "Неприемлемый формат запроса, проверьте заголовки\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Unsupported Media Type", "code": 415, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "aebe2cad-acc8-4f2b-bac2-582e10013b96", "name": "Превышено количество запросов", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "533bae39-ef79-4160-9715-47cfa072b7a2", "name": "Внутренняя ошибка сервера", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "33a38e65-e871-4bca-b486-42708f443838", "name": "Функциональность не доступна для использования", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Implemented", "code": 501, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "c242e008-a80e-4824-af54-41ac2ea3fc1f", "name": "Неверный шлюз", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Bad Gateway", "code": 502, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "b3ae7102-79ad-4c56-ab6b-3e269905a7d6", "name": "Сервис не доступен", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Service Unavailable", "code": 503, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "f4fbcfd6-e222-478c-a7c6-1ab1405f0be9", "name": "Шлюз не отвечает", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Gateway Timeout", "code": 504, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "4740d73b-b6b5-47b4-b813-5a77a896e80f", "name": "Сервис не доступен", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [], "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "8f9b941d-1941-4c5f-bdf4-6d7cfda06edb", "name": "Планирование (ASYNC)", "request": { "name": "Планирование (ASYNC)", "description": { "content": "Создание рейсов.\nПолучение результата производится с помощью метода [result](#operation/read_plan_result), а удаление - с помощью [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", "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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } }, "auth": null }, "response": [ { "id": "dbbbafa8-2d89-41fd-ae1c-9d6820a7bc79", "name": "Успешное выполнение", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"id\": \"11111111-2222-3333-4444-555555555555\",\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "b59072ad-290b-4b27-9384-d25fdbdd5a2f", "name": "Неверный запрос - данные содержат ошибки", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"schema_errors\": [],\n \"logical_errors\": [],\n \"warnings\": []\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "391352c9-f081-4821-92c8-c3a65f51ce8f", "name": "Ошибка доступа - токен отсутствует или невалиден\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "5103f7b1-e6cd-4149-923b-0ef18ba4abd5", "name": "Необходима оплата", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Payment Required", "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "e94c192c-8e6b-4d92-bd1e-c0a32c680ee9", "name": "Запрашиваемая сущность не найдена", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "a98951a8-f0d7-4bf5-8095-129d684c9b69", "name": "Метод запрещен для данного ресурса, проверьте указанный метод (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Method Not Allowed", "code": 405, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "93906ac2-9c7d-470a-8645-1b018992023a", "name": "Клиент не способен обработать формат ответа, проверьте заголовки\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Acceptable", "code": 406, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "7d6b1721-6c57-4e33-ab28-6588327b52c6", "name": "Неприемлемый формат запроса, проверьте заголовки\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Unsupported Media Type", "code": 415, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "ad24da95-a8b7-444d-a31a-75ac648925f5", "name": "Превышено количество запросов", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "1e823235-263d-4b1b-ae61-e9d8ce8b58ac", "name": "Внутренняя ошибка сервера", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "5b650f2a-dcd3-4624-bb50-7a734100491a", "name": "Функциональность не доступна для использования", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Implemented", "code": 501, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "233455ce-51b0-4aea-b797-d371204ba430", "name": "Неверный шлюз", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Bad Gateway", "code": 502, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "b8c2f6cf-7e39-4e37-94b4-9481ad4832ed", "name": "Сервис не доступен", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Service Unavailable", "code": 503, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "fa7dd6d5-8480-40fe-85a4-17282f0d0814", "name": "Шлюз не отвечает", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Gateway Timeout", "code": 504, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "4c78d966-d48a-4143-8478-a8bedc370bab", "name": "Сервис не доступен", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [], "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "214bb9de-d227-4338-895f-84c882d4bac4", "name": "Состояние расчета", "request": { "name": "Состояние расчета", "description": { "content": "Получение состояния расчета по идентификатору расчета.", "type": "text/plain" }, "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "type": "any", "value": "11111111-2222-3333-4444-555555555555", "key": "id", "disabled": false, "description": { "content": "(Required) Идентификатор расчета.", "type": "text/plain" } } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {}, "auth": null }, "response": [ { "id": "c46a16cb-626f-4eb2-9f82-3c8875985d45", "name": "Успешное выполнение", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"progress\": 52,\n \"info\": {\n \"status\": \"FINISHED_IN_TIME\",\n \"result_version\": 133,\n \"preparing_time\": \"PT0S\",\n \"business_validation_time\": \"PT0S\",\n \"math_validation_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"calculation_time\": \"PT0S\"\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "0b9f44e0-609c-4114-8f9e-91f6966c52e5", "name": "Неверный запрос - данные содержат ошибки", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"schema_errors\": [],\n \"logical_errors\": [],\n \"warnings\": []\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "460729a1-cf70-4418-b059-d22d4a744f60", "name": "Ошибка доступа - токен отсутствует или невалиден\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "91e7b697-9dd1-4399-9494-3be282db88f0", "name": "Необходима оплата", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Payment Required", "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "a2ddc97d-4b75-4da9-9129-1cfe227ab67c", "name": "Запрашиваемая сущность не найдена", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "b88dd28c-cea5-4ebb-8adb-9eddd8e279b4", "name": "Метод запрещен для данного ресурса, проверьте указанный метод (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Method Not Allowed", "code": 405, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "92f24bbe-8f0f-4cfd-a59e-6d7b13df635c", "name": "Клиент не способен обработать формат ответа, проверьте заголовки\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Acceptable", "code": 406, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "a67f3283-a49e-4e77-9367-3e41659ef6bc", "name": "Неприемлемый формат запроса, проверьте заголовки\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Unsupported Media Type", "code": 415, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "f9332d2e-1b68-454a-96d4-aa112bf393c2", "name": "Превышено количество запросов", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "639b55f2-834e-4ba1-9f7e-a1ad6f50c74e", "name": "Внутренняя ошибка сервера", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "a29284a8-bc61-4592-aa12-523349b92071", "name": "Функциональность не доступна для использования", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Implemented", "code": 501, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "a44f3603-baa5-4397-a09d-e2ef2e3c050a", "name": "Неверный шлюз", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Bad Gateway", "code": 502, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "caee2f04-87c9-4cf0-bccf-bdbe931550ce", "name": "Сервис не доступен", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Service Unavailable", "code": 503, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "3344e025-bfe2-42dc-925a-dcf8de056f09", "name": "Шлюз не отвечает", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Gateway Timeout", "code": 504, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "6774e1ff-0d97-4d63-bae4-9186342e6303", "name": "Сервис не доступен", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [], "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "07cf4845-cb48-4ea1-bfc6-21c0aa9686ea", "name": "Отмена расчета", "request": { "name": "Отмена расчета", "description": { "content": "Отмена процесса планирования по идентификатору расчета.", "type": "text/plain" }, "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "type": "any", "value": "11111111-2222-3333-4444-555555555555", "key": "id", "disabled": false, "description": { "content": "(Required) Идентификатор расчета.", "type": "text/plain" } } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "DELETE", "body": {}, "auth": null }, "response": [ { "id": "780d662f-3c60-4992-9187-d9fdc0544154", "name": "Успешное выполнение - планирование отменено", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "No Content", "code": 204, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "efab2ccb-c384-4513-b5fd-549b4282d96f", "name": "Неверный запрос - данные содержат ошибки", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"schema_errors\": [],\n \"logical_errors\": [],\n \"warnings\": []\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "7443b7c7-8797-419f-a3c8-3978e4bcf410", "name": "Ошибка доступа - токен отсутствует или невалиден\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "f3b9b5b0-b9fb-4794-9508-4c7961f804b4", "name": "Необходима оплата", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Payment Required", "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "0d908fb9-162e-4eaf-8da7-2bf04e127045", "name": "Запрашиваемая сущность не найдена", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "787406ae-314b-47ef-8d93-b6e92819de41", "name": "Метод запрещен для данного ресурса, проверьте указанный метод (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Method Not Allowed", "code": 405, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "10caa15a-31ac-4dd4-ba00-50eb3ba3cc61", "name": "Клиент не способен обработать формат ответа, проверьте заголовки\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Not Acceptable", "code": 406, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "3a7b461e-8eca-49fe-ac43-3daf624f4bae", "name": "Неприемлемый формат запроса, проверьте заголовки\n", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Unsupported Media Type", "code": 415, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "444ce084-16cf-4c3f-83f7-b8f6cb41d80c", "name": "Превышено количество запросов", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "d4e96a95-1ccd-4173-b0f6-622aff446838", "name": "Внутренняя ошибка сервера", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "03b997e9-3540-4774-85ea-c53446af5233", "name": "Функциональность не доступна для использования", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Not Implemented", "code": 501, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "3e6ad322-c454-4db3-b332-da7bf01a0cfc", "name": "Неверный шлюз", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Bad Gateway", "code": 502, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "e19558ae-1191-4514-a062-94d708564750", "name": "Сервис не доступен", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Service Unavailable", "code": 503, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "16d82a77-39b8-4d3a-afe9-e0e1c5be012d", "name": "Шлюз не отвечает", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Gateway Timeout", "code": 504, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "425dbb32-e80d-4859-8f56-b658d5c5aa22", "name": "Сервис не доступен", "originalRequest": { "url": { "path": [ "universal", "plan", "calculation_async", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [], "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "f628b97f-f142-45c2-8268-ed089b843c43", "name": "Получение результата", "request": { "name": "Получение результата", "description": { "content": "Получение результата планирования по идентификатору расчета.", "type": "text/plain" }, "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "type": "any", "value": "11111111-2222-3333-4444-555555555555", "key": "id", "disabled": false, "description": { "content": "(Required) Идентификатор расчета.", "type": "text/plain" } } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "GET", "body": {}, "auth": null }, "response": [ { "id": "5476b458-b0b9-4b20-a961-f5e031dd1c25", "name": "Успешное выполнение - планирование завершено.", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"861c8e0a-2651-444e-b426-71cdccc31423\",\n \"client\": \"veeroute_|_example\",\n \"server\": \"Universal:leo\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"runPlanCalculation\",\n \"time\": \"2023-10-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\": \"2023-10-08T04:48:15Z\",\n \"to\": \"2023-10-08T05:40:56Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport_1\",\n \"shift_key\": \"transport_1_shift\",\n \"shift_time\": {\n \"from\": \"2023-10-08T04:48:15Z\",\n \"to\": \"2023-10-08T05:40:56Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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 \"break_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\": \"2023-10-08T04:48:15Z\",\n \"to\": \"2023-10-08T05:40:56Z\"\n }\n },\n \"performers_count\": 1,\n \"trips_count\": 1,\n \"orders_count\": 3,\n \"plan_orders_count\": 3,\n \"waitlist_orders_count\": 0,\n \"cargo_capacity_ratio\": {\n \"mass\": 0.01,\n \"volume\": 0,\n \"capacity_a\": 0,\n \"capacity_b\": 0,\n \"capacity_c\": 0\n },\n \"max_transport_load\": {\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 \"break_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\": \"2023-10-08T04:48:15Z\",\n \"to\": \"2023-10-08T05:40:56Z\"\n }\n },\n \"performers_count\": 1,\n \"trips_count\": 1,\n \"orders_count\": 3,\n \"plan_orders_count\": 3,\n \"waitlist_orders_count\": 0,\n \"cargo_capacity_ratio\": {\n \"mass\": 0.01,\n \"volume\": 1,\n \"capacity_a\": 1,\n \"capacity_b\": 1,\n \"capacity_c\": 1\n },\n \"max_transport_load\": {\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 \"stop_time_window\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T04:38:34Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 0,\n \"time_window\": {\n \"from\": \"2023-10-08T04:48:15Z\",\n \"to\": \"2023-10-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 \"stop_time_window\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T04:38:34Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT21M45S\",\n \"waiting_time\": \"PT0S\",\n \"break_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\": \"2023-10-08T04:48:15Z\",\n \"to\": \"2023-10-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 \"stop_time_window\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T04:38:34Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT17M4S\",\n \"waiting_time\": \"PT0S\",\n \"break_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\": \"2023-10-08T05:10:00Z\",\n \"to\": \"2023-10-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 \"stop_time_window\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T04:38:34Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT13M52S\",\n \"waiting_time\": \"PT0S\",\n \"break_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\": \"2023-10-08T05:27:04Z\",\n \"to\": \"2023-10-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 \"preparing_time\": \"PT1M10S\",\n \"business_validation_time\": \"PT1M10S\",\n \"math_validation_time\": \"PT1M10S\",\n \"waiting_time\": \"PT15S\",\n \"calculation_time\": \"PT1M10S\"\n },\n \"warnings\": [],\n \"unplanned_items\": {\n \"order_keys\": [],\n \"performer_keys\": [],\n \"transport_keys\": [],\n \"hardlink_keys\": []\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "7052c012-1e00-453e-b456-b05a7a104d2c", "name": "Планирование в процессе.", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Accepted", "code": 202, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"trips\": [],\n \"statistics\": {\n \"total_statistics\": {\n \"cost\": 1231.1,\n \"reward\": 2343.3,\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"trips_count\": 250,\n \"performers_count\": 157,\n \"orders_count\": 1700,\n \"plan_orders_count\": 1003,\n \"waitlist_orders_count\": 697,\n \"cargo_capacity_ratio\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n },\n \"max_transport_load\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n },\n \"quality\": {\n \"soft_time_window_violations\": {\n \"before\": {\n \"keys\": [\n \"obj1\"\n ],\n \"count\": 1700\n },\n \"after\": {\n \"keys\": [\n \"obj1\"\n ],\n \"count\": 1700\n }\n },\n \"hard_time_window_violations\": {\n \"before\": {\n \"keys\": [\n \"obj1\"\n ],\n \"count\": 1700\n },\n \"after\": {\n \"keys\": [\n \"obj1\"\n ],\n \"count\": 1700\n }\n }\n }\n },\n \"trips_statistics\": [\n {\n \"trip_key\": \"trip01\",\n \"statistics\": {\n \"cost\": 1231.1,\n \"reward\": 2343.3,\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"trips_count\": 250,\n \"performers_count\": 157,\n \"orders_count\": 1700,\n \"plan_orders_count\": 1003,\n \"waitlist_orders_count\": 697,\n \"cargo_capacity_ratio\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n },\n \"max_transport_load\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n },\n \"quality\": {\n \"soft_time_window_violations\": {\n \"before\": {\n \"keys\": [\n \"obj1\"\n ],\n \"count\": 1700\n },\n \"after\": {\n \"keys\": [\n \"obj1\"\n ],\n \"count\": 1700\n }\n },\n \"hard_time_window_violations\": {\n \"before\": {\n \"keys\": [\n \"obj1\"\n ],\n \"count\": 1700\n },\n \"after\": {\n \"keys\": [\n \"obj1\"\n ],\n \"count\": 1700\n }\n }\n }\n },\n \"stop_statistics\": [\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n }\n ],\n \"total_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_transfer_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n }\n ]\n },\n \"progress\": 52,\n \"info\": {\n \"status\": \"FINISHED_IN_TIME\",\n \"result_version\": 133,\n \"preparing_time\": \"PT0S\",\n \"business_validation_time\": \"PT0S\",\n \"math_validation_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"calculation_time\": \"PT0S\"\n },\n \"unplanned_items\": {\n \"order_keys\": [\n \"key_01\"\n ],\n \"order_keys_count\": 99,\n \"performer_keys\": [\n \"key_01\"\n ],\n \"performer_keys_count\": 99,\n \"transport_keys\": [\n \"key_01\"\n ],\n \"transport_keys_count\": 99,\n \"hardlink_keys\": [\n \"key_01\"\n ],\n \"hardlink_keys_count\": 99\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "6a8db0b5-dbd4-4bdd-ace5-2c116f900cd0", "name": "Неверный запрос - данные содержат ошибки", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"schema_errors\": [],\n \"logical_errors\": [],\n \"warnings\": []\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "4e0c4b63-1525-449c-acd4-669ec1f9a057", "name": "Ошибка доступа - токен отсутствует или невалиден\n", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "a1a2d3b6-eebc-4b3a-bfb6-1a247827977b", "name": "Необходима оплата", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Payment Required", "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "2ef5c879-4c32-496d-a2d7-72961f80c524", "name": "Запрашиваемая сущность не найдена", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "9c319b7c-f9f2-4550-9309-ac90b07554e3", "name": "Метод запрещен для данного ресурса, проверьте указанный метод (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Method Not Allowed", "code": 405, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "786ccff6-26b1-4b2f-96f1-be6325f5098c", "name": "Клиент не способен обработать формат ответа, проверьте заголовки\n", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Acceptable", "code": 406, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "1f94d2f0-eaf9-43bc-a4bc-d554182bfc0c", "name": "Неприемлемый формат запроса, проверьте заголовки\n", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Unsupported Media Type", "code": 415, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "17a251da-a227-44ac-a8c6-23bf1cbcf52e", "name": "Превышено количество запросов", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "b3e0afd2-0b61-4b3c-bc07-d629e1526835", "name": "Внутренняя ошибка сервера", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "f585674f-6c2c-40b8-ad63-ebe46eadc73a", "name": "Функциональность не доступна для использования", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Not Implemented", "code": 501, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "229c512b-48b5-4e91-868f-89c27e524760", "name": "Неверный шлюз", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Bad Gateway", "code": 502, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "ca27036a-099a-4f4c-882d-8240fc5f0b74", "name": "Сервис не доступен", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Service Unavailable", "code": 503, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "d7599052-cbe0-4bfc-ab64-a1474b089124", "name": "Шлюз не отвечает", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Gateway Timeout", "code": 504, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "8fa9c595-9970-43f9-b72f-80c9dddc25bd", "name": "Сервис не доступен", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "GET", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [], "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "11ba9c74-3cfe-4d7c-aab1-4703cefa7be1", "name": "Удаление результата", "request": { "name": "Удаление результата", "description": { "content": "Удаление результата по идентификатору расчета.", "type": "text/plain" }, "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [ { "type": "any", "value": "11111111-2222-3333-4444-555555555555", "key": "id", "disabled": false, "description": { "content": "(Required) Идентификатор расчета.", "type": "text/plain" } } ] }, "header": [ { "key": "Accept", "value": "application/json" } ], "method": "DELETE", "body": {}, "auth": null }, "response": [ { "id": "2bb2533e-e8a2-49f9-85dd-7d91c21d0d0e", "name": "Успешное выполнение - планирование удалено", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "No Content", "code": 204, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "eec0afde-b18f-4c4d-9dde-fb0f474ca521", "name": "Неверный запрос - данные содержат ошибки", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"schema_errors\": [],\n \"logical_errors\": [],\n \"warnings\": []\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "84d9dbdc-c147-4653-a8b5-861752d4f98c", "name": "Ошибка доступа - токен отсутствует или невалиден\n", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "b4bd5443-d38f-4f4d-b466-780abbcef44a", "name": "Необходима оплата", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Payment Required", "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "fee77829-9703-4792-9ef0-4762d42cf2ac", "name": "Запрашиваемая сущность не найдена", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "9ed101dd-8222-4a21-bd56-deeffccaac43", "name": "Метод запрещен для данного ресурса, проверьте указанный метод (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Method Not Allowed", "code": 405, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "58fcf5e3-1708-4942-b25a-d6c90851efe9", "name": "Клиент не способен обработать формат ответа, проверьте заголовки\n", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Not Acceptable", "code": 406, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "6910e098-d3e6-4de7-9b1b-0dbd2ad67baf", "name": "Неприемлемый формат запроса, проверьте заголовки\n", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Unsupported Media Type", "code": 415, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "667b9d36-969f-4576-b129-c83d4498ec3a", "name": "Превышено количество запросов", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "248a11ca-a18d-4327-b6d7-cf075a78065c", "name": "Внутренняя ошибка сервера", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "120e2735-5d43-4c0d-b4a6-55cb680b2d19", "name": "Функциональность не доступна для использования", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Not Implemented", "code": 501, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "da2788f9-5d13-4bb0-b335-871935b95466", "name": "Неверный шлюз", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Bad Gateway", "code": 502, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "1c8df268-f0a3-46de-a4c0-866f4ed7f8de", "name": "Сервис не доступен", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Service Unavailable", "code": 503, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "6e96cab1-44f5-407d-9f17-3a18b057ab48", "name": "Шлюз не отвечает", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Gateway Timeout", "code": 504, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "c8de8570-6b3b-4740-b6e0-dc0882256ed0", "name": "Сервис не доступен", "originalRequest": { "url": { "path": [ "universal", "plan", "result", ":id" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "DELETE", "body": {} }, "status": "Internal Server Error", "code": 500, "header": [], "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "e479e96e-e346-4cb2-b012-1cd12b65f328", "name": "Валидация данных", "request": { "name": "Валидация данных", "description": { "content": "Проверка данных для планирования перед использованием.", "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", "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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } }, "auth": null }, "response": [ { "id": "52beab66-4981-4779-af54-27d44d4edcaa", "name": "Успешное выполнение", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "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\": \"2023-10-01T11:50:15.123Z\"\n },\n \"warnings\": [\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": "ebe71db1-f2cf-4d77-a649-15b295f47241", "name": "Неверный запрос - данные содержат ошибки", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"schema_errors\": [],\n \"logical_errors\": [],\n \"warnings\": []\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "fdd05290-31a3-48de-8dfe-1d0737a2b549", "name": "Ошибка доступа - токен отсутствует или невалиден\n", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "0505ea3f-c63d-4a8c-aba2-f97a33a68366", "name": "Необходима оплата", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Payment Required", "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "924c0275-fc3d-4ab0-807d-0f8ea28c53fc", "name": "Запрашиваемая сущность не найдена", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "931a022e-7dad-4346-b826-f25c224d0a25", "name": "Метод запрещен для данного ресурса, проверьте указанный метод (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Method Not Allowed", "code": 405, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "d7c01661-b585-43d2-b87d-4685885dba3a", "name": "Клиент не способен обработать формат ответа, проверьте заголовки\n", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Acceptable", "code": 406, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "381067d3-a3d1-4678-91ea-13e3ff53dd53", "name": "Неприемлемый формат запроса, проверьте заголовки\n", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Unsupported Media Type", "code": 415, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "41fdd6b5-c924-4e07-bd49-eac298687762", "name": "Превышено количество запросов", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "72b08c87-b8e3-4a20-b1b2-3e717295af72", "name": "Внутренняя ошибка сервера", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "a206e4b1-725e-428b-a8ba-e8a4295e119b", "name": "Функциональность не доступна для использования", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Implemented", "code": 501, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "f2d3bada-9c5b-47cb-9640-8ac255db9544", "name": "Неверный шлюз", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Bad Gateway", "code": 502, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "bc7977e8-3377-4392-9985-5c53d07790ec", "name": "Сервис не доступен", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Service Unavailable", "code": 503, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "7bbaed98-8274-4448-be39-8865dd309b4e", "name": "Шлюз не отвечает", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Gateway Timeout", "code": 504, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "f2f2c37d-c92b-44b6-8de6-eac09a147852", "name": "Сервис не доступен", "originalRequest": { "url": { "path": [ "universal", "plan", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [], "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } } ] }, { "name": "Actualize", "description": "Актуализация рейсов - обновление планового времени выполнения заказов с учетом фактов и без изменения порядка обьезда.\n\nАктуализация проходит в три этапа - проверка, применение фактов, обновление времен у невыполненных состояний рейсов.\n\nЧтобы получить результат применения фактов к исходной задаче воспользуйтесь [очисткой данных для актуализации](#operation/run_actualize_refining).\n\nУчет текущего времени `current_time`:\n\n* Учитываются только те факты, которые произошли позже `current_time`.\n* Минимальное время всех состояний вычисляемых рейсов берется из `current_time`.\n\nУчет фактов о заказах:\n\n* Если у заказа выполнены все заявки - он считается завершенным.\n* Если заказ завершен или отменен - он, и сущности на которые ссылается только он, удаляются из данных для актуализации.\n* Если у заказа выполнена заявка с типом `PICKUP`, то соответствующая ей заявка с типом `DROP` будет преобразована в заявку с типом `DROP_FROM_BOX`.\n* Факт о заказе имеет больший приоритет, чем факты о заявках по этому заказу (если факты о заявках противоречат факту о заказе - они не будут учтены).\n* На каждый рейс разрешен только один незакрытый факт `DEMAND_START` (закрывается фактом `DEMAND_DONE`) - так как исполнитель может в один момент времени выполнять только одну заявку.\n* Если есть факт о работе по заявке, которая противоречит плановому порядку в указанном рейсе - будет сперва завершена эта заявка, затем продолжится выполнение рейса согласно запланированному порядку.\n\nУчет фактов об исполнителе:\n\n* Список фактов о нахождении исполнителя в определенной локации.\n* Если рейс начался (время факта позже планового времени начала рейса) - транспорт считается в той же локации, что и исполнитель.\n* При наличии нескольких фактов учитывается только самый поздний по полю `time`.\n* Локация, на которую ссылается факт, должна находится в списке `locations`.\n\nУчет существующих рейсов:\n\n* Удаляются сущности, на которые не ссылаются входные рейсы - локации, исполнители, транспорт, жесткие связи, заказы, заявки, события.\n* Назначенные на рейс смены исполнителя и транспорта не могут использоваться в других рейсах.\n\nПолученные в результате актуализации рейсы содержат только те работы, которые осталось выполнить.\n", "item": [ { "id": "9312cee7-6923-4922-b2c7-3bffc464b446", "name": "Актуализация (SYNC)", "request": { "name": "Актуализация (SYNC)", "description": { "content": "Актуализация ранее запланированных рейсов.", "type": "text/plain" }, "url": { "path": [ "universal", "actualize", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport_1\",\n \"shift_key\": \"transport_1_shift\",\n \"shift_time\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-08T05:30:52Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } }, "auth": null }, "response": [ { "id": "29a0b9dc-688d-49a3-a1f4-faf97de26ab3", "name": "Успешное выполнение", "originalRequest": { "url": { "path": [ "universal", "actualize", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport_1\",\n \"shift_key\": \"transport_1_shift\",\n \"shift_time\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-08T05:30:52Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "OK", "code": 200, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"trips\": [],\n \"statistics\": {\n \"total_statistics\": {\n \"cost\": 1231.1,\n \"reward\": 2343.3,\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"trips_count\": 250,\n \"performers_count\": 157,\n \"orders_count\": 1700,\n \"plan_orders_count\": 1003,\n \"waitlist_orders_count\": 697,\n \"cargo_capacity_ratio\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n },\n \"max_transport_load\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n },\n \"quality\": {\n \"soft_time_window_violations\": {\n \"before\": {\n \"keys\": [\n \"obj1\"\n ],\n \"count\": 1700\n },\n \"after\": {\n \"keys\": [\n \"obj1\"\n ],\n \"count\": 1700\n }\n },\n \"hard_time_window_violations\": {\n \"before\": {\n \"keys\": [\n \"obj1\"\n ],\n \"count\": 1700\n },\n \"after\": {\n \"keys\": [\n \"obj1\"\n ],\n \"count\": 1700\n }\n }\n }\n },\n \"trips_statistics\": [\n {\n \"trip_key\": \"trip01\",\n \"statistics\": {\n \"cost\": 1231.1,\n \"reward\": 2343.3,\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"trips_count\": 250,\n \"performers_count\": 157,\n \"orders_count\": 1700,\n \"plan_orders_count\": 1003,\n \"waitlist_orders_count\": 697,\n \"cargo_capacity_ratio\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n },\n \"max_transport_load\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n },\n \"quality\": {\n \"soft_time_window_violations\": {\n \"before\": {\n \"keys\": [\n \"obj1\"\n ],\n \"count\": 1700\n },\n \"after\": {\n \"keys\": [\n \"obj1\"\n ],\n \"count\": 1700\n }\n },\n \"hard_time_window_violations\": {\n \"before\": {\n \"keys\": [\n \"obj1\"\n ],\n \"count\": 1700\n },\n \"after\": {\n \"keys\": [\n \"obj1\"\n ],\n \"count\": 1700\n }\n }\n }\n },\n \"stop_statistics\": [\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n },\n {\n \"location_key\": \"location01\",\n \"demand_ids\": [\n \"demand01\"\n ],\n \"stop_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"measurements\": {\n \"driving_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"break_time\": \"PT0S\",\n \"working_time\": \"PT0S\",\n \"arriving_time\": \"PT0S\",\n \"departure_time\": \"PT0S\",\n \"total_time\": \"PT0S\",\n \"distance\": 5200,\n \"time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"upload\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"download\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"arrival_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"departure_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n }\n ],\n \"total_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n },\n \"max_transfer_load\": {\n \"count\": 1460,\n \"capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n }\n ]\n },\n \"progress\": 52,\n \"info\": {\n \"status\": \"FINISHED_IN_TIME\",\n \"result_version\": 133,\n \"preparing_time\": \"PT0S\",\n \"business_validation_time\": \"PT0S\",\n \"math_validation_time\": \"PT0S\",\n \"waiting_time\": \"PT0S\",\n \"calculation_time\": \"PT0S\"\n },\n \"unplanned_items\": {\n \"order_keys\": [\n \"key_01\"\n ],\n \"order_keys_count\": 99,\n \"performer_keys\": [\n \"key_01\"\n ],\n \"performer_keys_count\": 99,\n \"transport_keys\": [\n \"key_01\"\n ],\n \"transport_keys_count\": 99,\n \"hardlink_keys\": [\n \"key_01\"\n ],\n \"hardlink_keys_count\": 99\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "464d13f1-1e91-4e4e-9bd4-d1b9422eb668", "name": "Неверный запрос - данные содержат ошибки", "originalRequest": { "url": { "path": [ "universal", "actualize", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport_1\",\n \"shift_key\": \"transport_1_shift\",\n \"shift_time\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-08T05:30:52Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"schema_errors\": [],\n \"logical_errors\": [],\n \"warnings\": []\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "f8fc03a2-5361-4686-a44f-2a138be215ce", "name": "Ошибка доступа - токен отсутствует или невалиден\n", "originalRequest": { "url": { "path": [ "universal", "actualize", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport_1\",\n \"shift_key\": \"transport_1_shift\",\n \"shift_time\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-08T05:30:52Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Unauthorized", "code": 401, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Unauthorized\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "6a76ba22-3eda-4e52-8ab9-0535257be5e4", "name": "Необходима оплата", "originalRequest": { "url": { "path": [ "universal", "actualize", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport_1\",\n \"shift_key\": \"transport_1_shift\",\n \"shift_time\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-08T05:30:52Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Payment Required", "code": 402, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Payment Required\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "53d432fa-7e24-48d0-97a1-7d13227ac81e", "name": "Запрашиваемая сущность не найдена", "originalRequest": { "url": { "path": [ "universal", "actualize", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport_1\",\n \"shift_key\": \"transport_1_shift\",\n \"shift_time\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-08T05:30:52Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Found", "code": 404, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"resource_id\": \"resource_id\",\n \"detail\": {\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n }\n }\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "526043da-d71c-402f-be68-3535eae24b68", "name": "Метод запрещен для данного ресурса, проверьте указанный метод (POST, GET, ...)\n", "originalRequest": { "url": { "path": [ "universal", "actualize", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport_1\",\n \"shift_key\": \"transport_1_shift\",\n \"shift_time\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-08T05:30:52Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Method Not Allowed", "code": 405, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "ebbf179f-c442-44f0-92dc-9abd1a3b0bad", "name": "Клиент не способен обработать формат ответа, проверьте заголовки\n", "originalRequest": { "url": { "path": [ "universal", "actualize", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport_1\",\n \"shift_key\": \"transport_1_shift\",\n \"shift_time\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-08T05:30:52Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Acceptable", "code": 406, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "9a32df0d-1fad-41d6-971a-fb3a9a7f801f", "name": "Неприемлемый формат запроса, проверьте заголовки\n", "originalRequest": { "url": { "path": [ "universal", "actualize", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport_1\",\n \"shift_key\": \"transport_1_shift\",\n \"shift_time\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-08T05:30:52Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Unsupported Media Type", "code": 415, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "526541f5-39bf-404e-b7ff-a7c7c2678195", "name": "Превышено количество запросов", "originalRequest": { "url": { "path": [ "universal", "actualize", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport_1\",\n \"shift_key\": \"transport_1_shift\",\n \"shift_time\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-08T05:30:52Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Too Many Requests", "code": 429, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Too many requests\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "d050d2cf-0b70-4335-accd-d7c1e4b6d41b", "name": "Внутренняя ошибка сервера", "originalRequest": { "url": { "path": [ "universal", "actualize", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport_1\",\n \"shift_key\": \"transport_1_shift\",\n \"shift_time\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-08T05:30:52Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"Internal Server Error\"\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "dfe26a8f-0dfc-4075-ba51-8f7471335cda", "name": "Функциональность не доступна для использования", "originalRequest": { "url": { "path": [ "universal", "actualize", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport_1\",\n \"shift_key\": \"transport_1_shift\",\n \"shift_time\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-08T05:30:52Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Not Implemented", "code": 501, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "c5fbb1b4-a091-4670-8e7d-861c7adb534e", "name": "Неверный шлюз", "originalRequest": { "url": { "path": [ "universal", "actualize", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport_1\",\n \"shift_key\": \"transport_1_shift\",\n \"shift_time\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-08T05:30:52Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Bad Gateway", "code": 502, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "55b7d556-c5dc-46c7-a679-6b623481c451", "name": "Сервис не доступен", "originalRequest": { "url": { "path": [ "universal", "actualize", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport_1\",\n \"shift_key\": \"transport_1_shift\",\n \"shift_time\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-08T05:30:52Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Service Unavailable", "code": 503, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "cbbfbee8-ca92-45c0-ab55-046b3d86e489", "name": "Шлюз не отвечает", "originalRequest": { "url": { "path": [ "universal", "actualize", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport_1\",\n \"shift_key\": \"transport_1_shift\",\n \"shift_time\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-08T05:30:52Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Gateway Timeout", "code": 504, "header": [], "cookie": [], "_postman_previewlanguage": "text" }, { "id": "a3d813b4-a7b0-41cd-a1f8-f7bb1eb15ac4", "name": "Сервис не доступен", "originalRequest": { "url": { "path": [ "universal", "actualize", "calculation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T05:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"tariff\": {\n \"cost_per_shift\": 1000,\n \"constraints\": [\n {\n \"stage_length\": \"PT10H\",\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\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-08T20:59:59+00:00\"\n },\n \"working_time\": {\n \"from\": \"2023-10-07T21:00:00+00:00\",\n \"to\": \"2023-10-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\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport_1\",\n \"shift_key\": \"transport_1_shift\",\n \"shift_time\": {\n \"from\": \"2023-10-08T04:38:34Z\",\n \"to\": \"2023-10-08T05:53:39Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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\": \"2023-10-08T05:30:52Z\",\n \"flags\": [\n \"RELOCATING\"\n ],\n \"cargo_placements\": [],\n \"attributes\": []\n },\n {\n \"time\": \"2023-10-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\": \"2023-10-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\": \"2023-10-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": { "headerFamily": "json", "language": "json" } } } }, "status": "Internal Server Error", "code": 500, "header": [], "cookie": [], "_postman_previewlanguage": "text" } ], "event": [], "protocolProfileBehavior": { "disableBodyPruning": true } }, { "id": "e6477741-16a2-482d-b0fb-ad5ecc415df2", "name": "Валидация данных", "request": { "name": "Валидация данных", "description": { "content": "Проверка данных для актуализации перед использованием.", "type": "text/plain" }, "url": { "path": [ "universal", "actualize", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location01\",\n \"geopoint\": {\n \"latitude\": 55.692789,\n \"longitude\": 37.554554\n },\n \"arrival_duration\": \"PT0S\",\n \"departure_duration\": \"PT0S\",\n \"compatibilities\": {\n \"transport_restrictions\": [\n \"B1\"\n ]\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order01\",\n \"demands\": [\n {\n \"key\": \"demand_1\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"event_1\",\n \"location_key\": \"location01\",\n \"hard_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"duration\": \"PT0S\",\n \"reward\": 199.9,\n \"soft_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n }\n ],\n \"target_cargos\": [\n \"cargo01\"\n ],\n \"precedence_in_trip\": 1,\n \"precedence_in_order\": 1\n }\n ],\n \"compatibilities\": {\n \"order_features\": [\n \"EXPRESS\"\n ],\n \"order_restrictions\": [\n \"EXPRESS\"\n ],\n \"performer_restrictions\": [\n \"EXPRESS\"\n ],\n \"performer_blacklist\": [\n \"A0\"\n ]\n }\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer0001\",\n \"shifts\": [\n {\n \"key\": \"shift01\",\n \"availability_time\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"working_time\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"start_location_key\": \"start_location01\",\n \"finish_location_key\": \"finish_location01\",\n \"max_locations\": 15,\n \"max_stops\": 15,\n \"tariff\": {\n \"cost_per_shift\": 2000,\n \"constraints\": [\n {\n \"stage_length\": \"PT24H\",\n \"cost_per_unit\": 0.001\n }\n ],\n \"max_penalty_cost\": 2000\n },\n \"work_and_rest_rules\": {\n \"first_break\": {\n \"max_work_duration_sum\": \"PT0S\",\n \"duration\": \"PT0S\"\n }\n }\n }\n ],\n \"own_transport_type\": \"CAR\",\n \"compatibilities\": {\n \"performer_features\": [\n \"B1\",\n \"EXPRESS\"\n ],\n \"transport_restrictions\": [\n \"B1\"\n ]\n },\n \"limits\": {\n \"max_work_shifts\": 3\n }\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport001\",\n \"shifts\": [\n {\n \"key\": \"shift01\",\n \"availability_time\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"working_time\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"start_location_key\": \"start_location01\",\n \"finish_location_key\": \"finish_location01\",\n \"tariff\": {\n \"cost_per_shift\": 2000,\n \"constraints\": [\n {\n \"stage_length\": 100000000,\n \"cost_per_unit\": 0.001\n }\n ],\n \"transportation_cost\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n },\n \"max_penalty_cost\": 2000\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"compatibilities\": {\n \"transport_features\": [\n \"20T\"\n ],\n \"performer_restrictions\": [\n \"EXPRESS\"\n ]\n },\n \"limits\": {\n \"max_boxes\": 2,\n \"max_capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n }\n ],\n \"trips\": [\n {\n \"key\": \"631988f0-9e27-11ed-a8fc-0242ac120002\",\n \"performer\": {\n \"performer_key\": \"performer0001\",\n \"shift_key\": \"performer0001_shift01\",\n \"shift_time\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport001\",\n \"shift_key\": \"performer01\",\n \"shift_time\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n }\n ],\n \"name\": \"1-ABC\",\n \"waitlist\": [\n \"order02\"\n ]\n }\n ],\n \"hardlinks\": [\n {\n \"key\": \"group01\",\n \"links\": [\n {\n \"type\": \"ORDER\",\n \"entity_key\": \"ord0001\"\n },\n {\n \"type\": \"ORDER\",\n \"entity_key\": \"ord0001\"\n }\n ]\n }\n ],\n \"facts\": {\n \"order_facts\": [\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n }\n ],\n \"performer_facts\": [\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n }\n ]\n },\n \"actualize_settings\": {\n \"current_time\": \"2023-10-21T09:30:00+03:00\",\n \"geo_settings\": {\n \"geo_provider\": \"OSRM\",\n \"toll_roads\": false,\n \"ferry_crossing\": false,\n \"traffic_jams\": false,\n \"flight_distance\": true,\n \"restricted_zones\": [\n \"ART_MOSCOW_MKAD_CARGO_FRAME\"\n ]\n },\n \"calculation_settings\": {\n \"max_calculation_time\": \"PT4M30S\",\n \"max_waiting_time\": \"PT2H\",\n \"result_ttl\": \"PT4M30S\",\n \"result_timezone\": 3,\n \"treat_warnings_as_errors\": true,\n \"precision\": 3\n }\n },\n \"dataset_name\": \"custom_dataset_one\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } }, "auth": null }, "response": [ { "id": "60bd2178-c59f-40b2-8ac1-f6e6f4aa1793", "name": "Успешное выполнение", "originalRequest": { "url": { "path": [ "universal", "actualize", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location01\",\n \"geopoint\": {\n \"latitude\": 55.692789,\n \"longitude\": 37.554554\n },\n \"arrival_duration\": \"PT0S\",\n \"departure_duration\": \"PT0S\",\n \"compatibilities\": {\n \"transport_restrictions\": [\n \"B1\"\n ]\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order01\",\n \"demands\": [\n {\n \"key\": \"demand_1\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"event_1\",\n \"location_key\": \"location01\",\n \"hard_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"duration\": \"PT0S\",\n \"reward\": 199.9,\n \"soft_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n }\n ],\n \"target_cargos\": [\n \"cargo01\"\n ],\n \"precedence_in_trip\": 1,\n \"precedence_in_order\": 1\n }\n ],\n \"compatibilities\": {\n \"order_features\": [\n \"EXPRESS\"\n ],\n \"order_restrictions\": [\n \"EXPRESS\"\n ],\n \"performer_restrictions\": [\n \"EXPRESS\"\n ],\n \"performer_blacklist\": [\n \"A0\"\n ]\n }\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer0001\",\n \"shifts\": [\n {\n \"key\": \"shift01\",\n \"availability_time\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"working_time\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"start_location_key\": \"start_location01\",\n \"finish_location_key\": \"finish_location01\",\n \"max_locations\": 15,\n \"max_stops\": 15,\n \"tariff\": {\n \"cost_per_shift\": 2000,\n \"constraints\": [\n {\n \"stage_length\": \"PT24H\",\n \"cost_per_unit\": 0.001\n }\n ],\n \"max_penalty_cost\": 2000\n },\n \"work_and_rest_rules\": {\n \"first_break\": {\n \"max_work_duration_sum\": \"PT0S\",\n \"duration\": \"PT0S\"\n }\n }\n }\n ],\n \"own_transport_type\": \"CAR\",\n \"compatibilities\": {\n \"performer_features\": [\n \"B1\",\n \"EXPRESS\"\n ],\n \"transport_restrictions\": [\n \"B1\"\n ]\n },\n \"limits\": {\n \"max_work_shifts\": 3\n }\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport001\",\n \"shifts\": [\n {\n \"key\": \"shift01\",\n \"availability_time\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"working_time\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"start_location_key\": \"start_location01\",\n \"finish_location_key\": \"finish_location01\",\n \"tariff\": {\n \"cost_per_shift\": 2000,\n \"constraints\": [\n {\n \"stage_length\": 100000000,\n \"cost_per_unit\": 0.001\n }\n ],\n \"transportation_cost\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n },\n \"max_penalty_cost\": 2000\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"compatibilities\": {\n \"transport_features\": [\n \"20T\"\n ],\n \"performer_restrictions\": [\n \"EXPRESS\"\n ]\n },\n \"limits\": {\n \"max_boxes\": 2,\n \"max_capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n }\n ],\n \"trips\": [\n {\n \"key\": \"631988f0-9e27-11ed-a8fc-0242ac120002\",\n \"performer\": {\n \"performer_key\": \"performer0001\",\n \"shift_key\": \"performer0001_shift01\",\n \"shift_time\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport001\",\n \"shift_key\": \"performer01\",\n \"shift_time\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n }\n ],\n \"name\": \"1-ABC\",\n \"waitlist\": [\n \"order02\"\n ]\n }\n ],\n \"hardlinks\": [\n {\n \"key\": \"group01\",\n \"links\": [\n {\n \"type\": \"ORDER\",\n \"entity_key\": \"ord0001\"\n },\n {\n \"type\": \"ORDER\",\n \"entity_key\": \"ord0001\"\n }\n ]\n }\n ],\n \"facts\": {\n \"order_facts\": [\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n }\n ],\n \"performer_facts\": [\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n }\n ]\n },\n \"actualize_settings\": {\n \"current_time\": \"2023-10-21T09:30:00+03:00\",\n \"geo_settings\": {\n \"geo_provider\": \"OSRM\",\n \"toll_roads\": false,\n \"ferry_crossing\": false,\n \"traffic_jams\": false,\n \"flight_distance\": true,\n \"restricted_zones\": [\n \"ART_MOSCOW_MKAD_CARGO_FRAME\"\n ]\n },\n \"calculation_settings\": {\n \"max_calculation_time\": \"PT4M30S\",\n \"max_waiting_time\": \"PT2H\",\n \"result_ttl\": \"PT4M30S\",\n \"result_timezone\": 3,\n \"treat_warnings_as_errors\": true,\n \"precision\": 3\n }\n },\n \"dataset_name\": \"custom_dataset_one\"\n}", "options": { "raw": { "headerFamily": "json", "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\": \"2023-10-01T11:50:15.123Z\"\n },\n \"warnings\": [\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": "6d193a09-4668-4da3-8c83-a89f45f5a6dc", "name": "Неверный запрос - данные содержат ошибки", "originalRequest": { "url": { "path": [ "universal", "actualize", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location01\",\n \"geopoint\": {\n \"latitude\": 55.692789,\n \"longitude\": 37.554554\n },\n \"arrival_duration\": \"PT0S\",\n \"departure_duration\": \"PT0S\",\n \"compatibilities\": {\n \"transport_restrictions\": [\n \"B1\"\n ]\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order01\",\n \"demands\": [\n {\n \"key\": \"demand_1\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"event_1\",\n \"location_key\": \"location01\",\n \"hard_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"duration\": \"PT0S\",\n \"reward\": 199.9,\n \"soft_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n }\n ],\n \"target_cargos\": [\n \"cargo01\"\n ],\n \"precedence_in_trip\": 1,\n \"precedence_in_order\": 1\n }\n ],\n \"compatibilities\": {\n \"order_features\": [\n \"EXPRESS\"\n ],\n \"order_restrictions\": [\n \"EXPRESS\"\n ],\n \"performer_restrictions\": [\n \"EXPRESS\"\n ],\n \"performer_blacklist\": [\n \"A0\"\n ]\n }\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer0001\",\n \"shifts\": [\n {\n \"key\": \"shift01\",\n \"availability_time\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"working_time\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"start_location_key\": \"start_location01\",\n \"finish_location_key\": \"finish_location01\",\n \"max_locations\": 15,\n \"max_stops\": 15,\n \"tariff\": {\n \"cost_per_shift\": 2000,\n \"constraints\": [\n {\n \"stage_length\": \"PT24H\",\n \"cost_per_unit\": 0.001\n }\n ],\n \"max_penalty_cost\": 2000\n },\n \"work_and_rest_rules\": {\n \"first_break\": {\n \"max_work_duration_sum\": \"PT0S\",\n \"duration\": \"PT0S\"\n }\n }\n }\n ],\n \"own_transport_type\": \"CAR\",\n \"compatibilities\": {\n \"performer_features\": [\n \"B1\",\n \"EXPRESS\"\n ],\n \"transport_restrictions\": [\n \"B1\"\n ]\n },\n \"limits\": {\n \"max_work_shifts\": 3\n }\n }\n ],\n \"transports\": [\n {\n \"key\": \"transport001\",\n \"shifts\": [\n {\n \"key\": \"shift01\",\n \"availability_time\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"working_time\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"start_location_key\": \"start_location01\",\n \"finish_location_key\": \"finish_location01\",\n \"tariff\": {\n \"cost_per_shift\": 2000,\n \"constraints\": [\n {\n \"stage_length\": 100000000,\n \"cost_per_unit\": 0.001\n }\n ],\n \"transportation_cost\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n },\n \"max_penalty_cost\": 2000\n }\n }\n ],\n \"transport_type\": \"CAR\",\n \"compatibilities\": {\n \"transport_features\": [\n \"20T\"\n ],\n \"performer_restrictions\": [\n \"EXPRESS\"\n ]\n },\n \"limits\": {\n \"max_boxes\": 2,\n \"max_capacity\": {\n \"mass\": 10,\n \"volume\": 2,\n \"capacity_a\": 1,\n \"capacity_b\": 2,\n \"capacity_c\": 3\n }\n }\n }\n ],\n \"trips\": [\n {\n \"key\": \"631988f0-9e27-11ed-a8fc-0242ac120002\",\n \"performer\": {\n \"performer_key\": \"performer0001\",\n \"shift_key\": \"performer0001_shift01\",\n \"shift_time\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"transport\": {\n \"transport_key\": \"transport001\",\n \"shift_key\": \"performer01\",\n \"shift_time\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n },\n \"states\": [\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n },\n {\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"order_key\": \"order01\",\n \"demand_key\": \"demand01.1\",\n \"event_key\": \"event01\",\n \"location_key\": \"location01\"\n }\n ],\n \"name\": \"1-ABC\",\n \"waitlist\": [\n \"order02\"\n ]\n }\n ],\n \"hardlinks\": [\n {\n \"key\": \"group01\",\n \"links\": [\n {\n \"type\": \"ORDER\",\n \"entity_key\": \"ord0001\"\n },\n {\n \"type\": \"ORDER\",\n \"entity_key\": \"ord0001\"\n }\n ]\n }\n ],\n \"facts\": {\n \"order_facts\": [\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"type\": \"ORDER_DONE\",\n \"order_key\": \"order_01\",\n \"demand_key\": \"order_01_demand_01\"\n }\n ],\n \"performer_facts\": [\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n },\n {\n \"key\": \"fact_01\",\n \"time\": \"2023-10-21T09:30:00+03:00\",\n \"performer_key\": \"performer_01\",\n \"location_key\": \"location01\"\n }\n ]\n },\n \"actualize_settings\": {\n \"current_time\": \"2023-10-21T09:30:00+03:00\",\n \"geo_settings\": {\n \"geo_provider\": \"OSRM\",\n \"toll_roads\": false,\n \"ferry_crossing\": false,\n \"traffic_jams\": false,\n \"flight_distance\": true,\n \"restricted_zones\": [\n \"ART_MOSCOW_MKAD_CARGO_FRAME\"\n ]\n },\n \"calculation_settings\": {\n \"max_calculation_time\": \"PT4M30S\",\n \"max_waiting_time\": \"PT2H\",\n \"result_ttl\": \"PT4M30S\",\n \"result_timezone\": 3,\n \"treat_warnings_as_errors\": true,\n \"precision\": 3\n }\n },\n \"dataset_name\": \"custom_dataset_one\"\n}", "options": { "raw": { "headerFamily": "json", "language": "json" } } } }, "status": "Bad Request", "code": 400, "header": [ { "key": "Content-Type", "value": "application/json" } ], "body": "{\n \"tracedata\": {\n \"code\": \"11111111-2222-3333-4444-555555555555\",\n \"client\": \"company_|_username\",\n \"server\": \"server_name\",\n \"service\": \"UNIVERSAL\",\n \"operation\": \"run_plan_calculation\",\n \"time\": \"2023-10-21T09:30:00+03:00\"\n },\n \"message\": \"bad task data\",\n \"schema_errors\": [],\n \"logical_errors\": [],\n \"warnings\": []\n}", "cookie": [], "_postman_previewlanguage": "json" }, { "id": "0789f614-50fa-4ac4-94f3-5b0553ddf541", "name": "Ошибка доступа - токен отсутствует или невалиден\n", "originalRequest": { "url": { "path": [ "universal", "actualize", "validation" ], "host": [ "{{baseUrl}}" ], "query": [], "variable": [] }, "header": [ { "key": "Content-Type", "value": "application/json" }, { "key": "Accept", "value": "application/json" }, { "description": { "content": "Added as a part of security scheme: bearer", "type": "text/plain" }, "key": "Authorization", "value": "Bearer " } ], "method": "POST", "body": { "mode": "raw", "raw": "{\n \"locations\": [\n {\n \"key\": \"location01\",\n \"geopoint\": {\n \"latitude\": 55.692789,\n \"longitude\": 37.554554\n },\n \"arrival_duration\": \"PT0S\",\n \"departure_duration\": \"PT0S\",\n \"compatibilities\": {\n \"transport_restrictions\": [\n \"B1\"\n ]\n }\n }\n ],\n \"orders\": [\n {\n \"key\": \"order01\",\n \"demands\": [\n {\n \"key\": \"demand_1\",\n \"demand_type\": \"WORK\",\n \"possible_events\": [\n {\n \"key\": \"event_1\",\n \"location_key\": \"location01\",\n \"hard_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"duration\": \"PT0S\",\n \"reward\": 199.9,\n \"soft_time_window\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n }\n }\n ],\n \"target_cargos\": [\n \"cargo01\"\n ],\n \"precedence_in_trip\": 1,\n \"precedence_in_order\": 1\n }\n ],\n \"compatibilities\": {\n \"order_features\": [\n \"EXPRESS\"\n ],\n \"order_restrictions\": [\n \"EXPRESS\"\n ],\n \"performer_restrictions\": [\n \"EXPRESS\"\n ],\n \"performer_blacklist\": [\n \"A0\"\n ]\n }\n }\n ],\n \"performers\": [\n {\n \"key\": \"performer0001\",\n \"shifts\": [\n {\n \"key\": \"shift01\",\n \"availability_time\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"working_time\": {\n \"from\": \"2023-10-21T09:30:00+03:00\",\n \"to\": \"2023-10-21T19:45:00Z\"\n },\n \"start_location_key\": \"start_location01\",\n \"finish_location_key\": \"finish_location01\",\n \"max_locations\": 15,\n \"max_stops\": 15,\n \"tariff\": {\n \"cost_per_shift\": 2000,\n \"constraints\": [\n