Программный интерфейс для инструмента Veeroute Studio.
Создание новой папки.
Запрос на создание папки.
parent_key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ папки, в которой будет создана новая папка. |
name required | string [ 1 .. 100 ] characters Example: "folder_1_new" Название новой папки. |
comment | string or null [ 0 .. 10000 ] characters Default: null Example: "long long long long text" Комментарий к папке. |
Ключ созданной папки.
{- "parent_key": "11111111-2222-3333-4444-555555555555",
- "name": "folder_1_new",
- "comment": "long long long long text"
}
"11111111-2222-3333-4444-555555555555"
Получение структуры папок.
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
type required | string (folder_type) Enum: "ROOT" "FOLDER" Example: "FOLDER" Тип элемента:
|
name required | string [ 1 .. 100 ] characters Example: "folder_1" Название папки. |
comment | string or null [ 0 .. 10000 ] characters Default: null Example: "long long long long text" Комментарий к папке. |
required | object (folder_counters) Статистика по текущей папке. |
elements | Array of objects (filesystem) [ 0 .. 101 ] items Список дочерних элементов. |
{- "key": "5fffc47c-8239-42c4-8a3f-95d0ed235173",
- "type": "ROOT",
- "name": "ROOT",
- "counters": {
- "folders_count": 1,
- "experiments_count": 3
}, - "elements": [
- {
- "key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091",
- "type": "FOLDER",
- "name": "MyFolder",
- "counters": {
- "folders_count": 0,
- "experiments_count": 3
}, - "elements": [ ]
}
]
}
Получение списка экспериментов.
folder_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ папки, уникальный идентификатор. |
filter | string [ 1 .. 64 ] characters Example: filter=example text Фильтр для поиска по текстовым полям - возвращаются только те эксперименты, у которых в названии или описании содержится подстрока из фильтра. Если фильтр пустой - возвращаются все эксперименты в папке. Результат сортируется по времени редактирования. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
sort_field | string (table_experiment_column_type) Enum: "EDIT_DATE" "CREATION_DATE" "CALCULATION_STATE" … 2 more Example: sort_field=CREATION_DATE Название колонки в таблице с экспериментами. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
required | Array of objects (experiment) [ 0 .. 101 ] items Список экспериментов. |
required | object (table_list_counters) Счетчики по списку. |
{- "experiments": [
- {
- "key": "65fb88e5-128d-4f3f-9a50-4c2754adcbed",
- "specification": {
- "name": "Exp_1",
- "comment": "long long long long text",
- "folder_key": "65fb88e5-128d-4f3f-9a50-4c2754adcbed"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "optimize_distance",
- "assumptions": {
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "total_statistics_cost",
- "total_statistics_measurements_waiting_time"
], - "total_statistics": {
- "profit": 1,
- "cost": 2256.053,
- "reward": 3000.3,
- "measurements": {
- "driving_time": "PT57M5S",
- "waiting_time": "PT0S",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "working_time": "PT35M",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT1H32M5S",
- "distance": 38666,
- "time_window": {
- "from": "2024-11-08T04:50:28Z",
- "to": "2024-11-08T05:47:33Z"
}
}, - "performers_count": 1,
- "trips_count": 1,
- "orders_count": 3,
- "plan_orders_count": 3,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0.01,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0.006,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "data_statistics": {
- "locations": 1,
- "orders": 1,
- "performers": 1,
- "transports": 1,
- "hardlinks": 1,
- "trips": 1,
- "facts": 1,
- "external_routing": false
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "unplanned_items": {
- "order_keys": [
- "key_01"
], - "order_keys_count": 99,
- "performer_keys": [
- "key_01"
], - "performer_keys_count": 99,
- "transport_keys": [
- "key_01"
], - "transport_keys_count": 99,
- "hardlink_keys": [
- "key_01"
], - "hardlink_keys_count": 99
}
}, - "progress": 52,
- "calculation": {
- "calculation_progress": 52,
- "calculation_info": {
- "status": "FINISHED_IN_TIME",
- "result_version": 133,
- "preparing_time": "PT2H",
- "business_validation_time": "PT2H",
- "math_validation_time": "PT2H",
- "waiting_time": "PT2H",
- "calculation_time": "PT2H"
}, - "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "STUDIO",
- "operation": "run_plan_calculation",
- "time": "2024-11-21T09:30:00+03:00"
}
}, - "check": {
- "logical_errors": [ ],
- "warnings": [ ]
}, - "pristine": false,
- "sharing": true,
- "edit_date": "2024-11-21T19:45:00Z",
- "creation_date": "2024-11-21T19:45:00Z"
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Переименование \ перемещение папки.
folder_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ папки, уникальный идентификатор. |
Запрос на обновление папки.
parent_key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ папки, в которой будет создана новая папка. |
name required | string [ 1 .. 100 ] characters Example: "folder_1_new" Название новой папки. |
comment | string or null [ 0 .. 10000 ] characters Default: null Example: "long long long long text" Комментарий к папке. |
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
type required | string (folder_type) Enum: "ROOT" "FOLDER" Example: "FOLDER" Тип элемента:
|
name required | string [ 1 .. 100 ] characters Example: "folder_1" Название папки. |
comment | string or null [ 0 .. 10000 ] characters Default: null Example: "long long long long text" Комментарий к папке. |
required | object (folder_counters) Статистика по текущей папке. |
elements | Array of objects (filesystem) [ 0 .. 101 ] items Список дочерних элементов. |
{- "parent_key": "11111111-2222-3333-4444-555555555555",
- "name": "folder_1_new",
- "comment": "long long long long text"
}
{- "key": "5fffc47c-8239-42c4-8a3f-95d0ed235173",
- "type": "ROOT",
- "name": "ROOT",
- "counters": {
- "folders_count": 1,
- "experiments_count": 3
}, - "elements": [
- {
- "key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091",
- "type": "FOLDER",
- "name": "MyFolder",
- "counters": {
- "folders_count": 0,
- "experiments_count": 3
}, - "elements": [ ]
}
]
}
Удаление папки по ключу.
folder_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ папки, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение информации о папке.
folder_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ папки, уникальный идентификатор. |
parent_key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ папки, в которой будет создана новая папка. |
name required | string [ 1 .. 100 ] characters Example: "folder_1_new" Название новой папки. |
comment | string or null [ 0 .. 10000 ] characters Default: null Example: "long long long long text" Комментарий к папке. |
{- "parent_key": "11111111-2222-3333-4444-555555555555",
- "name": "folder_1_new",
- "comment": "long long long long text"
}
Поиск экспериментов по всем вложенным папкам.
filter required | string [ 3 .. 128 ] characters Example: filter=example text Фильтр для поиска по текстовым полям - возвращаются только те эксперименты, у которых в названии или описании содержится подстрока из фильтра. Если фильтр пустой - возвращается пустой список. По умолчанию результат сортируется по времени редактирования. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
sort_field | string (table_experiment_column_type) Enum: "EDIT_DATE" "CREATION_DATE" "CALCULATION_STATE" … 2 more Example: sort_field=CREATION_DATE Название колонки в таблице с экспериментами. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
required | Array of objects (experiment) [ 0 .. 101 ] items Список экспериментов. |
required | object (table_list_counters) Счетчики по списку. |
{- "experiments": [
- {
- "key": "65fb88e5-128d-4f3f-9a50-4c2754adcbed",
- "specification": {
- "name": "Exp_1",
- "comment": "long long long long text",
- "folder_key": "65fb88e5-128d-4f3f-9a50-4c2754adcbed"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "optimize_distance",
- "assumptions": {
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "total_statistics_cost",
- "total_statistics_measurements_waiting_time"
], - "total_statistics": {
- "profit": 1,
- "cost": 2256.053,
- "reward": 3000.3,
- "measurements": {
- "driving_time": "PT57M5S",
- "waiting_time": "PT0S",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "working_time": "PT35M",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT1H32M5S",
- "distance": 38666,
- "time_window": {
- "from": "2024-11-08T04:50:28Z",
- "to": "2024-11-08T05:47:33Z"
}
}, - "performers_count": 1,
- "trips_count": 1,
- "orders_count": 3,
- "plan_orders_count": 3,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0.01,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0.006,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "data_statistics": {
- "locations": 1,
- "orders": 1,
- "performers": 1,
- "transports": 1,
- "hardlinks": 1,
- "trips": 1,
- "facts": 1,
- "external_routing": false
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "unplanned_items": {
- "order_keys": [
- "key_01"
], - "order_keys_count": 99,
- "performer_keys": [
- "key_01"
], - "performer_keys_count": 99,
- "transport_keys": [
- "key_01"
], - "transport_keys_count": 99,
- "hardlink_keys": [
- "key_01"
], - "hardlink_keys_count": 99
}
}, - "progress": 52,
- "calculation": {
- "calculation_progress": 52,
- "calculation_info": {
- "status": "FINISHED_IN_TIME",
- "result_version": 133,
- "preparing_time": "PT2H",
- "business_validation_time": "PT2H",
- "math_validation_time": "PT2H",
- "waiting_time": "PT2H",
- "calculation_time": "PT2H"
}, - "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "STUDIO",
- "operation": "run_plan_calculation",
- "time": "2024-11-21T09:30:00+03:00"
}
}, - "check": {
- "logical_errors": [ ],
- "warnings": [ ]
}, - "pristine": false,
- "sharing": true,
- "edit_date": "2024-11-21T19:45:00Z",
- "creation_date": "2024-11-21T19:45:00Z"
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Массовое удаление папок.
Список ключей папок, которые необходимо удалить.
Ключ, уникальный идентификатор.
[- "11111111-2222-3333-4444-555555555555"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Массовое удаление экспериментов.
Список ключей экспериментов, которые необходимо удалить.
Ключ, уникальный идентификатор.
[- "11111111-2222-3333-4444-555555555555"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Создание нового эксперимента.
Запрос на создание эксперимента.
name required | string [ 1 .. 100 ] characters Example: "Exp_1" Название эксперимента. |
comment required | string or null [ 0 .. 10000 ] characters Default: null Example: "long long long long text" Комментарий к эксперименту. |
folder_key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ папки типа |
Ключ созданного эксперимента.
{- "name": "Exp_1",
- "comment": "long long long long text",
- "folder_key": "11111111-2222-3333-4444-555555555555"
}
"11111111-2222-3333-4444-555555555555"
Получение информации об эксперименте по его ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Переименование \ перемещение эксперимента.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на обновление описания эксперимента.
name required | string [ 1 .. 100 ] characters Example: "Exp_1" Название эксперимента. |
comment required | string or null [ 0 .. 10000 ] characters Default: null Example: "long long long long text" Комментарий к эксперименту. |
folder_key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ папки типа |
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
{- "name": "Exp_1",
- "comment": "long long long long text",
- "folder_key": "11111111-2222-3333-4444-555555555555"
}
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Удаление эксперимента по ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Дублирование эксперимента.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на дублирование эксперимента.
name required | string [ 1 .. 100 ] characters Example: "Exp_1" Название эксперимента. |
comment required | string or null [ 0 .. 10000 ] characters Default: null Example: "long long long long text" Комментарий к эксперименту. |
folder_key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ папки типа |
Ключ продублированного эксперимента.
{- "name": "Exp_1",
- "comment": "long long long long text",
- "folder_key": "11111111-2222-3333-4444-555555555555"
}
"11111111-2222-3333-4444-555555555555"
Обновление настроек.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на обновление настроек эксперимента.
required | object (plan_settings) Настройки планирования. |
required | object (replan_settings) Настройки перепланирования. |
required | object (actualize_settings) Настройки актуализации. |
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
{- "plan_settings": {
- "trips_settings": {
- "configuration": "optimize_distance",
- "expectations": {
- "trip_start_time_strategy": "LOWEST_COST"
}, - "assumptions": {
- "transport_speed_multipliers": [ ],
- "transport_capacity_multipliers": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ],
- "max_locations_limits_penalty": 25000
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true
}, - "calculation_settings": {
- "max_calculation_time": "PT12M35S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 1
}
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}, - "actualize_settings": {
- "current_time": "2024-11-21T09:30:00+03:00",
- "max_delay_duration": "PT1H30M"
}
}
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Обновление индикаторов.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на обновление индикаторов эксперимента.
Ключ индикатора.
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
[- "total_statistics_cost",
- "total_statistics_measurements_waiting_time"
]
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Получение соседних экспериментов.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
sort_field | string (table_experiment_column_type) Enum: "EDIT_DATE" "CREATION_DATE" "CALCULATION_STATE" … 2 more Example: sort_field=CREATION_DATE Название колонки в таблице с экспериментами. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
previous_experiment_key | string or null <uuid> Default: null Example: "11111111-2222-3333-4444-555555555555" Ключ предыдущего эксперимента в той же папке. |
next_experiment_key | string or null <uuid> Default: null Example: "11111111-2222-3333-4444-555555555555" Ключ следующего эксперимента в той же папке. |
{- "previous_experiment_key": "11111111-2222-3333-4444-555555555555",
- "next_experiment_key": "11111111-2222-3333-4444-555555555555"
}
Получение пути эксперимента.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
type required | string (folder_type) Enum: "ROOT" "FOLDER" Example: "FOLDER" Тип элемента:
|
name required | string [ 1 .. 100 ] characters Example: "folder_1" Название папки. |
comment | string or null [ 0 .. 10000 ] characters Default: null Example: "long long long long text" Комментарий к папке. |
required | object (folder_counters) Статистика по текущей папке. |
elements | Array of objects (filesystem) [ 0 .. 101 ] items Список дочерних элементов. |
{- "key": "11111111-2222-3333-4444-555555555555",
- "type": "FOLDER",
- "name": "folder_1",
- "comment": "long long long long text",
- "counters": {
- "folders_count": 12,
- "experiments_count": 16
}, - "elements": [
- { }
]
}
Получение истории расчета эксперимента.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
time required | string <date-time> Example: "2024-11-21T09:30:00+03:00" Дата и время получения статистики в соответствии с ISO 8601. |
required | object (general_statistics) Суммарная статистика по одному или совокупности рейсов. |
[- {
- "time": "2024-11-21T09:30:00+03:00",
- "total_statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "profit": 1231.1,
- "measurements": {
- "time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "driving_time": "PT1H45M",
- "waiting_time": "PT1H45M",
- "working_time": "PT1H45M",
- "break_time": "PT1H45M",
- "rest_time": "PT1H45M",
- "arriving_time": "PT1H45M",
- "departure_time": "PT1H45M",
- "total_time": "PT1H45M",
- "distance": 5200
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "stops_count": 87,
- "locations_count": 45,
- "cargo_capacity_sum": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}, - "cargo_capacity_ratio": {
- "mass": 0.5,
- "volume": 0.1,
- "capacity_a": 0.7,
- "capacity_b": 0.8,
- "capacity_c": 0.9
}, - "max_transport_load": {
- "mass": 0.5,
- "volume": 0.1,
- "capacity_a": 0.7,
- "capacity_b": 0.8,
- "capacity_c": 0.9
}, - "average_speed": 43.1,
- "round_trips_count": 2,
- "attributes": [ ]
}
}
]
Запуск расчета эксперимента.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
process_name required | string (basic_process) Default: "PLAN" Enum: "PLAN" "REPLAN" "ACTUALIZE" Example: ACTUALIZE Название процесса обработки данных:
|
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Остановка расчета.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Запуск валидации данных эксперимента.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
process_name required | string (basic_process) Default: "PLAN" Enum: "PLAN" "REPLAN" "ACTUALIZE" Example: ACTUALIZE Название процесса обработки данных:
|
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Запуск очистки данных эксперимента.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
process_name required | string (basic_process) Default: "PLAN" Enum: "PLAN" "REPLAN" "ACTUALIZE" Example: ACTUALIZE Название процесса обработки данных:
|
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Запуск перерасчета треков ROAD
эксперимента.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
tracks_full_segments | boolean Default: false Example: tracks_full_segments=true Возвращать полный или краткий список сегментов пути. |
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Импорт новых данных из файла формата XLSX. Если сущность уже присутствует в эксперименте (определяется по ее ключу) - она обновляется, если нет - создается новая. Временная зона данных берется из файла XLSX.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Данные (XLSX).
Файл с данными в формате XLSX.
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Импорт новых данных из файла формата VRt.Universal JSON. Если сущность уже присутствует в эксперименте (определяется по ее ключу) - она обновляется, если нет - создается новая.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Данные (JSON).
Array of objects (location_list) [ 0 .. 15001 ] items unique Список локаций, которые используются в заказах и сменах. | |
Array of objects (order_list) [ 0 .. 15001 ] items unique Список заказов, которые необходимо выполнить. | |
Array of objects (performer_list) [ 0 .. 15001 ] items unique Список доступных исполнителей. Исполнитель выполняет заказы используя транспорт. | |
Array of objects (transport_list) [ 0 .. 15001 ] items unique Список доступного транспорта. Транспорт используется исполнителем рейса для выполнения заказов. | |
Array of objects (hardlink_list) [ 0 .. 15001 ] items unique Список назначений. | |
Array of objects (trip_list) [ 0 .. 15001 ] items unique Список рейсов. Рейс - это совокупность работ, запланированных на выполнение конкретным исполнителем на конкретном транспорте, выраженных через изменение состояний исполнителя. | |
Array of objects (fact_list) [ 0 .. 15001 ] items unique Список фактов. Факт - это произошедшее событие, которое влияет на дальнейшие выполнение рейсов. | |
object or null (plan_statistics) Общая статистика по результату расчета. | |
Array of objects (routing_transport_matrix_list) [ 0 .. 16 ] items unique Список матриц времен и расстояний для каждого типа транспорта, которые указаны в данных.
Матрица должна описывать все локации для каждого типа транспорта из данных.
При указании внешней матрицы маршрутизации | |
object (plan_settings) Настройки планирования. | |
object (replan_settings) Настройки перепланирования. | |
object (actualize_settings) Настройки актуализации. | |
dataset_name | string (dataset_name) [ 0 .. 512 ] characters Example: "custom_dataset_one" Название набора данных. Техническое поле, не влияющее на расчет. |
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
{- "locations": [
- {
- "key": "location_client_1",
- "geopoint": {
- "latitude": 55.713699,
- "longitude": 37.621839
}
}, - {
- "key": "location_client_2",
- "geopoint": {
- "latitude": 55.630721,
- "longitude": 37.62493
}
}, - {
- "key": "location_client_3",
- "geopoint": {
- "latitude": 55.722801,
- "longitude": 37.674984
}
}, - {
- "key": "location_storage",
- "geopoint": {
- "latitude": 55.685853,
- "longitude": 37.43181
}
}
], - "orders": [
- {
- "key": "order_1",
- "demands": [
- {
- "key": "demand_1_drop",
- "demand_type": "DROP",
- "target_cargos": [
- "order_1_cargos"
], - "possible_events": [
- {
- "key": "demand_1_drop_event",
- "location_key": "location_client_1",
- "duration": "PT10M",
- "hard_time_window": {
- "from": "2024-11-08T05:00:00+00:00",
- "to": "2024-11-08T07:00:00+00:00"
}
}
]
}, - {
- "key": "demand_1_pickup",
- "demand_type": "PICKUP",
- "target_cargos": [
- "order_1_cargos"
], - "possible_events": [
- {
- "key": "demand_1_pickup_event",
- "location_key": "location_storage",
- "duration": "P0D",
- "reward": 0,
- "hard_time_window": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}
}
]
}
], - "cargos": [
- {
- "key": "order_1_cargos",
- "capacity": {
- "mass": 1
}
}
]
}, - {
- "key": "order_2",
- "demands": [
- {
- "key": "demand_2_drop",
- "demand_type": "DROP",
- "target_cargos": [
- "order_2_cargos"
], - "possible_events": [
- {
- "key": "demand_2_drop_event",
- "location_key": "location_client_2",
- "duration": "PT10M",
- "hard_time_window": {
- "from": "2024-11-08T05:00:00+00:00",
- "to": "2024-11-08T07:00:00+00:00"
}
}
]
}, - {
- "key": "demand_2_pickup",
- "demand_type": "PICKUP",
- "target_cargos": [
- "order_2_cargos"
], - "possible_events": [
- {
- "key": "demand_2_pickup_event",
- "location_key": "location_storage",
- "duration": "P0D",
- "reward": 0,
- "hard_time_window": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}
}
]
}
], - "cargos": [
- {
- "key": "order_2_cargos",
- "capacity": {
- "mass": 1
}
}
]
}, - {
- "key": "order_3",
- "demands": [
- {
- "key": "demand_3_work",
- "demand_type": "WORK",
- "possible_events": [
- {
- "key": "demand_3_work_event",
- "location_key": "location_client_3",
- "duration": "PT15M",
- "hard_time_window": {
- "from": "2024-11-08T05:00:00+00:00",
- "to": "2024-11-08T07:00:00+00:00"
}
}
]
}
]
}
], - "performers": [
- {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}, - "tariff": {
- "cost_per_shift": 1000,
- "constraints": [
- {
- "stage_length": "PT10H",
- "cost_per_unit": 1
}
]
}
}
]
}
], - "transports": [
- {
- "key": "transport_1",
- "shifts": [
- {
- "key": "transport_1_shift",
- "availability_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}, - "tariff": {
- "cost_per_shift": 1000,
- "constraints": [
- {
- "stage_length": 1000000,
- "cost_per_unit": 0.01
}
]
}
}
], - "transport_type": "CAR",
- "boxes": [
- {
- "key": "box_1",
- "capacity": {
- "mass": 300
}
}
]
}
], - "trips": [
- {
- "key": "performer_1_shift",
- "performer": {
- "performer_key": "performer_1",
- "shift_key": "performer_1_shift",
- "shift_time": {
- "from": "2024-11-08T04:38:34Z",
- "to": "2024-11-08T05:53:39Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2024-11-08T04:38:34Z",
- "to": "2024-11-08T05:53:39Z"
}
}, - "states": [
- {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "order_key": "order_2",
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "order_key": "order_1",
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}, - {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}, - {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:00:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}, - {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:00:00Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "order_key": "order_2",
- "demand_key": "demand_2_drop",
- "event_key": "demand_2_drop_event",
- "location_key": "location_client_2",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}, - {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:10:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:20:52Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:20:52Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "order_key": "order_1",
- "demand_key": "demand_1_drop",
- "event_key": "demand_1_drop_event",
- "location_key": "location_client_1",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:30:52Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:30:52Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:38:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:38:39Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "order_key": "order_3",
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:53:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}
], - "waitlist": [ ],
- "attributes": [ ]
}
]
}
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Импорт новых данных из файла формата VRt.Universal JSON по ссылке. Если сущность уже присутствует в эксперименте (определяется по ее ключу) - она обновляется, если нет - создается новая.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
url required | string <uri> Example: url=https://docs.edge.veeroute.tech/assets/files/case_1.json Url json файла. |
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Импорт новых данных из файла формата VRt.Universal JSON по tracedata.process_code
. Если сущность уже присутствует в эксперименте (определяется по ее ключу) - она обновляется, если нет - создается новая.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
source required | string (import_source) Enum: "ACCOUNT" "ADMIN" Example: ACCOUNT Источник. |
process_code required | string <uuid> (process_code) Example: 11111111-2222-3333-4444-555555555555 Уникальный идентификатор процесса. |
sample required | string (import_sample) Enum: "TASK" "FULL" Example: TASK Выборка загружаемых данных - входная задача или входная задача + результат расчета. |
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Экспортировать (XLSX).
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
timezone | integer <int32> (timezone) [ -12 .. 12 ] Default: 0 Example: timezone=3 Целевая временная зона данных. |
Файл с данными в формате XLSX.
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Экспортировать данные из эксперимента в файл формата VRt.Universal JSON.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Array of objects (location_list) [ 0 .. 15001 ] items unique Список локаций, которые используются в заказах и сменах. | |
Array of objects (order_list) [ 0 .. 15001 ] items unique Список заказов, которые необходимо выполнить. | |
Array of objects (performer_list) [ 0 .. 15001 ] items unique Список доступных исполнителей. Исполнитель выполняет заказы используя транспорт. | |
Array of objects (transport_list) [ 0 .. 15001 ] items unique Список доступного транспорта. Транспорт используется исполнителем рейса для выполнения заказов. | |
Array of objects (hardlink_list) [ 0 .. 15001 ] items unique Список назначений. | |
Array of objects (trip_list) [ 0 .. 15001 ] items unique Список рейсов. Рейс - это совокупность работ, запланированных на выполнение конкретным исполнителем на конкретном транспорте, выраженных через изменение состояний исполнителя. | |
Array of objects (fact_list) [ 0 .. 15001 ] items unique Список фактов. Факт - это произошедшее событие, которое влияет на дальнейшие выполнение рейсов. | |
object or null (plan_statistics) Общая статистика по результату расчета. | |
Array of objects (routing_transport_matrix_list) [ 0 .. 16 ] items unique Список матриц времен и расстояний для каждого типа транспорта, которые указаны в данных.
Матрица должна описывать все локации для каждого типа транспорта из данных.
При указании внешней матрицы маршрутизации | |
object (plan_settings) Настройки планирования. | |
object (replan_settings) Настройки перепланирования. | |
object (actualize_settings) Настройки актуализации. | |
dataset_name | string (dataset_name) [ 0 .. 512 ] characters Example: "custom_dataset_one" Название набора данных. Техническое поле, не влияющее на расчет. |
{- "locations": [
- {
- "key": "location_client_1",
- "geopoint": {
- "latitude": 55.713699,
- "longitude": 37.621839
}
}, - {
- "key": "location_client_2",
- "geopoint": {
- "latitude": 55.630721,
- "longitude": 37.62493
}
}, - {
- "key": "location_client_3",
- "geopoint": {
- "latitude": 55.722801,
- "longitude": 37.674984
}
}, - {
- "key": "location_storage",
- "geopoint": {
- "latitude": 55.685853,
- "longitude": 37.43181
}
}
], - "orders": [
- {
- "key": "order_1",
- "demands": [
- {
- "key": "demand_1_drop",
- "demand_type": "DROP",
- "target_cargos": [
- "order_1_cargos"
], - "possible_events": [
- {
- "key": "demand_1_drop_event",
- "location_key": "location_client_1",
- "duration": "PT10M",
- "hard_time_window": {
- "from": "2024-11-08T05:00:00+00:00",
- "to": "2024-11-08T07:00:00+00:00"
}
}
]
}, - {
- "key": "demand_1_pickup",
- "demand_type": "PICKUP",
- "target_cargos": [
- "order_1_cargos"
], - "possible_events": [
- {
- "key": "demand_1_pickup_event",
- "location_key": "location_storage",
- "duration": "P0D",
- "reward": 0,
- "hard_time_window": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}
}
]
}
], - "cargos": [
- {
- "key": "order_1_cargos",
- "capacity": {
- "mass": 1
}
}
]
}, - {
- "key": "order_2",
- "demands": [
- {
- "key": "demand_2_drop",
- "demand_type": "DROP",
- "target_cargos": [
- "order_2_cargos"
], - "possible_events": [
- {
- "key": "demand_2_drop_event",
- "location_key": "location_client_2",
- "duration": "PT10M",
- "hard_time_window": {
- "from": "2024-11-08T05:00:00+00:00",
- "to": "2024-11-08T07:00:00+00:00"
}
}
]
}, - {
- "key": "demand_2_pickup",
- "demand_type": "PICKUP",
- "target_cargos": [
- "order_2_cargos"
], - "possible_events": [
- {
- "key": "demand_2_pickup_event",
- "location_key": "location_storage",
- "duration": "P0D",
- "reward": 0,
- "hard_time_window": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}
}
]
}
], - "cargos": [
- {
- "key": "order_2_cargos",
- "capacity": {
- "mass": 1
}
}
]
}, - {
- "key": "order_3",
- "demands": [
- {
- "key": "demand_3_work",
- "demand_type": "WORK",
- "possible_events": [
- {
- "key": "demand_3_work_event",
- "location_key": "location_client_3",
- "duration": "PT15M",
- "hard_time_window": {
- "from": "2024-11-08T05:00:00+00:00",
- "to": "2024-11-08T07:00:00+00:00"
}
}
]
}
]
}
], - "performers": [
- {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}, - "tariff": {
- "cost_per_shift": 1000,
- "constraints": [
- {
- "stage_length": "PT10H",
- "cost_per_unit": 1
}
]
}
}
]
}
], - "transports": [
- {
- "key": "transport_1",
- "shifts": [
- {
- "key": "transport_1_shift",
- "availability_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}, - "tariff": {
- "cost_per_shift": 1000,
- "constraints": [
- {
- "stage_length": 1000000,
- "cost_per_unit": 0.01
}
]
}
}
], - "transport_type": "CAR",
- "boxes": [
- {
- "key": "box_1",
- "capacity": {
- "mass": 300
}
}
]
}
], - "trips": [
- {
- "key": "performer_1_shift",
- "performer": {
- "performer_key": "performer_1",
- "shift_key": "performer_1_shift",
- "shift_time": {
- "from": "2024-11-08T04:38:34Z",
- "to": "2024-11-08T05:53:39Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2024-11-08T04:38:34Z",
- "to": "2024-11-08T05:53:39Z"
}
}, - "states": [
- {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "order_key": "order_2",
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "order_key": "order_1",
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}, - {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}, - {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:00:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}, - {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:00:00Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "order_key": "order_2",
- "demand_key": "demand_2_drop",
- "event_key": "demand_2_drop_event",
- "location_key": "location_client_2",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}, - {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:10:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:20:52Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:20:52Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "order_key": "order_1",
- "demand_key": "demand_1_drop",
- "event_key": "demand_1_drop_event",
- "location_key": "location_client_1",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:30:52Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:30:52Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:38:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:38:39Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "order_key": "order_3",
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:53:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}
], - "waitlist": [ ],
- "attributes": [ ]
}
]
}
Получение списка локаций.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
sort_field | string (table_location_column_type) Enum: "ESSENCE_KEY" "ENABLED" "PRISTINE" … 2 more Example: sort_field=ESSENCE_KEY Название колонки в таблице с локациями. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
Фильтр локаций.
Array of objects (table_location_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (table_location) [ 0 .. 15001 ] items Список. |
required | object (table_list_counters) Счетчики по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "essences": [
- {
- "fields": {
- "essence_key": "key01",
- "essence_type": "LOCATION",
- "enabled": false,
- "pristine": false,
- "working_time": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "attributes": "key1:value1, key2:value2"
}, - "elements": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION",
- "enabled": false,
- "pristine": false,
- "working_time": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "attributes": "key1:value1, key2:value2"
}
]
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Создание локации.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на создание нового локации.
required | object (location) Локация - уникальное географическое местоположение объекта с параметрами доступности. |
object or null (location_statistics) Статистика по загрузке локации. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (location) Локация - уникальное географическое местоположение объекта с параметрами доступности. |
object or null (location_statistics) Статистика по загрузке локации. | |
object (table_location_fields) Табличные поля локации. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "location": {
- "key": "location_01",
- "geopoint": {
- "latitude": 55.692789,
- "longitude": 37.554554
}, - "arrival_duration": "PT1H45M",
- "departure_duration": "PT1H45M",
- "timetable": [
- {
- "work_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "limits": [
- {
- "key": "location_limit_constraint_01",
- "time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "min_cargos": [
- {
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "penalty": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}
], - "max_cargos": [
- {
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "penalty": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}
], - "min_transports": [
- {
- "count": 2,
- "penalty": 2000
}
], - "max_transports": [
- {
- "count": 2,
- "penalty": 2000
}
]
}
]
}
], - "compatibilities": {
- "transport_restrictions": [ ]
}, - "attributes": [ ]
}, - "location_statistics": {
- "location_key": "location_01",
- "location_limits_penalty": 25000,
- "total_cargos_statistics": {
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "penalty": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}, - "total_transports_statistics": {
- "count": 2,
- "penalty": 2000
}, - "limits_statistics": [
- {
- "location_limit_key": "location_limit_constraint_01",
- "cargos_statistics": {
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "penalty": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}, - "transports_statistics": {
- "count": 2,
- "penalty": 2000
}, - "location_limit_penalty": 25000
}
]
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
{- "location": {
- "key": "location_01",
- "geopoint": {
- "latitude": 55.692789,
- "longitude": 37.554554
}, - "arrival_duration": "PT1H45M",
- "departure_duration": "PT1H45M",
- "timetable": [
- {
- "work_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "limits": [
- {
- "key": "location_limit_constraint_01",
- "time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "min_cargos": [
- {
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "penalty": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}
], - "max_cargos": [
- {
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "penalty": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}
], - "min_transports": [
- {
- "count": 2,
- "penalty": 2000
}
], - "max_transports": [
- {
- "count": 2,
- "penalty": 2000
}
]
}
]
}
], - "compatibilities": {
- "transport_restrictions": [ ]
}, - "attributes": [ ]
}, - "location_statistics": {
- "location_key": "location_01",
- "location_limits_penalty": 25000,
- "total_cargos_statistics": {
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "penalty": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}, - "total_transports_statistics": {
- "count": 2,
- "penalty": 2000
}, - "limits_statistics": [
- {
- "location_limit_key": "location_limit_constraint_01",
- "cargos_statistics": {
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "penalty": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}, - "transports_statistics": {
- "count": 2,
- "penalty": 2000
}, - "location_limit_penalty": 25000
}
]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "LOCATION",
- "enabled": false,
- "pristine": false,
- "working_time": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "attributes": "key1:value1, key2:value2"
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
Обновление локации по ее ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на обновление локации.
required | object (location) Локация - уникальное географическое местоположение объекта с параметрами доступности. |
object or null (location_statistics) Статистика по загрузке локации. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (location) Локация - уникальное географическое местоположение объекта с параметрами доступности. |
object or null (location_statistics) Статистика по загрузке локации. | |
object (table_location_fields) Табличные поля локации. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "location": {
- "key": "location_01",
- "geopoint": {
- "latitude": 55.692789,
- "longitude": 37.554554
}, - "arrival_duration": "PT1H45M",
- "departure_duration": "PT1H45M",
- "timetable": [
- {
- "work_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "limits": [
- {
- "key": "location_limit_constraint_01",
- "time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "min_cargos": [
- {
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "penalty": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}
], - "max_cargos": [
- {
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "penalty": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}
], - "min_transports": [
- {
- "count": 2,
- "penalty": 2000
}
], - "max_transports": [
- {
- "count": 2,
- "penalty": 2000
}
]
}
]
}
], - "compatibilities": {
- "transport_restrictions": [ ]
}, - "attributes": [ ]
}, - "location_statistics": {
- "location_key": "location_01",
- "location_limits_penalty": 25000,
- "total_cargos_statistics": {
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "penalty": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}, - "total_transports_statistics": {
- "count": 2,
- "penalty": 2000
}, - "limits_statistics": [
- {
- "location_limit_key": "location_limit_constraint_01",
- "cargos_statistics": {
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "penalty": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}, - "transports_statistics": {
- "count": 2,
- "penalty": 2000
}, - "location_limit_penalty": 25000
}
]
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
{- "location": {
- "key": "location_01",
- "geopoint": {
- "latitude": 55.692789,
- "longitude": 37.554554
}, - "arrival_duration": "PT1H45M",
- "departure_duration": "PT1H45M",
- "timetable": [
- {
- "work_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "limits": [
- {
- "key": "location_limit_constraint_01",
- "time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "min_cargos": [
- {
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "penalty": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}
], - "max_cargos": [
- {
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "penalty": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}
], - "min_transports": [
- {
- "count": 2,
- "penalty": 2000
}
], - "max_transports": [
- {
- "count": 2,
- "penalty": 2000
}
]
}
]
}
], - "compatibilities": {
- "transport_restrictions": [ ]
}, - "attributes": [ ]
}, - "location_statistics": {
- "location_key": "location_01",
- "location_limits_penalty": 25000,
- "total_cargos_statistics": {
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "penalty": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}, - "total_transports_statistics": {
- "count": 2,
- "penalty": 2000
}, - "limits_statistics": [
- {
- "location_limit_key": "location_limit_constraint_01",
- "cargos_statistics": {
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "penalty": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}, - "transports_statistics": {
- "count": 2,
- "penalty": 2000
}, - "location_limit_penalty": 25000
}
]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "LOCATION",
- "enabled": false,
- "pristine": false,
- "working_time": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "attributes": "key1:value1, key2:value2"
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
Получение информации о локации по ее ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
required | object (location) Локация - уникальное географическое местоположение объекта с параметрами доступности. |
object or null (location_statistics) Статистика по загрузке локации. | |
object (table_location_fields) Табличные поля локации. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "location": {
- "key": "location_01",
- "geopoint": {
- "latitude": 55.692789,
- "longitude": 37.554554
}, - "arrival_duration": "PT1H45M",
- "departure_duration": "PT1H45M",
- "timetable": [
- {
- "work_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "limits": [
- {
- "key": "location_limit_constraint_01",
- "time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "min_cargos": [
- {
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "penalty": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}
], - "max_cargos": [
- {
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "penalty": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}
], - "min_transports": [
- {
- "count": 2,
- "penalty": 2000
}
], - "max_transports": [
- {
- "count": 2,
- "penalty": 2000
}
]
}
]
}
], - "compatibilities": {
- "transport_restrictions": [ ]
}, - "attributes": [ ]
}, - "location_statistics": {
- "location_key": "location_01",
- "location_limits_penalty": 25000,
- "total_cargos_statistics": {
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "penalty": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}, - "total_transports_statistics": {
- "count": 2,
- "penalty": 2000
}, - "limits_statistics": [
- {
- "location_limit_key": "location_limit_constraint_01",
- "cargos_statistics": {
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "penalty": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}, - "transports_statistics": {
- "count": 2,
- "penalty": 2000
}, - "location_limit_penalty": 25000
}
]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "LOCATION",
- "enabled": false,
- "pristine": false,
- "working_time": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "attributes": "key1:value1, key2:value2"
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
Удаление локации по ее ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение списка геоточек.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
Фильтр локаций.
Array of objects (table_location_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (web_location_geopoint) [ 0 .. 60002 ] items Список точек. |
required | object (table_list_counters) Счетчики по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "geopoints": [
- {
- "geopoint": {
- "latitude": 55.692789,
- "longitude": 37.554554
}, - "location_key": "location_01",
- "linked": true
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Получение списка исполнителей.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
sort_field | string (table_performer_column_type) Enum: "ESSENCE_KEY" "ENABLED" "PRISTINE" … 9 more Example: sort_field=ESSENCE_KEY Название колонки в таблице с исполнителями. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
Фильтр исполнителей.
Array of objects (table_performer_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (table_performer) [ 0 .. 15001 ] items Список. |
required | object (table_list_counters) Счетчики по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "essences": [
- {
- "fields": {
- "essence_key": "key01",
- "essence_type": "PERFORMER",
- "enabled": false,
- "pristine": false,
- "working_time": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "availability_time": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "trip_key": "key01",
- "trip_name": "1-ABC",
- "location_keys": [
- "key01"
], - "performer_features": [ ],
- "transport_restrictions": [ ],
- "trips_count": 1,
- "attributes": "key1:value1, key2:value2"
}, - "elements": [
- {
- "essence_key": "key01",
- "essence_type": "PERFORMER",
- "enabled": false,
- "pristine": false,
- "working_time": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "availability_time": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "trip_key": "key01",
- "trip_name": "1-ABC",
- "location_keys": [
- "key01"
], - "performer_features": [ ],
- "transport_restrictions": [ ],
- "trips_count": 1,
- "attributes": "key1:value1, key2:value2"
}
]
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Создание исполнителя.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на создание нового исполнителя.
required | object (performer) Исполнитель. Выполняет заказы, используя транспорт. |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (performer) Исполнитель. Выполняет заказы, используя транспорт. |
object (table_performer_fields) Табличные поля исполнителя и его смены. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "performer": {
- "key": "performer0001",
- "shifts": [
- {
- "key": "shift01",
- "availability_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "working_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "start_location_key": "start_location_01",
- "finish_location_key": "finish_location_01",
- "max_locations": 15,
- "max_stops": 15,
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": "PT30D",
- "cost_per_unit": 0.001
}
], - "max_penalty_cost": 2000
}, - "work_and_rest_rules": {
- "rest_rules": {
- "consecutive": {
- "relocating_duration_sum": "PT1H45M",
- "operating_duration_sum": "PT2H12M34.3S",
- "duration": "PT1H45M"
}
}, - "break_rules": {
- "first": {
- "relocating_duration_sum": "PT1H45M",
- "operating_duration_sum": "PT2H12M34.3S",
- "duration": "PT1H45M"
}, - "consecutive": {
- "relocating_duration_sum": "PT1H45M",
- "operating_duration_sum": "PT2H12M34.3S",
- "duration": "PT1H45M"
}, - "relocating_duration_type": "CONTINUOUS"
}, - "reset_location_keys": [
- "location_01"
], - "ignore_location_keys": [
- "location_01"
]
}, - "attributes": [ ]
}
], - "own_transport_type": "CAR",
- "compatibilities": {
- "performer_features": [ ],
- "performer_features_lifetimes": [ ],
- "transport_restrictions": [ ]
}, - "limits": {
- "max_work_shifts": 3,
- "demand_extra_durations": [
- {
- "demand_key": "demand01.1",
- "additional_duration": "PT1H45M"
}
]
}, - "attributes": [ ]
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
{- "performer": {
- "key": "performer0001",
- "shifts": [
- {
- "key": "shift01",
- "availability_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "working_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "start_location_key": "start_location_01",
- "finish_location_key": "finish_location_01",
- "max_locations": 15,
- "max_stops": 15,
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": "PT30D",
- "cost_per_unit": 0.001
}
], - "max_penalty_cost": 2000
}, - "work_and_rest_rules": {
- "rest_rules": {
- "consecutive": {
- "relocating_duration_sum": "PT1H45M",
- "operating_duration_sum": "PT2H12M34.3S",
- "duration": "PT1H45M"
}
}, - "break_rules": {
- "first": {
- "relocating_duration_sum": "PT1H45M",
- "operating_duration_sum": "PT2H12M34.3S",
- "duration": "PT1H45M"
}, - "consecutive": {
- "relocating_duration_sum": "PT1H45M",
- "operating_duration_sum": "PT2H12M34.3S",
- "duration": "PT1H45M"
}, - "relocating_duration_type": "CONTINUOUS"
}, - "reset_location_keys": [
- "location_01"
], - "ignore_location_keys": [
- "location_01"
]
}, - "attributes": [ ]
}
], - "own_transport_type": "CAR",
- "compatibilities": {
- "performer_features": [ ],
- "performer_features_lifetimes": [ ],
- "transport_restrictions": [ ]
}, - "limits": {
- "max_work_shifts": 3,
- "demand_extra_durations": [
- {
- "demand_key": "demand01.1",
- "additional_duration": "PT1H45M"
}
]
}, - "attributes": [ ]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "PERFORMER",
- "enabled": false,
- "pristine": false,
- "working_time": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "availability_time": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "trip_key": "key01",
- "trip_name": "1-ABC",
- "location_keys": [
- "key01"
], - "performer_features": [ ],
- "transport_restrictions": [ ],
- "trips_count": 1,
- "attributes": "key1:value1, key2:value2"
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
Обновление исполнителя по его ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на обновление исполнителя.
required | object (performer) Исполнитель. Выполняет заказы, используя транспорт. |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (performer) Исполнитель. Выполняет заказы, используя транспорт. |
object (table_performer_fields) Табличные поля исполнителя и его смены. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "performer": {
- "key": "performer0001",
- "shifts": [
- {
- "key": "shift01",
- "availability_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "working_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "start_location_key": "start_location_01",
- "finish_location_key": "finish_location_01",
- "max_locations": 15,
- "max_stops": 15,
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": "PT30D",
- "cost_per_unit": 0.001
}
], - "max_penalty_cost": 2000
}, - "work_and_rest_rules": {
- "rest_rules": {
- "consecutive": {
- "relocating_duration_sum": "PT1H45M",
- "operating_duration_sum": "PT2H12M34.3S",
- "duration": "PT1H45M"
}
}, - "break_rules": {
- "first": {
- "relocating_duration_sum": "PT1H45M",
- "operating_duration_sum": "PT2H12M34.3S",
- "duration": "PT1H45M"
}, - "consecutive": {
- "relocating_duration_sum": "PT1H45M",
- "operating_duration_sum": "PT2H12M34.3S",
- "duration": "PT1H45M"
}, - "relocating_duration_type": "CONTINUOUS"
}, - "reset_location_keys": [
- "location_01"
], - "ignore_location_keys": [
- "location_01"
]
}, - "attributes": [ ]
}
], - "own_transport_type": "CAR",
- "compatibilities": {
- "performer_features": [ ],
- "performer_features_lifetimes": [ ],
- "transport_restrictions": [ ]
}, - "limits": {
- "max_work_shifts": 3,
- "demand_extra_durations": [
- {
- "demand_key": "demand01.1",
- "additional_duration": "PT1H45M"
}
]
}, - "attributes": [ ]
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
{- "performer": {
- "key": "performer0001",
- "shifts": [
- {
- "key": "shift01",
- "availability_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "working_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "start_location_key": "start_location_01",
- "finish_location_key": "finish_location_01",
- "max_locations": 15,
- "max_stops": 15,
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": "PT30D",
- "cost_per_unit": 0.001
}
], - "max_penalty_cost": 2000
}, - "work_and_rest_rules": {
- "rest_rules": {
- "consecutive": {
- "relocating_duration_sum": "PT1H45M",
- "operating_duration_sum": "PT2H12M34.3S",
- "duration": "PT1H45M"
}
}, - "break_rules": {
- "first": {
- "relocating_duration_sum": "PT1H45M",
- "operating_duration_sum": "PT2H12M34.3S",
- "duration": "PT1H45M"
}, - "consecutive": {
- "relocating_duration_sum": "PT1H45M",
- "operating_duration_sum": "PT2H12M34.3S",
- "duration": "PT1H45M"
}, - "relocating_duration_type": "CONTINUOUS"
}, - "reset_location_keys": [
- "location_01"
], - "ignore_location_keys": [
- "location_01"
]
}, - "attributes": [ ]
}
], - "own_transport_type": "CAR",
- "compatibilities": {
- "performer_features": [ ],
- "performer_features_lifetimes": [ ],
- "transport_restrictions": [ ]
}, - "limits": {
- "max_work_shifts": 3,
- "demand_extra_durations": [
- {
- "demand_key": "demand01.1",
- "additional_duration": "PT1H45M"
}
]
}, - "attributes": [ ]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "PERFORMER",
- "enabled": false,
- "pristine": false,
- "working_time": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "availability_time": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "trip_key": "key01",
- "trip_name": "1-ABC",
- "location_keys": [
- "key01"
], - "performer_features": [ ],
- "transport_restrictions": [ ],
- "trips_count": 1,
- "attributes": "key1:value1, key2:value2"
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
Получение информации об исполнителе по его ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
required | object (performer) Исполнитель. Выполняет заказы, используя транспорт. |
object (table_performer_fields) Табличные поля исполнителя и его смены. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "performer": {
- "key": "performer0001",
- "shifts": [
- {
- "key": "shift01",
- "availability_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "working_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "start_location_key": "start_location_01",
- "finish_location_key": "finish_location_01",
- "max_locations": 15,
- "max_stops": 15,
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": "PT30D",
- "cost_per_unit": 0.001
}
], - "max_penalty_cost": 2000
}, - "work_and_rest_rules": {
- "rest_rules": {
- "consecutive": {
- "relocating_duration_sum": "PT1H45M",
- "operating_duration_sum": "PT2H12M34.3S",
- "duration": "PT1H45M"
}
}, - "break_rules": {
- "first": {
- "relocating_duration_sum": "PT1H45M",
- "operating_duration_sum": "PT2H12M34.3S",
- "duration": "PT1H45M"
}, - "consecutive": {
- "relocating_duration_sum": "PT1H45M",
- "operating_duration_sum": "PT2H12M34.3S",
- "duration": "PT1H45M"
}, - "relocating_duration_type": "CONTINUOUS"
}, - "reset_location_keys": [
- "location_01"
], - "ignore_location_keys": [
- "location_01"
]
}, - "attributes": [ ]
}
], - "own_transport_type": "CAR",
- "compatibilities": {
- "performer_features": [ ],
- "performer_features_lifetimes": [ ],
- "transport_restrictions": [ ]
}, - "limits": {
- "max_work_shifts": 3,
- "demand_extra_durations": [
- {
- "demand_key": "demand01.1",
- "additional_duration": "PT1H45M"
}
]
}, - "attributes": [ ]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "PERFORMER",
- "enabled": false,
- "pristine": false,
- "working_time": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "availability_time": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "trip_key": "key01",
- "trip_name": "1-ABC",
- "location_keys": [
- "key01"
], - "performer_features": [ ],
- "transport_restrictions": [ ],
- "trips_count": 1,
- "attributes": "key1:value1, key2:value2"
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
Удаление исполнителя по его ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение списка геоточек.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
Фильтр исполнителей.
Array of objects (table_performer_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (web_performer_geopoint) [ 0 .. 60002 ] items Список точек. |
required | object (table_list_counters) Счетчики по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "geopoints": [
- {
- "geopoint": {
- "latitude": 55.692789,
- "longitude": 37.554554
}, - "performer_key": "performer_01",
- "shift_key": "shift01",
- "point_type": "START",
- "trip_key": "key01",
- "trip_name": "1-ABC",
- "stop_number": 10
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Включение исполнителей в расчет.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на включение исполнителей.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Выключение исполнителей из расчета.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на выключение исполнителей.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение списка транспорта.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
sort_field | string (table_transport_column_type) Enum: "ESSENCE_KEY" "ENABLED" "PRISTINE" … 9 more Example: sort_field=ESSENCE_KEY Название колонки в таблице с транспортом. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
Фильтр транспорта.
Array of objects (table_transport_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (table_transport) [ 0 .. 15001 ] items Список. |
required | object (table_list_counters) Счетчики по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "essences": [
- {
- "fields": {
- "essence_key": "key01",
- "essence_type": "TRANSPORT",
- "enabled": false,
- "pristine": false,
- "availability_time": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "transport_type": "CAR",
- "trip_key": "key01",
- "trip_name": "1-ABC",
- "location_keys": [
- "key01"
], - "transport_features": [ ],
- "performer_restrictions": [ ],
- "trips_count": 1,
- "attributes": "key1:value1, key2:value2"
}, - "elements": [
- {
- "essence_key": "key01",
- "essence_type": "TRANSPORT",
- "enabled": false,
- "pristine": false,
- "availability_time": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "transport_type": "CAR",
- "trip_key": "key01",
- "trip_name": "1-ABC",
- "location_keys": [
- "key01"
], - "transport_features": [ ],
- "performer_restrictions": [ ],
- "trips_count": 1,
- "attributes": "key1:value1, key2:value2"
}
]
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Создание транспорта.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на создание нового транспорта.
required | object (transport) Транспорт. Исполнитель использует транспорт для перемещения и перевозки грузов. |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (transport) Транспорт. Исполнитель использует транспорт для перемещения и перевозки грузов. |
object (table_transport_fields) Табличные поля транспорта и его смены. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "transport": {
- "key": "transport001",
- "shifts": [
- {
- "key": "shift01",
- "availability_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "start_location_key": "start_location_01",
- "finish_location_key": "finish_location_01",
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": 100000000,
- "cost_per_unit": 0.001
}
], - "transportation_cost": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}, - "attributes": [ ]
}
], - "transport_type": "CAR",
- "boxes": [ ],
- "compatibilities": {
- "transport_features": [ ],
- "transport_features_lifetimes": [ ],
- "performer_restrictions": [ ]
}, - "limits": {
- "max_boxes": 2,
- "max_capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "attributes": [ ]
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
{- "transport": {
- "key": "transport001",
- "shifts": [
- {
- "key": "shift01",
- "availability_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "start_location_key": "start_location_01",
- "finish_location_key": "finish_location_01",
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": 100000000,
- "cost_per_unit": 0.001
}
], - "transportation_cost": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}, - "attributes": [ ]
}
], - "transport_type": "CAR",
- "boxes": [ ],
- "compatibilities": {
- "transport_features": [ ],
- "transport_features_lifetimes": [ ],
- "performer_restrictions": [ ]
}, - "limits": {
- "max_boxes": 2,
- "max_capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "attributes": [ ]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "TRANSPORT",
- "enabled": false,
- "pristine": false,
- "availability_time": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "transport_type": "CAR",
- "trip_key": "key01",
- "trip_name": "1-ABC",
- "location_keys": [
- "key01"
], - "transport_features": [ ],
- "performer_restrictions": [ ],
- "trips_count": 1,
- "attributes": "key1:value1, key2:value2"
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
Обновление транспорта по ее ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на обновление транспорта.
required | object (transport) Транспорт. Исполнитель использует транспорт для перемещения и перевозки грузов. |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (transport) Транспорт. Исполнитель использует транспорт для перемещения и перевозки грузов. |
object (table_transport_fields) Табличные поля транспорта и его смены. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "transport": {
- "key": "transport001",
- "shifts": [
- {
- "key": "shift01",
- "availability_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "start_location_key": "start_location_01",
- "finish_location_key": "finish_location_01",
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": 100000000,
- "cost_per_unit": 0.001
}
], - "transportation_cost": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}, - "attributes": [ ]
}
], - "transport_type": "CAR",
- "boxes": [ ],
- "compatibilities": {
- "transport_features": [ ],
- "transport_features_lifetimes": [ ],
- "performer_restrictions": [ ]
}, - "limits": {
- "max_boxes": 2,
- "max_capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "attributes": [ ]
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
{- "transport": {
- "key": "transport001",
- "shifts": [
- {
- "key": "shift01",
- "availability_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "start_location_key": "start_location_01",
- "finish_location_key": "finish_location_01",
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": 100000000,
- "cost_per_unit": 0.001
}
], - "transportation_cost": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}, - "attributes": [ ]
}
], - "transport_type": "CAR",
- "boxes": [ ],
- "compatibilities": {
- "transport_features": [ ],
- "transport_features_lifetimes": [ ],
- "performer_restrictions": [ ]
}, - "limits": {
- "max_boxes": 2,
- "max_capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "attributes": [ ]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "TRANSPORT",
- "enabled": false,
- "pristine": false,
- "availability_time": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "transport_type": "CAR",
- "trip_key": "key01",
- "trip_name": "1-ABC",
- "location_keys": [
- "key01"
], - "transport_features": [ ],
- "performer_restrictions": [ ],
- "trips_count": 1,
- "attributes": "key1:value1, key2:value2"
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
Получение информации о транспорте по его ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
required | object (transport) Транспорт. Исполнитель использует транспорт для перемещения и перевозки грузов. |
object (table_transport_fields) Табличные поля транспорта и его смены. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "transport": {
- "key": "transport001",
- "shifts": [
- {
- "key": "shift01",
- "availability_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "start_location_key": "start_location_01",
- "finish_location_key": "finish_location_01",
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": 100000000,
- "cost_per_unit": 0.001
}
], - "transportation_cost": {
- "mass": 11,
- "volume": 22,
- "capacity_a": 11,
- "capacity_b": 22,
- "capacity_c": 31
}
}, - "attributes": [ ]
}
], - "transport_type": "CAR",
- "boxes": [ ],
- "compatibilities": {
- "transport_features": [ ],
- "transport_features_lifetimes": [ ],
- "performer_restrictions": [ ]
}, - "limits": {
- "max_boxes": 2,
- "max_capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "attributes": [ ]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "TRANSPORT",
- "enabled": false,
- "pristine": false,
- "availability_time": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "transport_type": "CAR",
- "trip_key": "key01",
- "trip_name": "1-ABC",
- "location_keys": [
- "key01"
], - "transport_features": [ ],
- "performer_restrictions": [ ],
- "trips_count": 1,
- "attributes": "key1:value1, key2:value2"
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
Удаление транспорта по ее ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение списка геоточек.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
Фильтр транспорта.
Array of objects (table_transport_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (web_transport_geopoint) [ 0 .. 60002 ] items Список точек. |
required | object (table_list_counters) Счетчики по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "geopoints": [
- {
- "geopoint": {
- "latitude": 55.692789,
- "longitude": 37.554554
}, - "transport_key": "transport_01",
- "shift_key": "shift01",
- "point_type": "START",
- "trip_key": "key01",
- "trip_name": "1-ABC",
- "stop_number": 10
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Включение транспорта в расчет.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на включение транспорта.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Выключение транспорта из расчета.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на выключение транспорта.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение списка заказов.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
sort_field | string (table_order_column_type) Enum: "ESSENCE_KEY" "ENABLED" "PRISTINE" … 28 more Example: sort_field=ESSENCE_KEY Название колонки в таблице с заказами. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
Фильтр заказов.
Array of objects (table_order_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (table_order) [ 0 .. 15001 ] items Список. |
required | object (table_list_counters) Счетчики по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "essences": [
- {
- "fields": {
- "essence_key": "key01",
- "essence_type": "ORDER",
- "enabled": false,
- "pristine": false,
- "state": "PLANNED",
- "type": "PD",
- "hard_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "soft_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "general_drop_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "general_pickup_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "general_work_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "reward": 2343.3,
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3,
- "order_features": [ ],
- "order_restrictions": [ ],
- "performer_restrictions": [ ],
- "performer_blacklist": [ ],
- "width": 1,
- "height": 0.3,
- "length": 2.2,
- "rotation": [
- "ALL"
], - "box_restrictions": [ ],
- "cargo_features": [ ],
- "cargo_restrictions": [ ],
- "demands_count": 1,
- "trip_key": "key01",
- "trip_name": "1-ABC",
- "attributes": "key1:value1, key2:value2"
}, - "elements": [
- {
- "essence_key": "key01",
- "essence_type": "ORDER",
- "enabled": false,
- "pristine": false,
- "state": "PLANNED",
- "type": "PD",
- "hard_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "soft_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "general_drop_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "general_pickup_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "general_work_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "reward": 2343.3,
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3,
- "order_features": [ ],
- "order_restrictions": [ ],
- "performer_restrictions": [ ],
- "performer_blacklist": [ ],
- "width": 1,
- "height": 0.3,
- "length": 2.2,
- "rotation": [
- "ALL"
], - "box_restrictions": [ ],
- "cargo_features": [ ],
- "cargo_restrictions": [ ],
- "demands_count": 1,
- "trip_key": "key01",
- "trip_name": "1-ABC",
- "attributes": "key1:value1, key2:value2"
}
]
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Удаление заказов из эксперимента.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на удаление заказов.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Создание заказа.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на создание новой сущности.
required | object (order) Заказ на перемещение груза, содержит список заявок. |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (order) Заказ на перемещение груза, содержит список заявок. |
object (table_order_fields) Табличные поля заказа и заявок. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "order": {
- "key": "order01",
- "demands": [
- {
- "key": "demand_1",
- "demand_type": "WORK",
- "target_cargos": [
- "cargo01"
], - "precedence_in_trip": 1,
- "precedence_in_order": 1,
- "possible_events": [
- {
- "key": "event_1",
- "location_key": "location_01",
- "duration": "PT1H45M",
- "reward": 199.9,
- "hard_time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "soft_time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}
], - "attributes": [ ]
}
], - "cargos": [ ],
- "compatibilities": {
- "order_features": [ ],
- "order_restrictions": [ ],
- "performer_restrictions": [ ],
- "performer_blacklist": [ ]
}, - "attributes": [ ]
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
{- "order": {
- "key": "order01",
- "demands": [
- {
- "key": "demand_1",
- "demand_type": "WORK",
- "target_cargos": [
- "cargo01"
], - "precedence_in_trip": 1,
- "precedence_in_order": 1,
- "possible_events": [
- {
- "key": "event_1",
- "location_key": "location_01",
- "duration": "PT1H45M",
- "reward": 199.9,
- "hard_time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "soft_time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}
], - "attributes": [ ]
}
], - "cargos": [ ],
- "compatibilities": {
- "order_features": [ ],
- "order_restrictions": [ ],
- "performer_restrictions": [ ],
- "performer_blacklist": [ ]
}, - "attributes": [ ]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "ORDER",
- "enabled": false,
- "pristine": false,
- "state": "PLANNED",
- "type": "PD",
- "hard_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "soft_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "general_drop_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "general_pickup_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "general_work_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "reward": 2343.3,
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3,
- "order_features": [ ],
- "order_restrictions": [ ],
- "performer_restrictions": [ ],
- "performer_blacklist": [ ],
- "width": 1,
- "height": 0.3,
- "length": 2.2,
- "rotation": [
- "ALL"
], - "box_restrictions": [ ],
- "cargo_features": [ ],
- "cargo_restrictions": [ ],
- "demands_count": 1,
- "trip_key": "key01",
- "trip_name": "1-ABC",
- "attributes": "key1:value1, key2:value2"
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
Обновление сущности по ее ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на обновление сущности.
required | object (order) Заказ на перемещение груза, содержит список заявок. |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (order) Заказ на перемещение груза, содержит список заявок. |
object (table_order_fields) Табличные поля заказа и заявок. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "order": {
- "key": "order01",
- "demands": [
- {
- "key": "demand_1",
- "demand_type": "WORK",
- "target_cargos": [
- "cargo01"
], - "precedence_in_trip": 1,
- "precedence_in_order": 1,
- "possible_events": [
- {
- "key": "event_1",
- "location_key": "location_01",
- "duration": "PT1H45M",
- "reward": 199.9,
- "hard_time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "soft_time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}
], - "attributes": [ ]
}
], - "cargos": [ ],
- "compatibilities": {
- "order_features": [ ],
- "order_restrictions": [ ],
- "performer_restrictions": [ ],
- "performer_blacklist": [ ]
}, - "attributes": [ ]
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
{- "order": {
- "key": "order01",
- "demands": [
- {
- "key": "demand_1",
- "demand_type": "WORK",
- "target_cargos": [
- "cargo01"
], - "precedence_in_trip": 1,
- "precedence_in_order": 1,
- "possible_events": [
- {
- "key": "event_1",
- "location_key": "location_01",
- "duration": "PT1H45M",
- "reward": 199.9,
- "hard_time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "soft_time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}
], - "attributes": [ ]
}
], - "cargos": [ ],
- "compatibilities": {
- "order_features": [ ],
- "order_restrictions": [ ],
- "performer_restrictions": [ ],
- "performer_blacklist": [ ]
}, - "attributes": [ ]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "ORDER",
- "enabled": false,
- "pristine": false,
- "state": "PLANNED",
- "type": "PD",
- "hard_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "soft_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "general_drop_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "general_pickup_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "general_work_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "reward": 2343.3,
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3,
- "order_features": [ ],
- "order_restrictions": [ ],
- "performer_restrictions": [ ],
- "performer_blacklist": [ ],
- "width": 1,
- "height": 0.3,
- "length": 2.2,
- "rotation": [
- "ALL"
], - "box_restrictions": [ ],
- "cargo_features": [ ],
- "cargo_restrictions": [ ],
- "demands_count": 1,
- "trip_key": "key01",
- "trip_name": "1-ABC",
- "attributes": "key1:value1, key2:value2"
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
Получение информации о заказе по его ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
required | object (order) Заказ на перемещение груза, содержит список заявок. |
object (table_order_fields) Табличные поля заказа и заявок. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "order": {
- "key": "order01",
- "demands": [
- {
- "key": "demand_1",
- "demand_type": "WORK",
- "target_cargos": [
- "cargo01"
], - "precedence_in_trip": 1,
- "precedence_in_order": 1,
- "possible_events": [
- {
- "key": "event_1",
- "location_key": "location_01",
- "duration": "PT1H45M",
- "reward": 199.9,
- "hard_time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "soft_time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}
], - "attributes": [ ]
}
], - "cargos": [ ],
- "compatibilities": {
- "order_features": [ ],
- "order_restrictions": [ ],
- "performer_restrictions": [ ],
- "performer_blacklist": [ ]
}, - "attributes": [ ]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "ORDER",
- "enabled": false,
- "pristine": false,
- "state": "PLANNED",
- "type": "PD",
- "hard_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "soft_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "general_drop_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "general_pickup_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "general_work_time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "reward": 2343.3,
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3,
- "order_features": [ ],
- "order_restrictions": [ ],
- "performer_restrictions": [ ],
- "performer_blacklist": [ ],
- "width": 1,
- "height": 0.3,
- "length": 2.2,
- "rotation": [
- "ALL"
], - "box_restrictions": [ ],
- "cargo_features": [ ],
- "cargo_restrictions": [ ],
- "demands_count": 1,
- "trip_key": "key01",
- "trip_name": "1-ABC",
- "attributes": "key1:value1, key2:value2"
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
Удаление заказа по его ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение списка геоточек.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
Фильтр заказов.
Array of objects (table_order_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (web_order_geopoint) [ 0 .. 60002 ] items Список точек. |
required | object (table_list_counters) Счетчики по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "geopoints": [
- {
- "geopoint": {
- "latitude": 55.692789,
- "longitude": 37.554554
}, - "order_key": "order01",
- "demand_key": "demand01.1",
- "event_key": "event01",
- "demand_type": "WORK",
- "trip_key": "key01",
- "trip_name": "1-ABC",
- "stop_number": 10
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Включение заказов в расчет.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на включение заказов.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Выключение заказов из расчета.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на выключение заказов.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение списка назначений.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
sort_field | string (table_hardlink_column_type) Enum: "ESSENCE_KEY" "ENABLED" "PRISTINE" … 4 more Example: sort_field=ESSENCE_KEY Название колонки в таблице со связями. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
Фильтр назначений.
Array of objects (table_hardlink_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (table_hardlink) [ 0 .. 15001 ] items Список связей. |
required | object (table_list_counters) Счетчики по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "essences": [
- {
- "fields": {
- "essence_key": "key01",
- "essence_type": "HARDLINK",
- "enabled": false,
- "pristine": false,
- "element_type": "ORDER",
- "elements_count": 1,
- "trip_key": "key01",
- "trip_name": "1-ABC"
}, - "elements": [
- {
- "essence_key": "key01",
- "essence_type": "HARDLINK",
- "enabled": false,
- "pristine": false,
- "element_type": "ORDER",
- "elements_count": 1,
- "trip_key": "key01",
- "trip_name": "1-ABC"
}
]
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Создание назначения.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на создание новой сущности.
required | object (hardlink) Назначение, необходимое чтобы связать сущности в одну группу. Может состоять из двух сущностей или более. Пример применения:
|
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (hardlink) Назначение, необходимое чтобы связать сущности в одну группу. Может состоять из двух сущностей или более. Пример применения:
|
object (table_hardlink_fields) Табличные поля связи и связанных сущностей. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "hardlink": {
- "key": "group01",
- "links": [
- {
- "type": "ORDER",
- "entity_key": "ord0001"
}, - {
- "type": "ORDER",
- "entity_key": "ord0001"
}
]
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
{- "hardlink": {
- "key": "group01",
- "links": [
- {
- "type": "ORDER",
- "entity_key": "ord0001"
}, - {
- "type": "ORDER",
- "entity_key": "ord0001"
}
]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "HARDLINK",
- "enabled": false,
- "pristine": false,
- "element_type": "ORDER",
- "elements_count": 1,
- "trip_key": "key01",
- "trip_name": "1-ABC"
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
Обновление назначения по ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на обновление сущности.
required | object (hardlink) Назначение, необходимое чтобы связать сущности в одну группу. Может состоять из двух сущностей или более. Пример применения:
|
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (hardlink) Назначение, необходимое чтобы связать сущности в одну группу. Может состоять из двух сущностей или более. Пример применения:
|
object (table_hardlink_fields) Табличные поля связи и связанных сущностей. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "hardlink": {
- "key": "group01",
- "links": [
- {
- "type": "ORDER",
- "entity_key": "ord0001"
}, - {
- "type": "ORDER",
- "entity_key": "ord0001"
}
]
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
{- "hardlink": {
- "key": "group01",
- "links": [
- {
- "type": "ORDER",
- "entity_key": "ord0001"
}, - {
- "type": "ORDER",
- "entity_key": "ord0001"
}
]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "HARDLINK",
- "enabled": false,
- "pristine": false,
- "element_type": "ORDER",
- "elements_count": 1,
- "trip_key": "key01",
- "trip_name": "1-ABC"
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
Получение информации о назначении по его ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
required | object (hardlink) Назначение, необходимое чтобы связать сущности в одну группу. Может состоять из двух сущностей или более. Пример применения:
|
object (table_hardlink_fields) Табличные поля связи и связанных сущностей. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "hardlink": {
- "key": "group01",
- "links": [
- {
- "type": "ORDER",
- "entity_key": "ord0001"
}, - {
- "type": "ORDER",
- "entity_key": "ord0001"
}
]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "HARDLINK",
- "enabled": false,
- "pristine": false,
- "element_type": "ORDER",
- "elements_count": 1,
- "trip_key": "key01",
- "trip_name": "1-ABC"
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
Удаление назначения по ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Включение назначений в расчет.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на включение назначений.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Выключение назначений из расчета.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на выключение назначений.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение списка рейсов.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
sort_field | string (table_trip_column_type) Enum: "ESSENCE_KEY" "ENABLED" "PRISTINE" … 30 more Example: sort_field=ESSENCE_KEY Название колонки в таблице с рейсами. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
Фильтр рейсов.
Array of objects (table_trip_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (table_trip) [ 0 .. 15001 ] items Список. |
required | object (table_list_counters) Счетчики по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "essences": [
- {
- "fields": {
- "essence_key": "key01",
- "essence_type": "TRIP",
- "enabled": false,
- "pristine": false,
- "trip_name": "1-ABC",
- "attributes": "key1:value1, key2:value2",
- "cost": 1231.1,
- "reward": 2343.3,
- "profit": 1231.1,
- "driving_time": "PT1H45M",
- "waiting_time": "PT1H45M",
- "break_time": "PT1H45M",
- "rest_time": "PT1H45M",
- "working_time": "PT1H45M",
- "arriving_time": "PT1H45M",
- "departure_time": "PT1H45M",
- "total_time": "PT1H45M",
- "distance": 5200,
- "time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "stops_count": 87,
- "locations_count": 45,
- "cargo_capacity_ratio_mass": 10,
- "cargo_capacity_ratio_volume": 2,
- "cargo_capacity_ratio_capacity_a": 1,
- "cargo_capacity_ratio_capacity_b": 2,
- "cargo_capacity_ratio_capacity_c": 3,
- "max_transport_load_mass": 0.1,
- "max_transport_load_volume": 0.1,
- "max_transport_load_capacity_a": 0.1,
- "max_transport_load_capacity_b": 0.1,
- "max_transport_load_capacity_c": 0.1
}, - "elements": [
- {
- "essence_key": "key01",
- "essence_type": "TRIP",
- "enabled": false,
- "pristine": false,
- "trip_name": "1-ABC",
- "attributes": "key1:value1, key2:value2",
- "cost": 1231.1,
- "reward": 2343.3,
- "profit": 1231.1,
- "driving_time": "PT1H45M",
- "waiting_time": "PT1H45M",
- "break_time": "PT1H45M",
- "rest_time": "PT1H45M",
- "working_time": "PT1H45M",
- "arriving_time": "PT1H45M",
- "departure_time": "PT1H45M",
- "total_time": "PT1H45M",
- "distance": 5200,
- "time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "stops_count": 87,
- "locations_count": 45,
- "cargo_capacity_ratio_mass": 10,
- "cargo_capacity_ratio_volume": 2,
- "cargo_capacity_ratio_capacity_a": 1,
- "cargo_capacity_ratio_capacity_b": 2,
- "cargo_capacity_ratio_capacity_c": 3,
- "max_transport_load_mass": 0.1,
- "max_transport_load_volume": 0.1,
- "max_transport_load_capacity_a": 0.1,
- "max_transport_load_capacity_b": 0.1,
- "max_transport_load_capacity_c": 0.1
}
]
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Создание рейса.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на создание новой сущности.
required | object (trip) Рейс - это совокупность работ, запланированных на выполнение конкретным исполнителем на конкретном транспорте, выраженных через изменение состояний исполнителя. |
required | object (trip_statistics) Статистика по конкретному рейсу. |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (trip) Рейс - это совокупность работ, запланированных на выполнение конкретным исполнителем на конкретном транспорте, выраженных через изменение состояний исполнителя. |
required | object (trip_statistics) Статистика по конкретному рейсу. |
object (table_trip_fields) Табличные поля рейса и остановок. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "trip": {
- "key": "trip-0000-9999",
- "name": "1-ABC",
- "performer": {
- "performer_key": "performer0001",
- "shift_key": "performer0001_shift01",
- "shift_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "transport": {
- "transport_key": "transport001",
- "shift_key": "performer01",
- "shift_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "states": [
- {
- "time": "2024-11-21T09:30:00+03:00",
- "order_key": "order01",
- "demand_key": "demand01.1",
- "event_key": "event01",
- "location_key": "location_01",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box01",
- "cargo_key": "cargo01",
- "cargo_action_type": "ADD"
}
], - "distance": 5200,
- "cost": 1231.1,
- "reward": 2343.3,
- "attributes": [ ]
}
], - "waitlist": [
- "order02"
], - "attributes": [ ]
}, - "trip_statistics": {
- "trip_key": "trip01",
- "general_statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "profit": 1231.1,
- "measurements": {
- "time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "driving_time": "PT1H45M",
- "waiting_time": "PT1H45M",
- "working_time": "PT1H45M",
- "break_time": "PT1H45M",
- "rest_time": "PT1H45M",
- "arriving_time": "PT1H45M",
- "departure_time": "PT1H45M",
- "total_time": "PT1H45M",
- "distance": 5200
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "stops_count": 87,
- "locations_count": 45,
- "cargo_capacity_sum": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}, - "cargo_capacity_ratio": {
- "mass": 0.5,
- "volume": 0.1,
- "capacity_a": 0.7,
- "capacity_b": 0.8,
- "capacity_c": 0.9
}, - "max_transport_load": {
- "mass": 0.5,
- "volume": 0.1,
- "capacity_a": 0.7,
- "capacity_b": 0.8,
- "capacity_c": 0.9
}, - "average_speed": 43.1,
- "round_trips_count": 2,
- "attributes": [ ]
}, - "load_statistics": {
- "total_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "max_transfer_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}
}, - "stop_statistics": [
- {
- "location_key": "location_01",
- "stop_demands": [
- {
- "demand_key": "demand_key_01",
- "event_key": "event_key_01",
- "demand_time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "driving_time": "PT1H45M",
- "waiting_time": "PT1H45M",
- "working_time": "PT1H45M",
- "break_time": "PT1H45M",
- "rest_time": "PT1H45M",
- "arriving_time": "PT1H45M",
- "departure_time": "PT1H45M",
- "total_time": "PT1H45M",
- "distance": 5200
}, - "upload": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "download": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "arrival_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "departure_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}
}
], - "attributes": [ ]
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
{- "trip": {
- "key": "trip-0000-9999",
- "name": "1-ABC",
- "performer": {
- "performer_key": "performer0001",
- "shift_key": "performer0001_shift01",
- "shift_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "transport": {
- "transport_key": "transport001",
- "shift_key": "performer01",
- "shift_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "states": [
- {
- "time": "2024-11-21T09:30:00+03:00",
- "order_key": "order01",
- "demand_key": "demand01.1",
- "event_key": "event01",
- "location_key": "location_01",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box01",
- "cargo_key": "cargo01",
- "cargo_action_type": "ADD"
}
], - "distance": 5200,
- "cost": 1231.1,
- "reward": 2343.3,
- "attributes": [ ]
}
], - "waitlist": [
- "order02"
], - "attributes": [ ]
}, - "trip_statistics": {
- "trip_key": "trip01",
- "general_statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "profit": 1231.1,
- "measurements": {
- "time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "driving_time": "PT1H45M",
- "waiting_time": "PT1H45M",
- "working_time": "PT1H45M",
- "break_time": "PT1H45M",
- "rest_time": "PT1H45M",
- "arriving_time": "PT1H45M",
- "departure_time": "PT1H45M",
- "total_time": "PT1H45M",
- "distance": 5200
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "stops_count": 87,
- "locations_count": 45,
- "cargo_capacity_sum": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}, - "cargo_capacity_ratio": {
- "mass": 0.5,
- "volume": 0.1,
- "capacity_a": 0.7,
- "capacity_b": 0.8,
- "capacity_c": 0.9
}, - "max_transport_load": {
- "mass": 0.5,
- "volume": 0.1,
- "capacity_a": 0.7,
- "capacity_b": 0.8,
- "capacity_c": 0.9
}, - "average_speed": 43.1,
- "round_trips_count": 2,
- "attributes": [ ]
}, - "load_statistics": {
- "total_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "max_transfer_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}
}, - "stop_statistics": [
- {
- "location_key": "location_01",
- "stop_demands": [
- {
- "demand_key": "demand_key_01",
- "event_key": "event_key_01",
- "demand_time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "driving_time": "PT1H45M",
- "waiting_time": "PT1H45M",
- "working_time": "PT1H45M",
- "break_time": "PT1H45M",
- "rest_time": "PT1H45M",
- "arriving_time": "PT1H45M",
- "departure_time": "PT1H45M",
- "total_time": "PT1H45M",
- "distance": 5200
}, - "upload": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "download": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "arrival_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "departure_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}
}
], - "attributes": [ ]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "TRIP",
- "enabled": false,
- "pristine": false,
- "trip_name": "1-ABC",
- "attributes": "key1:value1, key2:value2",
- "cost": 1231.1,
- "reward": 2343.3,
- "profit": 1231.1,
- "driving_time": "PT1H45M",
- "waiting_time": "PT1H45M",
- "break_time": "PT1H45M",
- "rest_time": "PT1H45M",
- "working_time": "PT1H45M",
- "arriving_time": "PT1H45M",
- "departure_time": "PT1H45M",
- "total_time": "PT1H45M",
- "distance": 5200,
- "time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "stops_count": 87,
- "locations_count": 45,
- "cargo_capacity_ratio_mass": 10,
- "cargo_capacity_ratio_volume": 2,
- "cargo_capacity_ratio_capacity_a": 1,
- "cargo_capacity_ratio_capacity_b": 2,
- "cargo_capacity_ratio_capacity_c": 3,
- "max_transport_load_mass": 0.1,
- "max_transport_load_volume": 0.1,
- "max_transport_load_capacity_a": 0.1,
- "max_transport_load_capacity_b": 0.1,
- "max_transport_load_capacity_c": 0.1
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
Обновление рейса по ее ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на обновление сущности.
required | object (trip) Рейс - это совокупность работ, запланированных на выполнение конкретным исполнителем на конкретном транспорте, выраженных через изменение состояний исполнителя. |
required | object (trip_statistics) Статистика по конкретному рейсу. |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (trip) Рейс - это совокупность работ, запланированных на выполнение конкретным исполнителем на конкретном транспорте, выраженных через изменение состояний исполнителя. |
required | object (trip_statistics) Статистика по конкретному рейсу. |
object (table_trip_fields) Табличные поля рейса и остановок. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "trip": {
- "key": "trip-0000-9999",
- "name": "1-ABC",
- "performer": {
- "performer_key": "performer0001",
- "shift_key": "performer0001_shift01",
- "shift_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "transport": {
- "transport_key": "transport001",
- "shift_key": "performer01",
- "shift_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "states": [
- {
- "time": "2024-11-21T09:30:00+03:00",
- "order_key": "order01",
- "demand_key": "demand01.1",
- "event_key": "event01",
- "location_key": "location_01",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box01",
- "cargo_key": "cargo01",
- "cargo_action_type": "ADD"
}
], - "distance": 5200,
- "cost": 1231.1,
- "reward": 2343.3,
- "attributes": [ ]
}
], - "waitlist": [
- "order02"
], - "attributes": [ ]
}, - "trip_statistics": {
- "trip_key": "trip01",
- "general_statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "profit": 1231.1,
- "measurements": {
- "time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "driving_time": "PT1H45M",
- "waiting_time": "PT1H45M",
- "working_time": "PT1H45M",
- "break_time": "PT1H45M",
- "rest_time": "PT1H45M",
- "arriving_time": "PT1H45M",
- "departure_time": "PT1H45M",
- "total_time": "PT1H45M",
- "distance": 5200
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "stops_count": 87,
- "locations_count": 45,
- "cargo_capacity_sum": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}, - "cargo_capacity_ratio": {
- "mass": 0.5,
- "volume": 0.1,
- "capacity_a": 0.7,
- "capacity_b": 0.8,
- "capacity_c": 0.9
}, - "max_transport_load": {
- "mass": 0.5,
- "volume": 0.1,
- "capacity_a": 0.7,
- "capacity_b": 0.8,
- "capacity_c": 0.9
}, - "average_speed": 43.1,
- "round_trips_count": 2,
- "attributes": [ ]
}, - "load_statistics": {
- "total_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "max_transfer_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}
}, - "stop_statistics": [
- {
- "location_key": "location_01",
- "stop_demands": [
- {
- "demand_key": "demand_key_01",
- "event_key": "event_key_01",
- "demand_time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "driving_time": "PT1H45M",
- "waiting_time": "PT1H45M",
- "working_time": "PT1H45M",
- "break_time": "PT1H45M",
- "rest_time": "PT1H45M",
- "arriving_time": "PT1H45M",
- "departure_time": "PT1H45M",
- "total_time": "PT1H45M",
- "distance": 5200
}, - "upload": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "download": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "arrival_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "departure_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}
}
], - "attributes": [ ]
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
{- "trip": {
- "key": "trip-0000-9999",
- "name": "1-ABC",
- "performer": {
- "performer_key": "performer0001",
- "shift_key": "performer0001_shift01",
- "shift_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "transport": {
- "transport_key": "transport001",
- "shift_key": "performer01",
- "shift_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "states": [
- {
- "time": "2024-11-21T09:30:00+03:00",
- "order_key": "order01",
- "demand_key": "demand01.1",
- "event_key": "event01",
- "location_key": "location_01",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box01",
- "cargo_key": "cargo01",
- "cargo_action_type": "ADD"
}
], - "distance": 5200,
- "cost": 1231.1,
- "reward": 2343.3,
- "attributes": [ ]
}
], - "waitlist": [
- "order02"
], - "attributes": [ ]
}, - "trip_statistics": {
- "trip_key": "trip01",
- "general_statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "profit": 1231.1,
- "measurements": {
- "time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "driving_time": "PT1H45M",
- "waiting_time": "PT1H45M",
- "working_time": "PT1H45M",
- "break_time": "PT1H45M",
- "rest_time": "PT1H45M",
- "arriving_time": "PT1H45M",
- "departure_time": "PT1H45M",
- "total_time": "PT1H45M",
- "distance": 5200
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "stops_count": 87,
- "locations_count": 45,
- "cargo_capacity_sum": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}, - "cargo_capacity_ratio": {
- "mass": 0.5,
- "volume": 0.1,
- "capacity_a": 0.7,
- "capacity_b": 0.8,
- "capacity_c": 0.9
}, - "max_transport_load": {
- "mass": 0.5,
- "volume": 0.1,
- "capacity_a": 0.7,
- "capacity_b": 0.8,
- "capacity_c": 0.9
}, - "average_speed": 43.1,
- "round_trips_count": 2,
- "attributes": [ ]
}, - "load_statistics": {
- "total_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "max_transfer_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}
}, - "stop_statistics": [
- {
- "location_key": "location_01",
- "stop_demands": [
- {
- "demand_key": "demand_key_01",
- "event_key": "event_key_01",
- "demand_time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "driving_time": "PT1H45M",
- "waiting_time": "PT1H45M",
- "working_time": "PT1H45M",
- "break_time": "PT1H45M",
- "rest_time": "PT1H45M",
- "arriving_time": "PT1H45M",
- "departure_time": "PT1H45M",
- "total_time": "PT1H45M",
- "distance": 5200
}, - "upload": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "download": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "arrival_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "departure_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}
}
], - "attributes": [ ]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "TRIP",
- "enabled": false,
- "pristine": false,
- "trip_name": "1-ABC",
- "attributes": "key1:value1, key2:value2",
- "cost": 1231.1,
- "reward": 2343.3,
- "profit": 1231.1,
- "driving_time": "PT1H45M",
- "waiting_time": "PT1H45M",
- "break_time": "PT1H45M",
- "rest_time": "PT1H45M",
- "working_time": "PT1H45M",
- "arriving_time": "PT1H45M",
- "departure_time": "PT1H45M",
- "total_time": "PT1H45M",
- "distance": 5200,
- "time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "stops_count": 87,
- "locations_count": 45,
- "cargo_capacity_ratio_mass": 10,
- "cargo_capacity_ratio_volume": 2,
- "cargo_capacity_ratio_capacity_a": 1,
- "cargo_capacity_ratio_capacity_b": 2,
- "cargo_capacity_ratio_capacity_c": 3,
- "max_transport_load_mass": 0.1,
- "max_transport_load_volume": 0.1,
- "max_transport_load_capacity_a": 0.1,
- "max_transport_load_capacity_b": 0.1,
- "max_transport_load_capacity_c": 0.1
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
Получение информации о рейсе по его ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
required | object (trip) Рейс - это совокупность работ, запланированных на выполнение конкретным исполнителем на конкретном транспорте, выраженных через изменение состояний исполнителя. |
required | object (trip_statistics) Статистика по конкретному рейсу. |
object (table_trip_fields) Табличные поля рейса и остановок. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "trip": {
- "key": "trip-0000-9999",
- "name": "1-ABC",
- "performer": {
- "performer_key": "performer0001",
- "shift_key": "performer0001_shift01",
- "shift_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "transport": {
- "transport_key": "transport001",
- "shift_key": "performer01",
- "shift_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "states": [
- {
- "time": "2024-11-21T09:30:00+03:00",
- "order_key": "order01",
- "demand_key": "demand01.1",
- "event_key": "event01",
- "location_key": "location_01",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box01",
- "cargo_key": "cargo01",
- "cargo_action_type": "ADD"
}
], - "distance": 5200,
- "cost": 1231.1,
- "reward": 2343.3,
- "attributes": [ ]
}
], - "waitlist": [
- "order02"
], - "attributes": [ ]
}, - "trip_statistics": {
- "trip_key": "trip01",
- "general_statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "profit": 1231.1,
- "measurements": {
- "time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "driving_time": "PT1H45M",
- "waiting_time": "PT1H45M",
- "working_time": "PT1H45M",
- "break_time": "PT1H45M",
- "rest_time": "PT1H45M",
- "arriving_time": "PT1H45M",
- "departure_time": "PT1H45M",
- "total_time": "PT1H45M",
- "distance": 5200
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "stops_count": 87,
- "locations_count": 45,
- "cargo_capacity_sum": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}, - "cargo_capacity_ratio": {
- "mass": 0.5,
- "volume": 0.1,
- "capacity_a": 0.7,
- "capacity_b": 0.8,
- "capacity_c": 0.9
}, - "max_transport_load": {
- "mass": 0.5,
- "volume": 0.1,
- "capacity_a": 0.7,
- "capacity_b": 0.8,
- "capacity_c": 0.9
}, - "average_speed": 43.1,
- "round_trips_count": 2,
- "attributes": [ ]
}, - "load_statistics": {
- "total_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "max_transfer_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}
}, - "stop_statistics": [
- {
- "location_key": "location_01",
- "stop_demands": [
- {
- "demand_key": "demand_key_01",
- "event_key": "event_key_01",
- "demand_time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "driving_time": "PT1H45M",
- "waiting_time": "PT1H45M",
- "working_time": "PT1H45M",
- "break_time": "PT1H45M",
- "rest_time": "PT1H45M",
- "arriving_time": "PT1H45M",
- "departure_time": "PT1H45M",
- "total_time": "PT1H45M",
- "distance": 5200
}, - "upload": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "download": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "arrival_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}, - "departure_load": {
- "count": 1460,
- "capacity": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}
}
}
], - "attributes": [ ]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "TRIP",
- "enabled": false,
- "pristine": false,
- "trip_name": "1-ABC",
- "attributes": "key1:value1, key2:value2",
- "cost": 1231.1,
- "reward": 2343.3,
- "profit": 1231.1,
- "driving_time": "PT1H45M",
- "waiting_time": "PT1H45M",
- "break_time": "PT1H45M",
- "rest_time": "PT1H45M",
- "working_time": "PT1H45M",
- "arriving_time": "PT1H45M",
- "departure_time": "PT1H45M",
- "total_time": "PT1H45M",
- "distance": 5200,
- "time_window": {
- "from": "2024-11-21T08:45:00+03:00",
- "to": "2024-11-21T19:45:00+03:00"
}, - "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "stops_count": 87,
- "locations_count": 45,
- "cargo_capacity_ratio_mass": 10,
- "cargo_capacity_ratio_volume": 2,
- "cargo_capacity_ratio_capacity_a": 1,
- "cargo_capacity_ratio_capacity_b": 2,
- "cargo_capacity_ratio_capacity_c": 3,
- "max_transport_load_mass": 0.1,
- "max_transport_load_volume": 0.1,
- "max_transport_load_capacity_a": 0.1,
- "max_transport_load_capacity_b": 0.1,
- "max_transport_load_capacity_c": 0.1
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
Удаление рейса по ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Загрузка пользовательских треков.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Список треков.
required | Array of objects (web_trip_track) [ 0 .. 15001 ] items Список треков. |
{- "tracks": [
- {
- "geotrack": [
- {
- "latitude": 55.692789,
- "longitude": 37.554554,
- "time": "2024-11-21T09:30:00+03:00"
}
], - "trip_key": "location_01",
- "trip_name": "1-ABC",
- "performer_key": "performer_01",
- "performer_shift_key": "performer_shift_01",
- "transport_key": "transport_01",
- "transport_shift_key": "transport_shift_01"
}
]
}
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Удаление пользовательских всех треков.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение путей.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
tracks_type required | string (basic_tracks_type) Default: "LINE" Enum: "LINE" "ROAD" "CUSTOM" Example: ROAD Тип трека:
|
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
Фильтр рейсов.
Array of objects (table_trip_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (web_trip_track) [ 0 .. 15001 ] items Список треков. |
required | object (table_list_counters) Счетчики по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "tracks": [
- {
- "geotrack": [
- {
- "latitude": 55.692789,
- "longitude": 37.554554,
- "time": "2024-11-21T09:30:00+03:00"
}
], - "trip_key": "location_01",
- "trip_name": "1-ABC",
- "performer_key": "performer_01",
- "performer_shift_key": "performer_shift_01",
- "transport_key": "transport_01",
- "transport_shift_key": "transport_shift_01"
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Получение рейсов для отображения на диаграмме.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
sort_field | string (table_trip_column_type) Enum: "ESSENCE_KEY" "ENABLED" "PRISTINE" … 30 more Example: sort_field=ESSENCE_KEY Название колонки в таблице с рейсами. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
Фильтр рейсов.
Array of objects (table_trip_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (web_trip_chart) [ 0 .. 15001 ] items Данные для диаграммы. |
required | object (table_list_counters) Счетчики по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "charts": [
- {
- "trip": {
- "key": "trip-0000-9999",
- "name": "1-ABC",
- "performer": {
- "performer_key": "performer0001",
- "shift_key": "performer0001_shift01",
- "shift_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "transport": {
- "transport_key": "transport001",
- "shift_key": "performer01",
- "shift_time": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "states": [
- {
- "time": "2024-11-21T09:30:00+03:00",
- "order_key": "order01",
- "demand_key": "demand01.1",
- "event_key": "event01",
- "location_key": "location_01",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box01",
- "cargo_key": "cargo01",
- "cargo_action_type": "ADD"
}
], - "distance": 5200,
- "cost": 1231.1,
- "reward": 2343.3,
- "attributes": [ ]
}
], - "waitlist": [
- "order02"
], - "attributes": [ ]
}, - "chart_demands": [
- {
- "demand_key": "demand_1",
- "demand_type": "WORK"
}
]
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Получение списка фактов.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
sort_field | string (table_fact_column_type) Enum: "ESSENCE_KEY" "ENABLED" "PRISTINE" … 7 more Example: sort_field=ESSENCE_KEY Название колонки в таблице со фактами. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
Фильтр фактов.
Array of objects (table_fact_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (table_fact) [ 0 .. 15001 ] items Список связей. |
required | object (table_list_counters) Счетчики по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "essences": [
- {
- "fields": {
- "essence_key": "key01",
- "essence_type": "FACT",
- "enabled": false,
- "pristine": false,
- "type": "NEW_LOCATION",
- "order_key": "key01",
- "demand_key": "key01",
- "performer_key": "key01",
- "location_key": "key01",
- "trip_key": "key01",
- "trip_name": "1-ABC"
}, - "elements": [
- {
- "essence_key": "key01",
- "essence_type": "FACT",
- "enabled": false,
- "pristine": false,
- "type": "NEW_LOCATION",
- "order_key": "key01",
- "demand_key": "key01",
- "performer_key": "key01",
- "location_key": "key01",
- "trip_key": "key01",
- "trip_name": "1-ABC"
}
]
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Удаление фактов из эксперимента.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на удаление фактов.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Создание факта.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на создание новой сущности.
required | object (fact) Факт о заказе - совершенное действие с заказом или его частью (заявкой). |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (fact) Факт о заказе - совершенное действие с заказом или его частью (заявкой). |
object (table_fact_fields) Табличные поля факта. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "fact": {
- "key": "fact_01",
- "time": "2024-11-21T09:30:00+03:00",
- "type": "NEW_LOCATION",
- "trip_key": "trip_01",
- "order_key": "order_01",
- "demand_key": "order_01_demand_01",
- "performer_key": "performer_01",
- "location_key": "location_01"
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
{- "fact": {
- "key": "fact_01",
- "time": "2024-11-21T09:30:00+03:00",
- "type": "NEW_LOCATION",
- "trip_key": "trip_01",
- "order_key": "order_01",
- "demand_key": "order_01_demand_01",
- "performer_key": "performer_01",
- "location_key": "location_01"
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "FACT",
- "enabled": false,
- "pristine": false,
- "type": "NEW_LOCATION",
- "order_key": "key01",
- "demand_key": "key01",
- "performer_key": "key01",
- "location_key": "key01",
- "trip_key": "key01",
- "trip_name": "1-ABC"
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
Обновление факта по ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на обновление сущности.
required | object (fact) Факт о заказе - совершенное действие с заказом или его частью (заявкой). |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (fact) Факт о заказе - совершенное действие с заказом или его частью (заявкой). |
object (table_fact_fields) Табличные поля факта. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "fact": {
- "key": "fact_01",
- "time": "2024-11-21T09:30:00+03:00",
- "type": "NEW_LOCATION",
- "trip_key": "trip_01",
- "order_key": "order_01",
- "demand_key": "order_01_demand_01",
- "performer_key": "performer_01",
- "location_key": "location_01"
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
{- "fact": {
- "key": "fact_01",
- "time": "2024-11-21T09:30:00+03:00",
- "type": "NEW_LOCATION",
- "trip_key": "trip_01",
- "order_key": "order_01",
- "demand_key": "order_01_demand_01",
- "performer_key": "performer_01",
- "location_key": "location_01"
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "FACT",
- "enabled": false,
- "pristine": false,
- "type": "NEW_LOCATION",
- "order_key": "key01",
- "demand_key": "key01",
- "performer_key": "key01",
- "location_key": "key01",
- "trip_key": "key01",
- "trip_name": "1-ABC"
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
Получение информации о факте по его ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
required | object (fact) Факт о заказе - совершенное действие с заказом или его частью (заявкой). |
object (table_fact_fields) Табличные поля факта. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "fact": {
- "key": "fact_01",
- "time": "2024-11-21T09:30:00+03:00",
- "type": "NEW_LOCATION",
- "trip_key": "trip_01",
- "order_key": "order_01",
- "demand_key": "order_01_demand_01",
- "performer_key": "performer_01",
- "location_key": "location_01"
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "FACT",
- "enabled": false,
- "pristine": false,
- "type": "NEW_LOCATION",
- "order_key": "key01",
- "demand_key": "key01",
- "performer_key": "key01",
- "location_key": "key01",
- "trip_key": "key01",
- "trip_name": "1-ABC"
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
Удаление факта по его ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Включение фактов в расчет.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на включение фактов.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Выключение фактов из расчета.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на выключение фактов.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Создание матриц маршрутизации.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на создание новой сущности.
transport_type required | string (transport_type) Enum: "CAR" "TRUCK_1500" "TRUCK_3000" … 13 more Example: "CAR" Типы транспорта:
Разрешенная масса - это масса снаряженного транспорта с грузом и водителем, установленная предприятием-изготовителем в качестве максимально допустимой. |
required | object (routing_matrix) Матрица маршрутизации. Содержит времена и расстояний между точками. |
[ ]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Обновление матриц маршрутизации по ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на обновление сущности.
transport_type required | string (transport_type) Enum: "CAR" "TRUCK_1500" "TRUCK_3000" … 13 more Example: "CAR" Типы транспорта:
Разрешенная масса - это масса снаряженного транспорта с грузом и водителем, установленная предприятием-изготовителем в качестве максимально допустимой. |
required | object (routing_matrix) Матрица маршрутизации. Содержит времена и расстояний между точками. |
[ ]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение информации о факте.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
transport_type required | string (transport_type) Enum: "CAR" "TRUCK_1500" "TRUCK_3000" … 13 more Example: "CAR" Типы транспорта:
Разрешенная масса - это масса снаряженного транспорта с грузом и водителем, установленная предприятием-изготовителем в качестве максимально допустимой. |
required | object (routing_matrix) Матрица маршрутизации. Содержит времена и расстояний между точками. |
[ ]
Удаление матриц маршрутизации.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Экспорт папки с экспериментами.
folder_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ папки, уникальный идентификатор. |
ZIP-архив с данными.
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Импорт папки с экспериментами. Папка не должна типа ROOT и должна быть пустой.
folder_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ папки, уникальный идентификатор. |
Данные (ZIP).
ZIP-архив с данными.
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Проверка доступности сервиса.
health required | number <double> [ 0 .. 1 ] Example: "0.999" Текущий показатель здоровья сервиса.
|
{- "health": 0.999
}
Получение версии сервиса.
major required | integer <int32> [ 1 .. 100 ] Example: "7" Версия продукта.
В рамках одной версии гарантируется совместимость общих структур данных между сервисами. |
minor required | integer <int32> [ 0 .. 111 ] Example: "5" Минорная версия сервиса. Изменение версии указывает на новую функциональность. Обновление имеет обратную совместимость в рамках мажорной версии сервиса. |
build required | string [ 1 .. 64 ] characters Example: "3754RC" Версия сборки. |
{- "major": 7,
- "minor": 5,
- "build": "3754RC"
}
Получение файла с документацией на этот сервис.
filename required | string [ 6 .. 128 ] characters Example: file_en.html Название файла. |
Файл с данными в формате HTML.
{- "resource_key": "resource_key",
- "detail": {
- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "username_for_login",
- "company": "smart_company",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "env": "edge7",
- "pod": "11111111-2222-3333-4444-555555555555",
- "time": "2024-11-21T09:30:00+03:00"
}
}
}