Программный интерфейс для инструмента Veeroute Studio.
Создание новой папки.
Запрос на создание папки.
parent_key required | string<uuid> (unique_key) Ключ папки, в которой будет создана новая папка. |
name required | string [ 1 .. 100 ] characters Название новой папки. |
{- "parent_key": "11111111-2222-3333-4444-555555555555",
- "name": "folder_1_new"
}
"11111111-2222-3333-4444-555555555555"
Получение структуры папок.
key required | string<uuid> (unique_key) Ключ, уникальный идентификатор. |
type required | string (folder_type) Enum: "ROOT" "FOLDER" Тип элемента:
|
name required | string [ 1 .. 100 ] characters Название папки. |
required | object (folder_stats) Стастика по текущей папке. |
elements | Array of objects (filesystem) [ 0 .. 101 ] items Список дочерних элементов. |
{- "key": "5fffc47c-8239-42c4-8a3f-95d0ed235173",
- "type": "ROOT",
- "name": "ROOT",
- "statistics": {
- "folders_count": 1,
- "experiments_count": 3
}, - "elements": [
- {
- "key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091",
- "type": "FOLDER",
- "name": "MyFolder",
- "statistics": {
- "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 Фильтр для поиска по текстовым полям - возвращаются только те эксперименты, у которых в названии или описании содержится подстрока из фильтра. Если фильтр пустой - возвращаются все эксперименты в папке. |
required | Array of objects (experiment) [ 0 .. 101 ] items Список экспериментов. |
required | object (table_list_stats) Статистика по списку. |
{- "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",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}, - "trips_settings": {
- "configuration": "optimize_distance",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "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-02-21T09:30:00+03:00",
- "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}
}, - "statistics": {
- "indicators": [
- "total_statistics_cost",
- "total_statistics_measurements_waiting_time"
], - "total_statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "measurements": {
- "driving_time": "PT2H",
- "waiting_time": "PT2H",
- "break_time": "PT2H",
- "working_time": "PT2H",
- "arriving_time": "PT2H",
- "departure_time": "PT2H",
- "total_time": "PT2H",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "cargo_capacity_ratio": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_transport_load": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "quality": {
- "soft_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}, - "hard_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}
}
}, - "data_statistics": {
- "locations": 1,
- "orders": 1,
- "performers": 1,
- "transports": 1,
- "hardlinks": 1,
- "trips": 1,
- "external_routing": false
}, - "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": {
- "progress": 52,
- "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": {
- "code": "11111111-2222-3333-4444-555555555555",
- "client": "company_|_username",
- "server": "server_name",
- "service": "STUDIO",
- "operation": "run_plan_calculation",
- "time": "2024-02-21T09:30:00+03:00"
}
}, - "check": {
- "logical_errors": [ ],
- "warnings": [ ]
}, - "pristine": false,
- "sharing": true,
- "edit_date": "2024-02-21T19:45:00Z",
- "creation_date": "2024-02-21T19:45:00Z"
}
], - "statistics": {
- "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) Ключ папки, в которой будет создана новая папка. |
name required | string [ 1 .. 100 ] characters Название новой папки. |
key required | string<uuid> (unique_key) Ключ, уникальный идентификатор. |
type required | string (folder_type) Enum: "ROOT" "FOLDER" Тип элемента:
|
name required | string [ 1 .. 100 ] characters Название папки. |
required | object (folder_stats) Стастика по текущей папке. |
elements | Array of objects (filesystem) [ 0 .. 101 ] items Список дочерних элементов. |
{- "parent_key": "11111111-2222-3333-4444-555555555555",
- "name": "folder_1_new"
}
{- "key": "5fffc47c-8239-42c4-8a3f-95d0ed235173",
- "type": "ROOT",
- "name": "ROOT",
- "statistics": {
- "folders_count": 1,
- "experiments_count": 3
}, - "elements": [
- {
- "key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091",
- "type": "FOLDER",
- "name": "MyFolder",
- "statistics": {
- "folders_count": 0,
- "experiments_count": 3
}, - "elements": [ ]
}
]
}
Удаление папки по ключу.
folder_key required | string<uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ папки, уникальный идентификатор. |
{- "tracedata": {
- "code": "215b87e0-4407-4e0f-b2cc-8540f8f0cad7",
- "client": "veeroute_|_example",
- "server": "edge",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Поиск экспериментов по всем вложенным папкам.
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_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
required | Array of objects (experiment) [ 0 .. 101 ] items Список экспериментов. |
required | object (table_list_stats) Статистика по списку. |
{- "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",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}, - "trips_settings": {
- "configuration": "optimize_distance",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "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-02-21T09:30:00+03:00",
- "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}
}, - "statistics": {
- "indicators": [
- "total_statistics_cost",
- "total_statistics_measurements_waiting_time"
], - "total_statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "measurements": {
- "driving_time": "PT2H",
- "waiting_time": "PT2H",
- "break_time": "PT2H",
- "working_time": "PT2H",
- "arriving_time": "PT2H",
- "departure_time": "PT2H",
- "total_time": "PT2H",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "cargo_capacity_ratio": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_transport_load": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "quality": {
- "soft_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}, - "hard_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}
}
}, - "data_statistics": {
- "locations": 1,
- "orders": 1,
- "performers": 1,
- "transports": 1,
- "hardlinks": 1,
- "trips": 1,
- "external_routing": false
}, - "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": {
- "progress": 52,
- "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": {
- "code": "11111111-2222-3333-4444-555555555555",
- "client": "company_|_username",
- "server": "server_name",
- "service": "STUDIO",
- "operation": "run_plan_calculation",
- "time": "2024-02-21T09:30:00+03:00"
}
}, - "check": {
- "logical_errors": [ ],
- "warnings": [ ]
}, - "pristine": false,
- "sharing": true,
- "edit_date": "2024-02-21T19:45:00Z",
- "creation_date": "2024-02-21T19:45:00Z"
}
], - "statistics": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Создание нового эксперимента.
Запрос на создание эксперимента.
name required | string [ 1 .. 100 ] characters Название эксперимента. |
comment required | string or null [ 0 .. 10000 ] characters Default: null Комментарий к эксперименту. |
folder_key required | string<uuid> (unique_key) Ключ папки типа |
{- "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) Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer<int32> (calculation_progress) [ 0 .. 100 ] Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (experiment_calculation) Информация по расчету эксперимента. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Флаг совместного использования эксперимента. |
edit_date required | string<date-time> Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required | string<date-time> Дата и время создания в соответствии с ISO 8601. |
{- "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",
- "trip_start_time_strategy": "EARLIEST_FINISH",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "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
}
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": false,
- "plan_new_orders": false,
- "create_new_trips": false
}, - "trips_settings": {
- "configuration": "default",
- "trip_start_time_strategy": "EARLIEST_FINISH",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "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": {
- "geo_settings": {
- "geo_provider": "OSRM",
- "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
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "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",
- "total_statistics_quality_hard_time_window_violations_after_count",
- "total_statistics_quality_hard_time_window_violations_before_count",
- "total_statistics_quality_soft_time_window_violations_after_count",
- "total_statistics_quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-02-15T13:56:07.697Z",
- "to": "2024-02-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "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": {
- "soft_time_window_violations": {
- "before": {
- "keys": [ ],
- "count": 0
}, - "after": {
- "keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "keys": [ ],
- "count": 0
}, - "after": {
- "keys": [ ],
- "count": 0
}
}
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-02-15T13:56:07.728Z",
- "creation_date": "2024-02-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 Название эксперимента. |
comment required | string or null [ 0 .. 10000 ] characters Default: null Комментарий к эксперименту. |
folder_key required | string<uuid> (unique_key) Ключ папки типа |
key required | string<uuid> (unique_key) Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer<int32> (calculation_progress) [ 0 .. 100 ] Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (experiment_calculation) Информация по расчету эксперимента. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Флаг совместного использования эксперимента. |
edit_date required | string<date-time> Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required | string<date-time> Дата и время создания в соответствии с ISO 8601. |
{- "name": "Exp_1",
- "comment": "long long long long text",
- "folder_key": "11111111-2222-3333-4444-555555555555"
}
{- "key": "11111111-2222-3333-4444-555555555555",
- "specification": {
- "name": "Exp_1",
- "comment": "long long long long text",
- "folder_key": "11111111-2222-3333-4444-555555555555"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "optimize_distance",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "demands_extra_duration": [ ],
- "feature_lifetimes": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}, - "trips_settings": {
- "configuration": "optimize_distance",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "demands_extra_duration": [ ],
- "feature_lifetimes": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "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-02-21T09:30:00+03:00",
- "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}
}, - "statistics": {
- "indicators": [
- "total_statistics_cost",
- "total_statistics_measurements_waiting_time"
], - "total_statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "cargo_capacity_ratio": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_transport_load": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "quality": {
- "soft_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}, - "hard_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}
}
}, - "data_statistics": {
- "locations": 1,
- "orders": 1,
- "performers": 1,
- "transports": 1,
- "hardlinks": 1,
- "trips": 1,
- "external_routing": false
}, - "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": {
- "progress": 52,
- "info": {
- "status": "FINISHED_IN_TIME",
- "result_version": 133,
- "preparing_time": "P1Y1M1DT2H12M34.3S",
- "business_validation_time": "P1Y1M1DT2H12M34.3S",
- "math_validation_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "calculation_time": "P1Y1M1DT2H12M34.3S"
}, - "tracedata": {
- "code": "11111111-2222-3333-4444-555555555555",
- "client": "company_|_username",
- "server": "server_name",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-21T09:30:00+03:00"
}
}, - "check": {
- "logical_errors": [
- {
- "type": "INCONSISTENT_REFERENCE",
- "info": "entity error",
- "entities": [
- {
- "entity_key": "order_0001",
- "entity_type": "ORDER",
- "child_entity": { }
}
]
}
], - "warnings": [ ]
}, - "pristine": false,
- "sharing": true,
- "edit_date": "2024-02-21T19:45:00Z",
- "creation_date": "2024-02-21T19:45:00Z"
}
Удаление эксперимента по ключу.
experiment_key required | string<uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "code": "215b87e0-4407-4e0f-b2cc-8540f8f0cad7",
- "client": "veeroute_|_example",
- "server": "edge",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-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 Название эксперимента. |
comment required | string or null [ 0 .. 10000 ] characters Default: null Комментарий к эксперименту. |
folder_key required | string<uuid> (unique_key) Ключ папки типа |
{- "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) Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer<int32> (calculation_progress) [ 0 .. 100 ] Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (experiment_calculation) Информация по расчету эксперимента. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Флаг совместного использования эксперимента. |
edit_date required | string<date-time> Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required | string<date-time> Дата и время создания в соответствии с ISO 8601. |
{- "plan_settings": {
- "trips_settings": {
- "configuration": "optimize_distance",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "demands_extra_duration": [ ],
- "feature_lifetimes": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}, - "trips_settings": {
- "configuration": "optimize_distance",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "demands_extra_duration": [ ],
- "feature_lifetimes": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "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-02-21T09:30:00+03:00",
- "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}
}
{- "key": "11111111-2222-3333-4444-555555555555",
- "specification": {
- "name": "Exp_1",
- "comment": "long long long long text",
- "folder_key": "11111111-2222-3333-4444-555555555555"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "optimize_distance",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "demands_extra_duration": [ ],
- "feature_lifetimes": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}, - "trips_settings": {
- "configuration": "optimize_distance",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "demands_extra_duration": [ ],
- "feature_lifetimes": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "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-02-21T09:30:00+03:00",
- "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}
}, - "statistics": {
- "indicators": [
- "total_statistics_cost",
- "total_statistics_measurements_waiting_time"
], - "total_statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "cargo_capacity_ratio": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_transport_load": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "quality": {
- "soft_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}, - "hard_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}
}
}, - "data_statistics": {
- "locations": 1,
- "orders": 1,
- "performers": 1,
- "transports": 1,
- "hardlinks": 1,
- "trips": 1,
- "external_routing": false
}, - "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": {
- "progress": 52,
- "info": {
- "status": "FINISHED_IN_TIME",
- "result_version": 133,
- "preparing_time": "P1Y1M1DT2H12M34.3S",
- "business_validation_time": "P1Y1M1DT2H12M34.3S",
- "math_validation_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "calculation_time": "P1Y1M1DT2H12M34.3S"
}, - "tracedata": {
- "code": "11111111-2222-3333-4444-555555555555",
- "client": "company_|_username",
- "server": "server_name",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-21T09:30:00+03:00"
}
}, - "check": {
- "logical_errors": [
- {
- "type": "INCONSISTENT_REFERENCE",
- "info": "entity error",
- "entities": [
- {
- "entity_key": "order_0001",
- "entity_type": "ORDER",
- "child_entity": { }
}
]
}
], - "warnings": [ ]
}, - "pristine": false,
- "sharing": true,
- "edit_date": "2024-02-21T19:45:00Z",
- "creation_date": "2024-02-21T19:45:00Z"
}
Обновление индикаторов.
experiment_key required | string<uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на обновление индикаторов эксперимента.
Ключ индикатора.
key required | string<uuid> (unique_key) Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer<int32> (calculation_progress) [ 0 .. 100 ] Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (experiment_calculation) Информация по расчету эксперимента. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Флаг совместного использования эксперимента. |
edit_date required | string<date-time> Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required | string<date-time> Дата и время создания в соответствии с ISO 8601. |
[- "total_statistics_cost",
- "total_statistics_measurements_waiting_time"
]
{- "key": "11111111-2222-3333-4444-555555555555",
- "specification": {
- "name": "Exp_1",
- "comment": "long long long long text",
- "folder_key": "11111111-2222-3333-4444-555555555555"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "optimize_distance",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "demands_extra_duration": [ ],
- "feature_lifetimes": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}, - "trips_settings": {
- "configuration": "optimize_distance",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "demands_extra_duration": [ ],
- "feature_lifetimes": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "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-02-21T09:30:00+03:00",
- "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}
}, - "statistics": {
- "indicators": [
- "total_statistics_cost",
- "total_statistics_measurements_waiting_time"
], - "total_statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "cargo_capacity_ratio": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_transport_load": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "quality": {
- "soft_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}, - "hard_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}
}
}, - "data_statistics": {
- "locations": 1,
- "orders": 1,
- "performers": 1,
- "transports": 1,
- "hardlinks": 1,
- "trips": 1,
- "external_routing": false
}, - "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": {
- "progress": 52,
- "info": {
- "status": "FINISHED_IN_TIME",
- "result_version": 133,
- "preparing_time": "P1Y1M1DT2H12M34.3S",
- "business_validation_time": "P1Y1M1DT2H12M34.3S",
- "math_validation_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "calculation_time": "P1Y1M1DT2H12M34.3S"
}, - "tracedata": {
- "code": "11111111-2222-3333-4444-555555555555",
- "client": "company_|_username",
- "server": "server_name",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-21T09:30:00+03:00"
}
}, - "check": {
- "logical_errors": [
- {
- "type": "INCONSISTENT_REFERENCE",
- "info": "entity error",
- "entities": [
- {
- "entity_key": "order_0001",
- "entity_type": "ORDER",
- "child_entity": { }
}
]
}
], - "warnings": [ ]
}, - "pristine": false,
- "sharing": true,
- "edit_date": "2024-02-21T19:45:00Z",
- "creation_date": "2024-02-21T19:45:00Z"
}
Запуск расчета эксперимента.
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) Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer<int32> (calculation_progress) [ 0 .. 100 ] Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (experiment_calculation) Информация по расчету эксперимента. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Флаг совместного использования эксперимента. |
edit_date required | string<date-time> Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required | string<date-time> Дата и время создания в соответствии с ISO 8601. |
{- "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",
- "trip_start_time_strategy": "EARLIEST_FINISH",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "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
}
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": false,
- "plan_new_orders": false,
- "create_new_trips": false
}, - "trips_settings": {
- "configuration": "default",
- "trip_start_time_strategy": "EARLIEST_FINISH",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "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": {
- "geo_settings": {
- "geo_provider": "OSRM",
- "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
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "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",
- "total_statistics_quality_hard_time_window_violations_after_count",
- "total_statistics_quality_hard_time_window_violations_before_count",
- "total_statistics_quality_soft_time_window_violations_after_count",
- "total_statistics_quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-02-15T13:56:07.697Z",
- "to": "2024-02-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "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": {
- "soft_time_window_violations": {
- "before": {
- "keys": [ ],
- "count": 0
}, - "after": {
- "keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "keys": [ ],
- "count": 0
}, - "after": {
- "keys": [ ],
- "count": 0
}
}
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-02-15T13:56:07.728Z",
- "creation_date": "2024-02-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Остановка расчета.
experiment_key required | string<uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "code": "215b87e0-4407-4e0f-b2cc-8540f8f0cad7",
- "client": "veeroute_|_example",
- "server": "edge",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-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) Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer<int32> (calculation_progress) [ 0 .. 100 ] Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (experiment_calculation) Информация по расчету эксперимента. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Флаг совместного использования эксперимента. |
edit_date required | string<date-time> Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required | string<date-time> Дата и время создания в соответствии с ISO 8601. |
{- "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",
- "trip_start_time_strategy": "EARLIEST_FINISH",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "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
}
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": false,
- "plan_new_orders": false,
- "create_new_trips": false
}, - "trips_settings": {
- "configuration": "default",
- "trip_start_time_strategy": "EARLIEST_FINISH",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "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": {
- "geo_settings": {
- "geo_provider": "OSRM",
- "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
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "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",
- "total_statistics_quality_hard_time_window_violations_after_count",
- "total_statistics_quality_hard_time_window_violations_before_count",
- "total_statistics_quality_soft_time_window_violations_after_count",
- "total_statistics_quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-02-15T13:56:07.697Z",
- "to": "2024-02-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "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": {
- "soft_time_window_violations": {
- "before": {
- "keys": [ ],
- "count": 0
}, - "after": {
- "keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "keys": [ ],
- "count": 0
}, - "after": {
- "keys": [ ],
- "count": 0
}
}
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-02-15T13:56:07.728Z",
- "creation_date": "2024-02-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> [ -12 .. 12 ] Default: 0 Example: timezone=3 Временная зона. |
Данные (XLSX).
Файл с данными в формате XLSX.
key required | string<uuid> (unique_key) Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer<int32> (calculation_progress) [ 0 .. 100 ] Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (experiment_calculation) Информация по расчету эксперимента. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Флаг совместного использования эксперимента. |
edit_date required | string<date-time> Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required | string<date-time> Дата и время создания в соответствии с ISO 8601. |
{- "key": "11111111-2222-3333-4444-555555555555",
- "specification": {
- "name": "Exp_1",
- "comment": "long long long long text",
- "folder_key": "11111111-2222-3333-4444-555555555555"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "optimize_distance",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "demands_extra_duration": [ ],
- "feature_lifetimes": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}, - "trips_settings": {
- "configuration": "optimize_distance",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "demands_extra_duration": [ ],
- "feature_lifetimes": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "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-02-21T09:30:00+03:00",
- "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}
}, - "statistics": {
- "indicators": [
- "total_statistics_cost",
- "total_statistics_measurements_waiting_time"
], - "total_statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "cargo_capacity_ratio": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_transport_load": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "quality": {
- "soft_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}, - "hard_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}
}
}, - "data_statistics": {
- "locations": 1,
- "orders": 1,
- "performers": 1,
- "transports": 1,
- "hardlinks": 1,
- "trips": 1,
- "external_routing": false
}, - "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": {
- "progress": 52,
- "info": {
- "status": "FINISHED_IN_TIME",
- "result_version": 133,
- "preparing_time": "P1Y1M1DT2H12M34.3S",
- "business_validation_time": "P1Y1M1DT2H12M34.3S",
- "math_validation_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "calculation_time": "P1Y1M1DT2H12M34.3S"
}, - "tracedata": {
- "code": "11111111-2222-3333-4444-555555555555",
- "client": "company_|_username",
- "server": "server_name",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-21T09:30:00+03:00"
}
}, - "check": {
- "logical_errors": [
- {
- "type": "INCONSISTENT_REFERENCE",
- "info": "entity error",
- "entities": [
- {
- "entity_key": "order_0001",
- "entity_type": "ORDER",
- "child_entity": { }
}
]
}
], - "warnings": [ ]
}, - "pristine": false,
- "sharing": true,
- "edit_date": "2024-02-21T19:45:00Z",
- "creation_date": "2024-02-21T19:45:00Z"
}
Импорт новых данных из файла формата VRt.Universal JSON. Если сущность уже присутствует в эксперименте (определяется по ее ключу) - она обновляется, если нет - создается новая.
experiment_key required | string<uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Данные (JSON).
Array of objects (location) [ 0 .. 15001 ] items unique Список локаций, которые используются в заказах и сменах. | |
Array of objects (order) [ 0 .. 15001 ] items unique Список заказов. | |
Array of objects (performer) [ 0 .. 15001 ] items unique Список доступных исполнителей. | |
Array of objects (transport) [ 0 .. 15001 ] items unique Список доступного транспорта. | |
Array of objects (hardlink) [ 0 .. 15001 ] items unique Список назначений. | |
Array of objects (trip) [ 0 .. 15001 ] items unique Существующие рейсы. | |
object (facts) Произошедшие события. | |
object or null (plan_statistics) Общая статистика по запланированным рейсам. | |
Array of objects (routing_transport_matrix_list) [ 0 .. 12 ] items unique Список матриц времен и расстояний для каждого типа транспорта, которые указаны в данных. Матрица должна описывать все локации для каждого типа транспорта из данных. При указании внешней матрицы маршрутизации | |
object (plan_settings) Настройки планирования. | |
object (replan_settings) Настройки перепланирования. | |
object (actualize_settings) Настройки актуализации. | |
dataset_name | string (dataset_name) [ 0 .. 1000 ] characters Название датасета. Техническое поле, не влияющее на планирование. |
key required | string<uuid> (unique_key) Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer<int32> (calculation_progress) [ 0 .. 100 ] Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (experiment_calculation) Информация по расчету эксперимента. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Флаг совместного использования эксперимента. |
edit_date required | string<date-time> Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required | string<date-time> Дата и время создания в соответствии с ISO 8601. |
{- "locations": [
- {
- "key": "location01",
- "geopoint": {
- "latitude": 55.692789,
- "longitude": 37.554554
}, - "arrival_duration": "P1Y1M1DT2H12M34.3S",
- "departure_duration": "P1Y1M1DT2H12M34.3S",
- "work_windows": [ ],
- "compatibilities": {
- "transport_restrictions": [ ]
}, - "attributes": [ ]
}
], - "orders": [
- {
- "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": "location01",
- "duration": "P1Y1M1DT2H12M34.3S",
- "reward": 199.9,
- "hard_time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "soft_time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}
], - "attributes": [ ]
}
], - "cargos": [ ],
- "compatibilities": {
- "order_features": [ ],
- "order_restrictions": [ ],
- "performer_restrictions": [ ],
- "performer_blacklist": [ ]
}, - "attributes": [ ]
}
], - "performers": [
- {
- "key": "performer0001",
- "shifts": [
- {
- "key": "shift01",
- "availability_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "working_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "start_location_key": "start_location01",
- "finish_location_key": "finish_location01",
- "max_locations": 15,
- "max_stops": 15,
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": "PT24H",
- "cost_per_unit": 0.001
}
], - "max_penalty_cost": 2000
}, - "work_and_rest_rules": {
- "first_break": {
- "max_work_duration_sum": "P1Y1M1DT2H12M34.3S",
- "duration": "P1Y1M1DT2H12M34.3S"
}
}, - "attributes": [ ]
}
], - "own_transport_type": "CAR",
- "compatibilities": {
- "performer_features": [ ],
- "performer_features_lifetimes": [ ],
- "transport_restrictions": [ ]
}, - "limits": {
- "max_work_shifts": 3
}, - "attributes": [ ]
}
], - "transports": [
- {
- "key": "transport001",
- "shifts": [
- {
- "key": "shift01",
- "availability_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "working_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "start_location_key": "start_location01",
- "finish_location_key": "finish_location01",
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": 100000000,
- "cost_per_unit": 0.001
}
], - "transportation_cost": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_penalty_cost": 2000
}, - "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": [ ]
}
], - "hardlinks": [
- {
- "key": "group01",
- "links": [
- {
- "type": "ORDER",
- "entity_key": "ord0001"
}, - {
- "type": "ORDER",
- "entity_key": "ord0001"
}
]
}
], - "trips": [
- {
- "key": "631988f0-9e27-11ed-a8fc-0242ac120002",
- "name": "1-ABC",
- "performer": {
- "performer_key": "performer0001",
- "shift_key": "performer0001_shift01",
- "shift_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "transport": {
- "transport_key": "transport001",
- "shift_key": "performer01",
- "shift_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "states": [
- {
- "time": "2024-02-21T09:30:00+03:00",
- "order_key": "order01",
- "demand_key": "demand01.1",
- "event_key": "event01",
- "location_key": "location01",
- "flags": [ ],
- "cargo_placements": [ ],
- "attributes": [ ]
}
], - "waitlist": [
- "order02"
], - "attributes": [ ]
}
], - "facts": {
- "order_facts": [
- {
- "key": "fact_01",
- "time": "2024-02-21T09:30:00+03:00",
- "type": "ORDER_DONE",
- "order_key": "order_01",
- "demand_key": "order_01_demand_01"
}
], - "performer_facts": [
- {
- "key": "fact_01",
- "time": "2024-02-21T09:30:00+03:00",
- "performer_key": "performer_01",
- "location_key": "location01"
}
]
}, - "statistics": {
- "total_statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "cargo_capacity_ratio": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_transport_load": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "quality": {
- "soft_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}, - "hard_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}
}
}, - "trips_statistics": [
- {
- "trip_key": "trip01",
- "statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "cargo_capacity_ratio": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_transport_load": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "quality": {
- "soft_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}, - "hard_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}
}
}, - "stop_statistics": [
- {
- "location_key": "location01",
- "demand_ids": [
- "demand01"
], - "stop_time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "upload": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "download": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "arrival_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "departure_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}
}
], - "total_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_transfer_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}
}
]
}, - "external_routing": [ ],
- "plan_settings": {
- "trips_settings": {
- "configuration": "optimize_distance",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "demands_extra_duration": [ ],
- "feature_lifetimes": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}, - "trips_settings": {
- "configuration": "optimize_distance",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "demands_extra_duration": [ ],
- "feature_lifetimes": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "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-02-21T09:30:00+03:00",
- "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}, - "dataset_name": "custom_dataset_one"
}
{- "key": "11111111-2222-3333-4444-555555555555",
- "specification": {
- "name": "Exp_1",
- "comment": "long long long long text",
- "folder_key": "11111111-2222-3333-4444-555555555555"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "optimize_distance",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "demands_extra_duration": [ ],
- "feature_lifetimes": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}, - "trips_settings": {
- "configuration": "optimize_distance",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "demands_extra_duration": [ ],
- "feature_lifetimes": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "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-02-21T09:30:00+03:00",
- "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}
}, - "statistics": {
- "indicators": [
- "total_statistics_cost",
- "total_statistics_measurements_waiting_time"
], - "total_statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "cargo_capacity_ratio": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_transport_load": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "quality": {
- "soft_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}, - "hard_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}
}
}, - "data_statistics": {
- "locations": 1,
- "orders": 1,
- "performers": 1,
- "transports": 1,
- "hardlinks": 1,
- "trips": 1,
- "external_routing": false
}, - "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": {
- "progress": 52,
- "info": {
- "status": "FINISHED_IN_TIME",
- "result_version": 133,
- "preparing_time": "P1Y1M1DT2H12M34.3S",
- "business_validation_time": "P1Y1M1DT2H12M34.3S",
- "math_validation_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "calculation_time": "P1Y1M1DT2H12M34.3S"
}, - "tracedata": {
- "code": "11111111-2222-3333-4444-555555555555",
- "client": "company_|_username",
- "server": "server_name",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-21T09:30:00+03:00"
}
}, - "check": {
- "logical_errors": [
- {
- "type": "INCONSISTENT_REFERENCE",
- "info": "entity error",
- "entities": [
- {
- "entity_key": "order_0001",
- "entity_type": "ORDER",
- "child_entity": { }
}
]
}
], - "warnings": [ ]
}, - "pristine": false,
- "sharing": true,
- "edit_date": "2024-02-21T19:45:00Z",
- "creation_date": "2024-02-21T19:45:00Z"
}
Импорт новых данных из файла формата 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) Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer<int32> (calculation_progress) [ 0 .. 100 ] Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (experiment_calculation) Информация по расчету эксперимента. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Флаг совместного использования эксперимента. |
edit_date required | string<date-time> Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required | string<date-time> Дата и время создания в соответствии с ISO 8601. |
{- "key": "11111111-2222-3333-4444-555555555555",
- "specification": {
- "name": "Exp_1",
- "comment": "long long long long text",
- "folder_key": "11111111-2222-3333-4444-555555555555"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "optimize_distance",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "demands_extra_duration": [ ],
- "feature_lifetimes": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}, - "trips_settings": {
- "configuration": "optimize_distance",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "demands_extra_duration": [ ],
- "feature_lifetimes": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "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-02-21T09:30:00+03:00",
- "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}
}, - "statistics": {
- "indicators": [
- "total_statistics_cost",
- "total_statistics_measurements_waiting_time"
], - "total_statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "cargo_capacity_ratio": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_transport_load": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "quality": {
- "soft_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}, - "hard_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}
}
}, - "data_statistics": {
- "locations": 1,
- "orders": 1,
- "performers": 1,
- "transports": 1,
- "hardlinks": 1,
- "trips": 1,
- "external_routing": false
}, - "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": {
- "progress": 52,
- "info": {
- "status": "FINISHED_IN_TIME",
- "result_version": 133,
- "preparing_time": "P1Y1M1DT2H12M34.3S",
- "business_validation_time": "P1Y1M1DT2H12M34.3S",
- "math_validation_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "calculation_time": "P1Y1M1DT2H12M34.3S"
}, - "tracedata": {
- "code": "11111111-2222-3333-4444-555555555555",
- "client": "company_|_username",
- "server": "server_name",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-21T09:30:00+03:00"
}
}, - "check": {
- "logical_errors": [
- {
- "type": "INCONSISTENT_REFERENCE",
- "info": "entity error",
- "entities": [
- {
- "entity_key": "order_0001",
- "entity_type": "ORDER",
- "child_entity": { }
}
]
}
], - "warnings": [ ]
}, - "pristine": false,
- "sharing": true,
- "edit_date": "2024-02-21T19:45:00Z",
- "creation_date": "2024-02-21T19:45:00Z"
}
Импорт новых данных из файла формата VRt.Universal JSON по tracecode. Если сущность уже присутствует в эксперименте (определяется по ее ключу) - она обновляется, если нет - создается новая.
experiment_key required | string<uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
source required | string (import_source) Enum: "ACCOUNT" "ADMIN" Example: ACCOUNT Источник. |
tracecode required | string<uuid> Example: 11111111-2222-3333-4444-555555555555 Уникальный идентификатор процесса. |
sample required | string (import_sample) Enum: "TASK" "FULL" Example: TASK Выборка загружаемых данных - входная задача или входная задача + результат расчета. |
key required | string<uuid> (unique_key) Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer<int32> (calculation_progress) [ 0 .. 100 ] Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (experiment_calculation) Информация по расчету эксперимента. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Флаг совместного использования эксперимента. |
edit_date required | string<date-time> Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required | string<date-time> Дата и время создания в соответствии с ISO 8601. |
{- "key": "11111111-2222-3333-4444-555555555555",
- "specification": {
- "name": "Exp_1",
- "comment": "long long long long text",
- "folder_key": "11111111-2222-3333-4444-555555555555"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "optimize_distance",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "demands_extra_duration": [ ],
- "feature_lifetimes": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}, - "trips_settings": {
- "configuration": "optimize_distance",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "demands_extra_duration": [ ],
- "feature_lifetimes": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "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-02-21T09:30:00+03:00",
- "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}
}, - "statistics": {
- "indicators": [
- "total_statistics_cost",
- "total_statistics_measurements_waiting_time"
], - "total_statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "cargo_capacity_ratio": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_transport_load": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "quality": {
- "soft_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}, - "hard_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}
}
}, - "data_statistics": {
- "locations": 1,
- "orders": 1,
- "performers": 1,
- "transports": 1,
- "hardlinks": 1,
- "trips": 1,
- "external_routing": false
}, - "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": {
- "progress": 52,
- "info": {
- "status": "FINISHED_IN_TIME",
- "result_version": 133,
- "preparing_time": "P1Y1M1DT2H12M34.3S",
- "business_validation_time": "P1Y1M1DT2H12M34.3S",
- "math_validation_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "calculation_time": "P1Y1M1DT2H12M34.3S"
}, - "tracedata": {
- "code": "11111111-2222-3333-4444-555555555555",
- "client": "company_|_username",
- "server": "server_name",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-21T09:30:00+03:00"
}
}, - "check": {
- "logical_errors": [
- {
- "type": "INCONSISTENT_REFERENCE",
- "info": "entity error",
- "entities": [
- {
- "entity_key": "order_0001",
- "entity_type": "ORDER",
- "child_entity": { }
}
]
}
], - "warnings": [ ]
}, - "pristine": false,
- "sharing": true,
- "edit_date": "2024-02-21T19:45:00Z",
- "creation_date": "2024-02-21T19:45:00Z"
}
Экспортировать (XLSX).
experiment_key required | string<uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
timezone | integer<int32> [ -12 .. 12 ] Default: 0 Example: timezone=3 Временная зона. |
Файл с данными в формате XLSX.
{- "tracedata": {
- "code": "215b87e0-4407-4e0f-b2cc-8540f8f0cad7",
- "client": "veeroute_|_example",
- "server": "edge",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-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) [ 0 .. 15001 ] items unique Список локаций, которые используются в заказах и сменах. | |
Array of objects (order) [ 0 .. 15001 ] items unique Список заказов. | |
Array of objects (performer) [ 0 .. 15001 ] items unique Список доступных исполнителей. | |
Array of objects (transport) [ 0 .. 15001 ] items unique Список доступного транспорта. | |
Array of objects (hardlink) [ 0 .. 15001 ] items unique Список назначений. | |
Array of objects (trip) [ 0 .. 15001 ] items unique Существующие рейсы. | |
object (facts) Произошедшие события. | |
object or null (plan_statistics) Общая статистика по запланированным рейсам. | |
Array of objects (routing_transport_matrix_list) [ 0 .. 12 ] items unique Список матриц времен и расстояний для каждого типа транспорта, которые указаны в данных. Матрица должна описывать все локации для каждого типа транспорта из данных. При указании внешней матрицы маршрутизации | |
object (plan_settings) Настройки планирования. | |
object (replan_settings) Настройки перепланирования. | |
object (actualize_settings) Настройки актуализации. | |
dataset_name | string (dataset_name) [ 0 .. 1000 ] characters Название датасета. Техническое поле, не влияющее на планирование. |
{- "locations": [
- {
- "key": "location01",
- "geopoint": {
- "latitude": 55.692789,
- "longitude": 37.554554
}, - "arrival_duration": "P1Y1M1DT2H12M34.3S",
- "departure_duration": "P1Y1M1DT2H12M34.3S",
- "work_windows": [ ],
- "compatibilities": {
- "transport_restrictions": [ ]
}, - "attributes": [ ]
}
], - "orders": [
- {
- "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": "location01",
- "duration": "P1Y1M1DT2H12M34.3S",
- "reward": 199.9,
- "hard_time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "soft_time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}
], - "attributes": [ ]
}
], - "cargos": [ ],
- "compatibilities": {
- "order_features": [ ],
- "order_restrictions": [ ],
- "performer_restrictions": [ ],
- "performer_blacklist": [ ]
}, - "attributes": [ ]
}
], - "performers": [
- {
- "key": "performer0001",
- "shifts": [
- {
- "key": "shift01",
- "availability_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "working_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "start_location_key": "start_location01",
- "finish_location_key": "finish_location01",
- "max_locations": 15,
- "max_stops": 15,
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": "PT24H",
- "cost_per_unit": 0.001
}
], - "max_penalty_cost": 2000
}, - "work_and_rest_rules": {
- "first_break": {
- "max_work_duration_sum": "P1Y1M1DT2H12M34.3S",
- "duration": "P1Y1M1DT2H12M34.3S"
}
}, - "attributes": [ ]
}
], - "own_transport_type": "CAR",
- "compatibilities": {
- "performer_features": [ ],
- "performer_features_lifetimes": [ ],
- "transport_restrictions": [ ]
}, - "limits": {
- "max_work_shifts": 3
}, - "attributes": [ ]
}
], - "transports": [
- {
- "key": "transport001",
- "shifts": [
- {
- "key": "shift01",
- "availability_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "working_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "start_location_key": "start_location01",
- "finish_location_key": "finish_location01",
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": 100000000,
- "cost_per_unit": 0.001
}
], - "transportation_cost": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_penalty_cost": 2000
}, - "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": [ ]
}
], - "hardlinks": [
- {
- "key": "group01",
- "links": [
- {
- "type": "ORDER",
- "entity_key": "ord0001"
}, - {
- "type": "ORDER",
- "entity_key": "ord0001"
}
]
}
], - "trips": [
- {
- "key": "631988f0-9e27-11ed-a8fc-0242ac120002",
- "name": "1-ABC",
- "performer": {
- "performer_key": "performer0001",
- "shift_key": "performer0001_shift01",
- "shift_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "transport": {
- "transport_key": "transport001",
- "shift_key": "performer01",
- "shift_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "states": [
- {
- "time": "2024-02-21T09:30:00+03:00",
- "order_key": "order01",
- "demand_key": "demand01.1",
- "event_key": "event01",
- "location_key": "location01",
- "flags": [ ],
- "cargo_placements": [ ],
- "attributes": [ ]
}
], - "waitlist": [
- "order02"
], - "attributes": [ ]
}
], - "facts": {
- "order_facts": [
- {
- "key": "fact_01",
- "time": "2024-02-21T09:30:00+03:00",
- "type": "ORDER_DONE",
- "order_key": "order_01",
- "demand_key": "order_01_demand_01"
}
], - "performer_facts": [
- {
- "key": "fact_01",
- "time": "2024-02-21T09:30:00+03:00",
- "performer_key": "performer_01",
- "location_key": "location01"
}
]
}, - "statistics": {
- "total_statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "cargo_capacity_ratio": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_transport_load": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "quality": {
- "soft_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}, - "hard_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}
}
}, - "trips_statistics": [
- {
- "trip_key": "trip01",
- "statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "cargo_capacity_ratio": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_transport_load": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "quality": {
- "soft_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}, - "hard_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}
}
}, - "stop_statistics": [
- {
- "location_key": "location01",
- "demand_ids": [
- "demand01"
], - "stop_time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "upload": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "download": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "arrival_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "departure_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}
}
], - "total_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_transfer_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}
}
]
}, - "external_routing": [ ],
- "plan_settings": {
- "trips_settings": {
- "configuration": "optimize_distance",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "demands_extra_duration": [ ],
- "feature_lifetimes": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}, - "trips_settings": {
- "configuration": "optimize_distance",
- "trip_start_time_strategy": "LOWEST_COST",
- "assumptions": {
- "transport_factor": [ ],
- "capacity_factor": [ ],
- "demands_extra_duration": [ ],
- "feature_lifetimes": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "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-02-21T09:30:00+03:00",
- "geo_settings": {
- "geo_provider": "OSRM",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "restricted_zones": [
- "ART_MOSCOW_MKAD_CARGO_FRAME"
]
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}, - "dataset_name": "custom_dataset_one"
}
Проверка доступности сервиса.
health required | number<double> [ 0 .. 1 ] Текущий показатель здоровья сервиса. |
{- "health": 0.999
}
Получение версии сервиса.
major required | integer<int32> [ 1 .. 100 ] Версия продукта. В рамках одной версии гарантируется совместимость общих структур данных между сервисами. |
minor required | integer<int32> [ 0 .. 111 ] Минорная версия сервиса. Изменение версии указывает на новую функциональность. Обновление имеет обратную совместимость в рамках мажорной версии сервиса. |
build required | string [ 1 .. 64 ] characters Версия сборки. |
{- "major": 4,
- "minor": 4,
- "build": "1754RC"
}
Получение файла с документацией на этот сервис.
filename required | string [ 6 .. 128 ] characters Example: file_en.html Название файла. |
Файл с данными в формате HTML.
{- "resource_id": "resource_id",
- "detail": {
- "tracedata": {
- "code": "11111111-2222-3333-4444-555555555555",
- "client": "company_|_username",
- "server": "server_name",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-21T09:30:00+03:00"
}
}
}
Получение списка локаций.
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_stats) Статистика по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "datetime_range": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "int_range": {
- "from": 1,
- "to": 100
}, - "float_range": {
- "from": 1,
- "to": 100
}, - "bool_list": {
- "elements": [
- false
]
}, - "string_list": {
- "elements": [
- "key01"
], - "strict": false
}, - "enum_list": {
- "elements": [
- "key01"
]
}, - "string_search": {
- "text": "key01",
- "strict": false
}
}
]
}
{- "essences": [
- {
- "fields": {
- "essence_key": "key01",
- "essence_type": "LOCATION",
- "enabled": false,
- "pristine": false,
- "working_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-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-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "attributes": "key1:value1, key2:value2"
}
]
}
], - "statistics": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Создание локации.
experiment_key required | string<uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на создание нового локации.
required | object (location) Локация - уникальное географическое местоположение объекта с параметрами доступности. |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "location": {
- "key": "location01",
- "geopoint": {
- "latitude": 55.692789,
- "longitude": 37.554554
}, - "arrival_duration": "P1Y1M1DT2H12M34.3S",
- "departure_duration": "P1Y1M1DT2H12M34.3S",
- "work_windows": [ ],
- "compatibilities": {
- "transport_restrictions": [ ]
}, - "attributes": [ ]
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
{- "location": {
- "key": "location01",
- "geopoint": {
- "latitude": 55.692789,
- "longitude": 37.554554
}, - "arrival_duration": "P1Y1M1DT2H12M34.3S",
- "departure_duration": "P1Y1M1DT2H12M34.3S",
- "work_windows": [ ],
- "compatibilities": {
- "transport_restrictions": [ ]
}, - "attributes": [ ]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "LOCATION",
- "enabled": false,
- "pristine": false,
- "working_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-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) Локация - уникальное географическое местоположение объекта с параметрами доступности. |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (location) Локация - уникальное географическое местоположение объекта с параметрами доступности. |
object (table_location_fields) Табличные поля локации. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "location": {
- "key": "location01",
- "geopoint": {
- "latitude": 55.692789,
- "longitude": 37.554554
}, - "arrival_duration": "P1Y1M1DT2H12M34.3S",
- "departure_duration": "P1Y1M1DT2H12M34.3S",
- "work_windows": [ ],
- "compatibilities": {
- "transport_restrictions": [ ]
}, - "attributes": [ ]
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
{- "location": {
- "key": "location01",
- "geopoint": {
- "latitude": 55.692789,
- "longitude": 37.554554
}, - "arrival_duration": "P1Y1M1DT2H12M34.3S",
- "departure_duration": "P1Y1M1DT2H12M34.3S",
- "work_windows": [ ],
- "compatibilities": {
- "transport_restrictions": [ ]
}, - "attributes": [ ]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "LOCATION",
- "enabled": false,
- "pristine": false,
- "working_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-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 (table_location_fields) Табличные поля локации. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "location": {
- "key": "location01",
- "geopoint": {
- "latitude": 55.692789,
- "longitude": 37.554554
}, - "arrival_duration": "P1Y1M1DT2H12M34.3S",
- "departure_duration": "P1Y1M1DT2H12M34.3S",
- "work_windows": [ ],
- "compatibilities": {
- "transport_restrictions": [ ]
}, - "attributes": [ ]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "LOCATION",
- "enabled": false,
- "pristine": false,
- "working_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-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": {
- "code": "215b87e0-4407-4e0f-b2cc-8540f8f0cad7",
- "client": "veeroute_|_example",
- "server": "edge",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-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_stats) Статистика по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "datetime_range": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "int_range": {
- "from": 1,
- "to": 100
}, - "float_range": {
- "from": 1,
- "to": 100
}, - "bool_list": {
- "elements": [
- false
]
}, - "string_list": {
- "elements": [
- "key01"
], - "strict": false
}, - "enum_list": {
- "elements": [
- "key01"
]
}, - "string_search": {
- "text": "key01",
- "strict": false
}
}
]
}
{- "geopoints": [
- {
- "geopoint": {
- "latitude": 55.692789,
- "longitude": 37.554554
}, - "location_key": "location01",
- "linked": true
}
], - "statistics": {
- "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_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_stats) Статистика по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "datetime_range": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "int_range": {
- "from": 1,
- "to": 100
}, - "float_range": {
- "from": 1,
- "to": 100
}, - "bool_list": {
- "elements": [
- false
]
}, - "string_list": {
- "elements": [
- "key01"
], - "strict": false
}, - "enum_list": {
- "elements": [
- "key01"
]
}, - "string_search": {
- "text": "key01",
- "strict": false
}
}
]
}
{- "essences": [
- {
- "fields": {
- "essence_key": "key01",
- "essence_type": "ORDER",
- "enabled": false,
- "pristine": false,
- "state": "PLANNED",
- "type": "PD",
- "hard_time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "soft_time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "general_drop_time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "general_pickup_time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "general_work_time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-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-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "soft_time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "general_drop_time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "general_pickup_time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "general_work_time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-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"
}
]
}
], - "statistics": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Создание заказа.
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 Список связанных сущностей. |
{- "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": "location01",
- "duration": "P1Y1M1DT2H12M34.3S",
- "reward": 199.9,
- "hard_time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "soft_time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-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": "location01",
- "duration": "P1Y1M1DT2H12M34.3S",
- "reward": 199.9,
- "hard_time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "soft_time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-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-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "soft_time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "general_drop_time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "general_pickup_time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "general_work_time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-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": "location01",
- "duration": "P1Y1M1DT2H12M34.3S",
- "reward": 199.9,
- "hard_time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "soft_time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-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": "location01",
- "duration": "P1Y1M1DT2H12M34.3S",
- "reward": 199.9,
- "hard_time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "soft_time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-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-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "soft_time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "general_drop_time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "general_pickup_time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "general_work_time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-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": "location01",
- "duration": "P1Y1M1DT2H12M34.3S",
- "reward": 199.9,
- "hard_time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "soft_time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-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-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "soft_time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "general_drop_time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "general_pickup_time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "general_work_time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-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": {
- "code": "215b87e0-4407-4e0f-b2cc-8540f8f0cad7",
- "client": "veeroute_|_example",
- "server": "edge",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-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_stats) Статистика по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "datetime_range": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "int_range": {
- "from": 1,
- "to": 100
}, - "float_range": {
- "from": 1,
- "to": 100
}, - "bool_list": {
- "elements": [
- false
]
}, - "string_list": {
- "elements": [
- "key01"
], - "strict": false
}, - "enum_list": {
- "elements": [
- "key01"
]
}, - "string_search": {
- "text": "key01",
- "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
}
], - "statistics": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Включение заказов в расчет.
experiment_key required | string<uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на включение заказов.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "code": "215b87e0-4407-4e0f-b2cc-8540f8f0cad7",
- "client": "veeroute_|_example",
- "server": "edge",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-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": {
- "code": "215b87e0-4407-4e0f-b2cc-8540f8f0cad7",
- "client": "veeroute_|_example",
- "server": "edge",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-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_performer_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_performer_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (table_performer) [ 0 .. 15001 ] items Список. |
required | object (table_list_stats) Статистика по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "datetime_range": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "int_range": {
- "from": 1,
- "to": 100
}, - "float_range": {
- "from": 1,
- "to": 100
}, - "bool_list": {
- "elements": [
- false
]
}, - "string_list": {
- "elements": [
- "key01"
], - "strict": false
}, - "enum_list": {
- "elements": [
- "key01"
]
}, - "string_search": {
- "text": "key01",
- "strict": false
}
}
]
}
{- "essences": [
- {
- "fields": {
- "essence_key": "key01",
- "essence_type": "PERFORMER",
- "enabled": false,
- "pristine": false,
- "working_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "availability_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "trip_key": "key01",
- "trip_name": "1-ABC",
- "location_keys": [
- "key01"
], - "trips_count": 1,
- "attributes": "key1:value1, key2:value2"
}, - "elements": [
- {
- "essence_key": "key01",
- "essence_type": "PERFORMER",
- "enabled": false,
- "pristine": false,
- "working_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "availability_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "trip_key": "key01",
- "trip_name": "1-ABC",
- "location_keys": [
- "key01"
], - "trips_count": 1,
- "attributes": "key1:value1, key2:value2"
}
]
}
], - "statistics": {
- "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 Список связанных сущностей. |
{- "performer": {
- "key": "performer0001",
- "shifts": [
- {
- "key": "shift01",
- "availability_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "working_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "start_location_key": "start_location01",
- "finish_location_key": "finish_location01",
- "max_locations": 15,
- "max_stops": 15,
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": "PT24H",
- "cost_per_unit": 0.001
}
], - "max_penalty_cost": 2000
}, - "work_and_rest_rules": {
- "first_break": {
- "max_work_duration_sum": "P1Y1M1DT2H12M34.3S",
- "duration": "P1Y1M1DT2H12M34.3S"
}
}, - "attributes": [ ]
}
], - "own_transport_type": "CAR",
- "compatibilities": {
- "performer_features": [ ],
- "performer_features_lifetimes": [ ],
- "transport_restrictions": [ ]
}, - "limits": {
- "max_work_shifts": 3
}, - "attributes": [ ]
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
{- "performer": {
- "key": "performer0001",
- "shifts": [
- {
- "key": "shift01",
- "availability_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "working_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "start_location_key": "start_location01",
- "finish_location_key": "finish_location01",
- "max_locations": 15,
- "max_stops": 15,
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": "PT24H",
- "cost_per_unit": 0.001
}
], - "max_penalty_cost": 2000
}, - "work_and_rest_rules": {
- "first_break": {
- "max_work_duration_sum": "P1Y1M1DT2H12M34.3S",
- "duration": "P1Y1M1DT2H12M34.3S"
}
}, - "attributes": [ ]
}
], - "own_transport_type": "CAR",
- "compatibilities": {
- "performer_features": [ ],
- "performer_features_lifetimes": [ ],
- "transport_restrictions": [ ]
}, - "limits": {
- "max_work_shifts": 3
}, - "attributes": [ ]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "PERFORMER",
- "enabled": false,
- "pristine": false,
- "working_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "availability_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "trip_key": "key01",
- "trip_name": "1-ABC",
- "location_keys": [
- "key01"
], - "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-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "working_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "start_location_key": "start_location01",
- "finish_location_key": "finish_location01",
- "max_locations": 15,
- "max_stops": 15,
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": "PT24H",
- "cost_per_unit": 0.001
}
], - "max_penalty_cost": 2000
}, - "work_and_rest_rules": {
- "first_break": {
- "max_work_duration_sum": "P1Y1M1DT2H12M34.3S",
- "duration": "P1Y1M1DT2H12M34.3S"
}
}, - "attributes": [ ]
}
], - "own_transport_type": "CAR",
- "compatibilities": {
- "performer_features": [ ],
- "performer_features_lifetimes": [ ],
- "transport_restrictions": [ ]
}, - "limits": {
- "max_work_shifts": 3
}, - "attributes": [ ]
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
{- "performer": {
- "key": "performer0001",
- "shifts": [
- {
- "key": "shift01",
- "availability_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "working_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "start_location_key": "start_location01",
- "finish_location_key": "finish_location01",
- "max_locations": 15,
- "max_stops": 15,
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": "PT24H",
- "cost_per_unit": 0.001
}
], - "max_penalty_cost": 2000
}, - "work_and_rest_rules": {
- "first_break": {
- "max_work_duration_sum": "P1Y1M1DT2H12M34.3S",
- "duration": "P1Y1M1DT2H12M34.3S"
}
}, - "attributes": [ ]
}
], - "own_transport_type": "CAR",
- "compatibilities": {
- "performer_features": [ ],
- "performer_features_lifetimes": [ ],
- "transport_restrictions": [ ]
}, - "limits": {
- "max_work_shifts": 3
}, - "attributes": [ ]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "PERFORMER",
- "enabled": false,
- "pristine": false,
- "working_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "availability_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "trip_key": "key01",
- "trip_name": "1-ABC",
- "location_keys": [
- "key01"
], - "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-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "working_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "start_location_key": "start_location01",
- "finish_location_key": "finish_location01",
- "max_locations": 15,
- "max_stops": 15,
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": "PT24H",
- "cost_per_unit": 0.001
}
], - "max_penalty_cost": 2000
}, - "work_and_rest_rules": {
- "first_break": {
- "max_work_duration_sum": "P1Y1M1DT2H12M34.3S",
- "duration": "P1Y1M1DT2H12M34.3S"
}
}, - "attributes": [ ]
}
], - "own_transport_type": "CAR",
- "compatibilities": {
- "performer_features": [ ],
- "performer_features_lifetimes": [ ],
- "transport_restrictions": [ ]
}, - "limits": {
- "max_work_shifts": 3
}, - "attributes": [ ]
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "PERFORMER",
- "enabled": false,
- "pristine": false,
- "working_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "availability_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "trip_key": "key01",
- "trip_name": "1-ABC",
- "location_keys": [
- "key01"
], - "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": {
- "code": "215b87e0-4407-4e0f-b2cc-8540f8f0cad7",
- "client": "veeroute_|_example",
- "server": "edge",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-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_stats) Статистика по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "datetime_range": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "int_range": {
- "from": 1,
- "to": 100
}, - "float_range": {
- "from": 1,
- "to": 100
}, - "bool_list": {
- "elements": [
- false
]
}, - "string_list": {
- "elements": [
- "key01"
], - "strict": false
}, - "enum_list": {
- "elements": [
- "key01"
]
}, - "string_search": {
- "text": "key01",
- "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
}
], - "statistics": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Включение исполнителей в расчет.
experiment_key required | string<uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на включение исполнителей.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "code": "215b87e0-4407-4e0f-b2cc-8540f8f0cad7",
- "client": "veeroute_|_example",
- "server": "edge",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-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": {
- "code": "215b87e0-4407-4e0f-b2cc-8540f8f0cad7",
- "client": "veeroute_|_example",
- "server": "edge",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-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" … 8 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_stats) Статистика по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "datetime_range": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "int_range": {
- "from": 1,
- "to": 100
}, - "float_range": {
- "from": 1,
- "to": 100
}, - "bool_list": {
- "elements": [
- false
]
}, - "string_list": {
- "elements": [
- "key01"
], - "strict": false
}, - "enum_list": {
- "elements": [
- "key01"
]
}, - "string_search": {
- "text": "key01",
- "strict": false
}
}
]
}
{- "essences": [
- {
- "fields": {
- "essence_key": "key01",
- "essence_type": "TRANSPORT",
- "enabled": false,
- "pristine": false,
- "working_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "availability_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "transport_type": "CAR",
- "trip_key": "key01",
- "trip_name": "1-ABC",
- "location_keys": [
- "key01"
], - "trips_count": 1,
- "attributes": "key1:value1, key2:value2"
}, - "elements": [
- {
- "essence_key": "key01",
- "essence_type": "TRANSPORT",
- "enabled": false,
- "pristine": false,
- "working_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "availability_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "transport_type": "CAR",
- "trip_key": "key01",
- "trip_name": "1-ABC",
- "location_keys": [
- "key01"
], - "trips_count": 1,
- "attributes": "key1:value1, key2:value2"
}
]
}
], - "statistics": {
- "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 Список связанных сущностей. |
{- "transport": {
- "key": "transport001",
- "shifts": [
- {
- "key": "shift01",
- "availability_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "working_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "start_location_key": "start_location01",
- "finish_location_key": "finish_location01",
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": 100000000,
- "cost_per_unit": 0.001
}
], - "transportation_cost": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_penalty_cost": 2000
}, - "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-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "working_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "start_location_key": "start_location01",
- "finish_location_key": "finish_location01",
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": 100000000,
- "cost_per_unit": 0.001
}
], - "transportation_cost": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_penalty_cost": 2000
}, - "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,
- "working_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "availability_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "transport_type": "CAR",
- "trip_key": "key01",
- "trip_name": "1-ABC",
- "location_keys": [
- "key01"
], - "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-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "working_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "start_location_key": "start_location01",
- "finish_location_key": "finish_location01",
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": 100000000,
- "cost_per_unit": 0.001
}
], - "transportation_cost": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_penalty_cost": 2000
}, - "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-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "working_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "start_location_key": "start_location01",
- "finish_location_key": "finish_location01",
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": 100000000,
- "cost_per_unit": 0.001
}
], - "transportation_cost": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_penalty_cost": 2000
}, - "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,
- "working_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "availability_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "transport_type": "CAR",
- "trip_key": "key01",
- "trip_name": "1-ABC",
- "location_keys": [
- "key01"
], - "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-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "working_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "start_location_key": "start_location01",
- "finish_location_key": "finish_location01",
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": 100000000,
- "cost_per_unit": 0.001
}
], - "transportation_cost": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_penalty_cost": 2000
}, - "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,
- "working_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "availability_time": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "transport_type": "CAR",
- "trip_key": "key01",
- "trip_name": "1-ABC",
- "location_keys": [
- "key01"
], - "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": {
- "code": "215b87e0-4407-4e0f-b2cc-8540f8f0cad7",
- "client": "veeroute_|_example",
- "server": "edge",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-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_stats) Статистика по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "datetime_range": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "int_range": {
- "from": 1,
- "to": 100
}, - "float_range": {
- "from": 1,
- "to": 100
}, - "bool_list": {
- "elements": [
- false
]
}, - "string_list": {
- "elements": [
- "key01"
], - "strict": false
}, - "enum_list": {
- "elements": [
- "key01"
]
}, - "string_search": {
- "text": "key01",
- "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
}
], - "statistics": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Включение транспорта в расчет.
experiment_key required | string<uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на включение транспорта.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "code": "215b87e0-4407-4e0f-b2cc-8540f8f0cad7",
- "client": "veeroute_|_example",
- "server": "edge",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-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": {
- "code": "215b87e0-4407-4e0f-b2cc-8540f8f0cad7",
- "client": "veeroute_|_example",
- "server": "edge",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-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_stats) Статистика по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "datetime_range": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "int_range": {
- "from": 1,
- "to": 100
}, - "float_range": {
- "from": 1,
- "to": 100
}, - "bool_list": {
- "elements": [
- false
]
}, - "string_list": {
- "elements": [
- "key01"
], - "strict": false
}, - "enum_list": {
- "elements": [
- "key01"
]
}, - "string_search": {
- "text": "key01",
- "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"
}
]
}
], - "statistics": {
- "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 Список связанных сущностей. |
{- "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": {
- "code": "215b87e0-4407-4e0f-b2cc-8540f8f0cad7",
- "client": "veeroute_|_example",
- "server": "edge",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-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": {
- "code": "215b87e0-4407-4e0f-b2cc-8540f8f0cad7",
- "client": "veeroute_|_example",
- "server": "edge",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-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": {
- "code": "215b87e0-4407-4e0f-b2cc-8540f8f0cad7",
- "client": "veeroute_|_example",
- "server": "edge",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-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" … 28 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_stats) Статистика по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "datetime_range": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "int_range": {
- "from": 1,
- "to": 100
}, - "float_range": {
- "from": 1,
- "to": 100
}, - "bool_list": {
- "elements": [
- false
]
}, - "string_list": {
- "elements": [
- "key01"
], - "strict": false
}, - "enum_list": {
- "elements": [
- "key01"
]
}, - "string_search": {
- "text": "key01",
- "strict": false
}, - "duration_range": {
- "from": "P1Y1M1DT2H12M34.3S",
- "to": "P1Y1M1DT2H12M34.3S"
}
}
]
}
{- "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,
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-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,
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-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
}
]
}
], - "statistics": {
- "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 Список связанных сущностей. |
{- "trip": {
- "key": "631988f0-9e27-11ed-a8fc-0242ac120002",
- "name": "1-ABC",
- "performer": {
- "performer_key": "performer0001",
- "shift_key": "performer0001_shift01",
- "shift_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "transport": {
- "transport_key": "transport001",
- "shift_key": "performer01",
- "shift_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "states": [
- {
- "time": "2024-02-21T09:30:00+03:00",
- "order_key": "order01",
- "demand_key": "demand01.1",
- "event_key": "event01",
- "location_key": "location01",
- "flags": [ ],
- "cargo_placements": [ ],
- "attributes": [ ]
}
], - "waitlist": [
- "order02"
], - "attributes": [ ]
}, - "trip_statistics": {
- "trip_key": "trip01",
- "statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "cargo_capacity_ratio": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_transport_load": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "quality": {
- "soft_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}, - "hard_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}
}
}, - "stop_statistics": [
- {
- "location_key": "location01",
- "demand_ids": [
- "demand01"
], - "stop_time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "upload": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "download": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "arrival_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "departure_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}
}
], - "total_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_transfer_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
{- "trip": {
- "key": "631988f0-9e27-11ed-a8fc-0242ac120002",
- "name": "1-ABC",
- "performer": {
- "performer_key": "performer0001",
- "shift_key": "performer0001_shift01",
- "shift_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "transport": {
- "transport_key": "transport001",
- "shift_key": "performer01",
- "shift_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "states": [
- {
- "time": "2024-02-21T09:30:00+03:00",
- "order_key": "order01",
- "demand_key": "demand01.1",
- "event_key": "event01",
- "location_key": "location01",
- "flags": [ ],
- "cargo_placements": [ ],
- "attributes": [ ]
}
], - "waitlist": [
- "order02"
], - "attributes": [ ]
}, - "trip_statistics": {
- "trip_key": "trip01",
- "statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "cargo_capacity_ratio": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_transport_load": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "quality": {
- "soft_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}, - "hard_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}
}
}, - "stop_statistics": [
- {
- "location_key": "location01",
- "demand_ids": [
- "demand01"
], - "stop_time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "upload": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "download": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "arrival_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "departure_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}
}
], - "total_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_transfer_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}
}, - "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,
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-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": "631988f0-9e27-11ed-a8fc-0242ac120002",
- "name": "1-ABC",
- "performer": {
- "performer_key": "performer0001",
- "shift_key": "performer0001_shift01",
- "shift_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "transport": {
- "transport_key": "transport001",
- "shift_key": "performer01",
- "shift_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "states": [
- {
- "time": "2024-02-21T09:30:00+03:00",
- "order_key": "order01",
- "demand_key": "demand01.1",
- "event_key": "event01",
- "location_key": "location01",
- "flags": [ ],
- "cargo_placements": [ ],
- "attributes": [ ]
}
], - "waitlist": [
- "order02"
], - "attributes": [ ]
}, - "trip_statistics": {
- "trip_key": "trip01",
- "statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "cargo_capacity_ratio": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_transport_load": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "quality": {
- "soft_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}, - "hard_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}
}
}, - "stop_statistics": [
- {
- "location_key": "location01",
- "demand_ids": [
- "demand01"
], - "stop_time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "upload": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "download": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "arrival_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "departure_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}
}
], - "total_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_transfer_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
{- "trip": {
- "key": "631988f0-9e27-11ed-a8fc-0242ac120002",
- "name": "1-ABC",
- "performer": {
- "performer_key": "performer0001",
- "shift_key": "performer0001_shift01",
- "shift_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "transport": {
- "transport_key": "transport001",
- "shift_key": "performer01",
- "shift_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "states": [
- {
- "time": "2024-02-21T09:30:00+03:00",
- "order_key": "order01",
- "demand_key": "demand01.1",
- "event_key": "event01",
- "location_key": "location01",
- "flags": [ ],
- "cargo_placements": [ ],
- "attributes": [ ]
}
], - "waitlist": [
- "order02"
], - "attributes": [ ]
}, - "trip_statistics": {
- "trip_key": "trip01",
- "statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "cargo_capacity_ratio": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_transport_load": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "quality": {
- "soft_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}, - "hard_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}
}
}, - "stop_statistics": [
- {
- "location_key": "location01",
- "demand_ids": [
- "demand01"
], - "stop_time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "upload": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "download": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "arrival_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "departure_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}
}
], - "total_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_transfer_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}
}, - "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,
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-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": "631988f0-9e27-11ed-a8fc-0242ac120002",
- "name": "1-ABC",
- "performer": {
- "performer_key": "performer0001",
- "shift_key": "performer0001_shift01",
- "shift_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "transport": {
- "transport_key": "transport001",
- "shift_key": "performer01",
- "shift_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "states": [
- {
- "time": "2024-02-21T09:30:00+03:00",
- "order_key": "order01",
- "demand_key": "demand01.1",
- "event_key": "event01",
- "location_key": "location01",
- "flags": [ ],
- "cargo_placements": [ ],
- "attributes": [ ]
}
], - "waitlist": [
- "order02"
], - "attributes": [ ]
}, - "trip_statistics": {
- "trip_key": "trip01",
- "statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "cargo_capacity_ratio": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_transport_load": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "quality": {
- "soft_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}, - "hard_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}
}
}, - "stop_statistics": [
- {
- "location_key": "location01",
- "demand_ids": [
- "demand01"
], - "stop_time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "upload": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "download": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "arrival_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "departure_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}
}
], - "total_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_transfer_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}
}, - "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,
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-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": {
- "code": "215b87e0-4407-4e0f-b2cc-8540f8f0cad7",
- "client": "veeroute_|_example",
- "server": "edge",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-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" 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_stats) Статистика по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "datetime_range": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "int_range": {
- "from": 1,
- "to": 100
}, - "float_range": {
- "from": 1,
- "to": 100
}, - "bool_list": {
- "elements": [
- false
]
}, - "string_list": {
- "elements": [
- "key01"
], - "strict": false
}, - "enum_list": {
- "elements": [
- "key01"
]
}, - "string_search": {
- "text": "key01",
- "strict": false
}, - "duration_range": {
- "from": "P1Y1M1DT2H12M34.3S",
- "to": "P1Y1M1DT2H12M34.3S"
}
}
]
}
{- "tracks": [
- {
- "geopoints": [
- {
- "latitude": 55.692789,
- "longitude": 37.554554
}
], - "trip_key": "location01",
- "trip_name": "1-ABC",
- "performer_key": "performer_01",
- "performer_shift_key": "performer_shift_01",
- "transport_key": "transport_01",
- "transport_shift_key": "transport_shift_01"
}
], - "statistics": {
- "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" … 28 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_stats) Статистика по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "datetime_range": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "int_range": {
- "from": 1,
- "to": 100
}, - "float_range": {
- "from": 1,
- "to": 100
}, - "bool_list": {
- "elements": [
- false
]
}, - "string_list": {
- "elements": [
- "key01"
], - "strict": false
}, - "enum_list": {
- "elements": [
- "key01"
]
}, - "string_search": {
- "text": "key01",
- "strict": false
}, - "duration_range": {
- "from": "P1Y1M1DT2H12M34.3S",
- "to": "P1Y1M1DT2H12M34.3S"
}
}
]
}
{- "charts": [
- {
- "trip": {
- "key": "631988f0-9e27-11ed-a8fc-0242ac120002",
- "name": "1-ABC",
- "performer": {
- "performer_key": "performer0001",
- "shift_key": "performer0001_shift01",
- "shift_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "transport": {
- "transport_key": "transport001",
- "shift_key": "performer01",
- "shift_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "states": [
- {
- "time": "2024-02-21T09:30:00+03:00",
- "order_key": "order01",
- "demand_key": "demand01.1",
- "event_key": "event01",
- "location_key": "location01",
- "flags": [ ],
- "cargo_placements": [ ],
- "attributes": [ ]
}
], - "waitlist": [
- "order02"
], - "attributes": [ ]
}, - "chart_demands": [
- {
- "demand_key": "demand_1",
- "demand_type": "WORK"
}
]
}
], - "statistics": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}