Программный интерфейс для инструмента Veeroute Studio.
Создание новой папки.
Запрос на создание папки.
parent_key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ папки, в которой будет создана новая папка. |
name required | string [ 1 .. 100 ] characters Example: "folder_1_new" Название новой папки. |
comment | string or null [ 0 .. 10000 ] characters Default: null Example: "long long long long text" Комментарий к папке. |
Ключ созданной папки.
{- "parent_key": "11111111-2222-3333-4444-555555555555",
- "name": "folder_1_new",
- "comment": "long long long long text"
}
"11111111-2222-3333-4444-555555555555"
Получение структуры папок.
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
type required | string (folder_type) Enum: "ROOT" "FOLDER" Example: "FOLDER" Тип элемента:
|
name required | string [ 1 .. 100 ] characters Example: "folder_1" Название папки. |
comment | string or null [ 0 .. 10000 ] characters Default: null Example: "long long long long text" Комментарий к папке. |
required | object (folder_counters) Статистика по текущей папке. |
elements | Array of objects (filesystem) [ 0 .. 101 ] items Список дочерних элементов. |
{- "key": "5fffc47c-8239-42c4-8a3f-95d0ed235173",
- "type": "ROOT",
- "name": "ROOT",
- "counters": {
- "folders_count": 1,
- "experiments_count": 3
}, - "elements": [
- {
- "key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091",
- "type": "FOLDER",
- "name": "MyFolder",
- "counters": {
- "folders_count": 0,
- "experiments_count": 3
}, - "elements": [ ]
}
]
}
Получение списка экспериментов.
folder_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ папки, уникальный идентификатор. |
filter | string [ 1 .. 64 ] characters Example: filter=example text Фильтр для поиска по текстовым полям - возвращаются только те эксперименты, у которых в названии или описании содержится подстрока из фильтра. Если фильтр пустой - возвращаются все эксперименты в папке. Результат сортируется по времени редактирования. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
sort_field | string (table_experiment_column_type) Enum: "EDIT_DATE" "CREATION_DATE" "CALCULATION_STATE" … 2 more Example: sort_field=CREATION_DATE Название колонки в таблице с экспериментами. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
required | Array of objects (experiment) [ 0 .. 101 ] items Список экспериментов. |
required | object (table_list_counters) Счетчики по списку. |
{- "experiments": [
- {
- "key": "65fb88e5-128d-4f3f-9a50-4c2754adcbed",
- "specification": {
- "name": "Exp_1",
- "comment": "long long long long text",
- "folder_key": "65fb88e5-128d-4f3f-9a50-4c2754adcbed"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "optimize_distance",
- "assumptions": {
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "total_statistics_cost",
- "total_statistics_measurements_waiting_time"
], - "total_statistics": {
- "profit": 1,
- "cost": 2256.053,
- "reward": 3000.3,
- "measurements": {
- "driving_time": "PT57M5S",
- "waiting_time": "PT0S",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "working_time": "PT35M",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT1H32M5S",
- "distance": 38666,
- "time_window": {
- "from": "2024-11-08T04:50:28Z",
- "to": "2024-11-08T05:47:33Z"
}
}, - "performers_count": 1,
- "trips_count": 1,
- "orders_count": 3,
- "plan_orders_count": 3,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0.01,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0.006,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "data_statistics": {
- "locations": 1,
- "orders": 1,
- "performers": 1,
- "transports": 1,
- "hardlinks": 1,
- "trips": 1,
- "facts": 1,
- "external_routing": false
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "unplanned_items": {
- "order_keys": [
- "key_01"
], - "order_keys_count": 99,
- "performer_keys": [
- "key_01"
], - "performer_keys_count": 99,
- "transport_keys": [
- "key_01"
], - "transport_keys_count": 99,
- "hardlink_keys": [
- "key_01"
], - "hardlink_keys_count": 99
}
}, - "progress": 52,
- "calculation": {
- "calculation_progress": 52,
- "calculation_info": {
- "status": "FINISHED_IN_TIME",
- "result_version": 133,
- "preparing_time": "PT2H",
- "business_validation_time": "PT2H",
- "math_validation_time": "PT2H",
- "waiting_time": "PT2H",
- "calculation_time": "PT2H"
}, - "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "STUDIO",
- "operation": "run_plan_calculation",
- "time": "2024-11-21T09:30:00+03:00"
}
}, - "check": {
- "logical_errors": [ ],
- "warnings": [ ]
}, - "pristine": false,
- "sharing": true,
- "edit_date": "2024-11-21T19:45:00Z",
- "creation_date": "2024-11-21T19:45:00Z"
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Переименование и перемещение папки.
folder_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ папки, уникальный идентификатор. |
Запрос на обновление папки.
parent_key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ папки, в которой будет создана новая папка. |
name required | string [ 1 .. 100 ] characters Example: "folder_1_new" Название новой папки. |
comment | string or null [ 0 .. 10000 ] characters Default: null Example: "long long long long text" Комментарий к папке. |
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
type required | string (folder_type) Enum: "ROOT" "FOLDER" Example: "FOLDER" Тип элемента:
|
name required | string [ 1 .. 100 ] characters Example: "folder_1" Название папки. |
comment | string or null [ 0 .. 10000 ] characters Default: null Example: "long long long long text" Комментарий к папке. |
required | object (folder_counters) Статистика по текущей папке. |
elements | Array of objects (filesystem) [ 0 .. 101 ] items Список дочерних элементов. |
{- "parent_key": "11111111-2222-3333-4444-555555555555",
- "name": "folder_1_new",
- "comment": "long long long long text"
}
{- "key": "5fffc47c-8239-42c4-8a3f-95d0ed235173",
- "type": "ROOT",
- "name": "ROOT",
- "counters": {
- "folders_count": 1,
- "experiments_count": 3
}, - "elements": [
- {
- "key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091",
- "type": "FOLDER",
- "name": "MyFolder",
- "counters": {
- "folders_count": 0,
- "experiments_count": 3
}, - "elements": [ ]
}
]
}
Удаление папки по ключу.
folder_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ папки, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение информации о папке.
folder_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ папки, уникальный идентификатор. |
parent_key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ папки, в которой будет создана новая папка. |
name required | string [ 1 .. 100 ] characters Example: "folder_1_new" Название новой папки. |
comment | string or null [ 0 .. 10000 ] characters Default: null Example: "long long long long text" Комментарий к папке. |
{- "parent_key": "11111111-2222-3333-4444-555555555555",
- "name": "folder_1_new",
- "comment": "long long long long text"
}
Поиск экспериментов по всем вложенным папкам.
filter required | string [ 3 .. 128 ] characters Example: filter=example text Фильтр для поиска по текстовым полям - возвращаются только те эксперименты, у которых в названии или описании содержится подстрока из фильтра. Если фильтр пустой - возвращается пустой список. По умолчанию результат сортируется по времени редактирования. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
sort_field | string (table_experiment_column_type) Enum: "EDIT_DATE" "CREATION_DATE" "CALCULATION_STATE" … 2 more Example: sort_field=CREATION_DATE Название колонки в таблице с экспериментами. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
required | Array of objects (experiment) [ 0 .. 101 ] items Список экспериментов. |
required | object (table_list_counters) Счетчики по списку. |
{- "experiments": [
- {
- "key": "65fb88e5-128d-4f3f-9a50-4c2754adcbed",
- "specification": {
- "name": "Exp_1",
- "comment": "long long long long text",
- "folder_key": "65fb88e5-128d-4f3f-9a50-4c2754adcbed"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "optimize_distance",
- "assumptions": {
- "disable_compatibility": true,
- "disable_capacity": true,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true
}, - "calculation_settings": {
- "max_calculation_time": "PT4M30S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 3
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "total_statistics_cost",
- "total_statistics_measurements_waiting_time"
], - "total_statistics": {
- "profit": 1,
- "cost": 2256.053,
- "reward": 3000.3,
- "measurements": {
- "driving_time": "PT57M5S",
- "waiting_time": "PT0S",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "working_time": "PT35M",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT1H32M5S",
- "distance": 38666,
- "time_window": {
- "from": "2024-11-08T04:50:28Z",
- "to": "2024-11-08T05:47:33Z"
}
}, - "performers_count": 1,
- "trips_count": 1,
- "orders_count": 3,
- "plan_orders_count": 3,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0.01,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0.006,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "data_statistics": {
- "locations": 1,
- "orders": 1,
- "performers": 1,
- "transports": 1,
- "hardlinks": 1,
- "trips": 1,
- "facts": 1,
- "external_routing": false
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "unplanned_items": {
- "order_keys": [
- "key_01"
], - "order_keys_count": 99,
- "performer_keys": [
- "key_01"
], - "performer_keys_count": 99,
- "transport_keys": [
- "key_01"
], - "transport_keys_count": 99,
- "hardlink_keys": [
- "key_01"
], - "hardlink_keys_count": 99
}
}, - "progress": 52,
- "calculation": {
- "calculation_progress": 52,
- "calculation_info": {
- "status": "FINISHED_IN_TIME",
- "result_version": 133,
- "preparing_time": "PT2H",
- "business_validation_time": "PT2H",
- "math_validation_time": "PT2H",
- "waiting_time": "PT2H",
- "calculation_time": "PT2H"
}, - "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "STUDIO",
- "operation": "run_plan_calculation",
- "time": "2024-11-21T09:30:00+03:00"
}
}, - "check": {
- "logical_errors": [ ],
- "warnings": [ ]
}, - "pristine": false,
- "sharing": true,
- "edit_date": "2024-11-21T19:45:00Z",
- "creation_date": "2024-11-21T19:45:00Z"
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Массовое удаление папок.
Список ключей папок, которые необходимо удалить.
Ключ, уникальный идентификатор.
[- "11111111-2222-3333-4444-555555555555"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Массовое удаление экспериментов.
Список ключей экспериментов, которые необходимо удалить.
Ключ, уникальный идентификатор.
[- "11111111-2222-3333-4444-555555555555"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Создание нового эксперимента.
Запрос на создание эксперимента.
name required | string [ 1 .. 100 ] characters Example: "Exp_1" Название эксперимента. |
comment required | string or null [ 0 .. 10000 ] characters Default: null Example: "long long long long text" Комментарий к эксперименту. |
folder_key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ папки типа |
Ключ созданного эксперимента.
{- "name": "Exp_1",
- "comment": "long long long long text",
- "folder_key": "11111111-2222-3333-4444-555555555555"
}
"11111111-2222-3333-4444-555555555555"
Получение информации об эксперименте по его ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Переименование \ перемещение эксперимента.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на обновление описания эксперимента.
name required | string [ 1 .. 100 ] characters Example: "Exp_1" Название эксперимента. |
comment required | string or null [ 0 .. 10000 ] characters Default: null Example: "long long long long text" Комментарий к эксперименту. |
folder_key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ папки типа |
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
{- "name": "Exp_1",
- "comment": "long long long long text",
- "folder_key": "11111111-2222-3333-4444-555555555555"
}
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Удаление эксперимента по ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Дублирование эксперимента.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на дублирование эксперимента.
name required | string [ 1 .. 100 ] characters Example: "Exp_1" Название эксперимента. |
comment required | string or null [ 0 .. 10000 ] characters Default: null Example: "long long long long text" Комментарий к эксперименту. |
folder_key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ папки типа |
Ключ продублированного эксперимента.
{- "name": "Exp_1",
- "comment": "long long long long text",
- "folder_key": "11111111-2222-3333-4444-555555555555"
}
"11111111-2222-3333-4444-555555555555"
Обновление настроек эксперимента.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на обновление настроек эксперимента.
required | object (plan_settings) Настройки планирования. |
required | object (replan_settings) Настройки перепланирования. |
required | object (actualize_settings) Настройки актуализации. |
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
{- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Обновление индикаторов.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на обновление индикаторов эксперимента.
Ключ индикатора.
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
[- "total_statistics_cost",
- "total_statistics_measurements_waiting_time"
]
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Получение соседних экспериментов.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
sort_field | string (table_experiment_column_type) Enum: "EDIT_DATE" "CREATION_DATE" "CALCULATION_STATE" … 2 more Example: sort_field=CREATION_DATE Название колонки в таблице с экспериментами. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
previous_experiment_key | string or null <uuid> Default: null Example: "11111111-2222-3333-4444-555555555555" Ключ предыдущего эксперимента в той же папке. |
next_experiment_key | string or null <uuid> Default: null Example: "11111111-2222-3333-4444-555555555555" Ключ следующего эксперимента в той же папке. |
{- "previous_experiment_key": "11111111-2222-3333-4444-555555555555",
- "next_experiment_key": "11111111-2222-3333-4444-555555555555"
}
Получение пути эксперимента.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
type required | string (folder_type) Enum: "ROOT" "FOLDER" Example: "FOLDER" Тип элемента:
|
name required | string [ 1 .. 100 ] characters Example: "folder_1" Название папки. |
comment | string or null [ 0 .. 10000 ] characters Default: null Example: "long long long long text" Комментарий к папке. |
required | object (folder_counters) Статистика по текущей папке. |
elements | Array of objects (filesystem) [ 0 .. 101 ] items Список дочерних элементов. |
{- "key": "11111111-2222-3333-4444-555555555555",
- "type": "FOLDER",
- "name": "folder_1",
- "comment": "long long long long text",
- "counters": {
- "folders_count": 12,
- "experiments_count": 16
}, - "elements": [
- { }
]
}
Получение истории расчета эксперимента.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
time required | string <date-time> Example: "2024-11-21T09:30:00+03:00" Дата и время получения статистики в соответствии с ISO 8601. |
required | object (general_statistics) Суммарная статистика по одному или совокупности рейсов. |
[- {
- "time": "2024-11-21T09:30:00+03:00",
- "total_statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "profit": 1231.1,
- "measurements": {
- "time_window": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}, - "driving_time": "PT1H45M",
- "waiting_time": "PT1H45M",
- "working_time": "PT1H45M",
- "break_time": "PT1H45M",
- "rest_time": "PT1H45M",
- "arriving_time": "PT1H45M",
- "departure_time": "PT1H45M",
- "total_time": "PT1H45M",
- "distance": 5200
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "stops_count": 87,
- "locations_count": 45,
- "cargo_capacity_sum": {
- "mass": 105500,
- "volume": 220034,
- "capacity_a": 100000,
- "capacity_b": 200000,
- "capacity_c": 300000
}, - "cargo_capacity_ratio": {
- "mass": 0.5,
- "volume": 0.1,
- "capacity_a": 0.7,
- "capacity_b": 0.8,
- "capacity_c": 0.9
}, - "max_transport_load": {
- "mass": 0.5,
- "volume": 0.1,
- "capacity_a": 0.7,
- "capacity_b": 0.8,
- "capacity_c": 0.9
}, - "average_speed": 43.1,
- "round_trips_count": 2,
- "attributes": [ ]
}
}
]
Запуск расчета эксперимента.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
process_name required | string (basic_process) Default: "PLAN" Enum: "PLAN" "REPLAN" "ACTUALIZE" Example: ACTUALIZE Название процесса обработки данных:
|
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Остановка расчета.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Запуск валидации данных эксперимента.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
process_name required | string (basic_process) Default: "PLAN" Enum: "PLAN" "REPLAN" "ACTUALIZE" Example: ACTUALIZE Название процесса обработки данных:
|
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Запуск очистки данных эксперимента.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
process_name required | string (basic_process) Default: "PLAN" Enum: "PLAN" "REPLAN" "ACTUALIZE" Example: ACTUALIZE Название процесса обработки данных:
|
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Запуск перерасчета треков ROAD
эксперимента.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
tracks_full_segments | boolean Default: false Example: tracks_full_segments=true Возвращать полный или краткий список сегментов пути. |
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Импорт новых данных из файла формата XLSX. Если сущность уже присутствует в эксперименте (определяется по ее ключу) - она обновляется, если нет - создается новая. Временная зона данных берется из файла XLSX.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Данные (XLSX).
Файл с данными в формате XLSX.
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Импорт новых данных из файла формата VRt.Universal JSON. Если сущность уже присутствует в эксперименте (определяется по ее ключу) - она обновляется, если нет - создается новая.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Данные (JSON).
Array of objects (location_list) [ 0 .. 15001 ] items unique Список локаций, которые используются в заказах и сменах. | |
Array of objects (order_list) [ 0 .. 15001 ] items unique Список заказов, которые необходимо выполнить. | |
Array of objects (performer_list) [ 0 .. 15001 ] items unique Список доступных исполнителей. Исполнитель выполняет заказы используя транспорт. | |
Array of objects (transport_list) [ 0 .. 15001 ] items unique Список доступного транспорта. Транспорт используется исполнителем рейса для выполнения заказов. | |
Array of objects (hardlink_list) [ 0 .. 15001 ] items unique Список назначений. | |
Array of objects (trip_list) [ 0 .. 15001 ] items unique Список рейсов. Рейс - это совокупность работ, запланированных на выполнение конкретным исполнителем на конкретном транспорте, выраженных через изменение состояний исполнителя. | |
Array of objects (fact_list) [ 0 .. 15001 ] items unique Список фактов. Факт - это произошедшее событие, которое влияет на дальнейшие выполнение рейсов. | |
object or null (plan_statistics) Общая статистика по результату расчета. | |
Array of objects (routing_transport_matrix_list) [ 0 .. 16 ] items unique Список матриц времен и расстояний для каждого типа транспорта, которые указаны в данных.
Матрица должна описывать все локации для каждого типа транспорта из данных.
При указании внешней матрицы маршрутизации | |
object (plan_settings) Настройки планирования. | |
object (replan_settings) Настройки перепланирования. | |
object (actualize_settings) Настройки актуализации. | |
dataset_name | string (dataset_name) [ 0 .. 512 ] characters Example: "custom_dataset_one" Название набора данных. Техническое поле, не влияющее на расчет. |
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
{- "locations": [
- {
- "key": "location_client_1",
- "geopoint": {
- "latitude": 55.713699,
- "longitude": 37.621839
}
}, - {
- "key": "location_client_2",
- "geopoint": {
- "latitude": 55.630721,
- "longitude": 37.62493
}
}, - {
- "key": "location_client_3",
- "geopoint": {
- "latitude": 55.722801,
- "longitude": 37.674984
}
}, - {
- "key": "location_storage",
- "geopoint": {
- "latitude": 55.685853,
- "longitude": 37.43181
}
}
], - "orders": [
- {
- "key": "order_1",
- "demands": [
- {
- "key": "demand_1_drop",
- "demand_type": "DROP",
- "target_cargos": [
- "order_1_cargos"
], - "possible_events": [
- {
- "key": "demand_1_drop_event",
- "location_key": "location_client_1",
- "duration": "PT10M",
- "hard_time_window": {
- "from": "2024-11-08T05:00:00+00:00",
- "to": "2024-11-08T07:00:00+00:00"
}
}
]
}, - {
- "key": "demand_1_pickup",
- "demand_type": "PICKUP",
- "target_cargos": [
- "order_1_cargos"
], - "possible_events": [
- {
- "key": "demand_1_pickup_event",
- "location_key": "location_storage",
- "duration": "P0D",
- "reward": 0,
- "hard_time_window": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}
}
]
}
], - "cargos": [
- {
- "key": "order_1_cargos",
- "capacity": {
- "mass": 1
}
}
]
}, - {
- "key": "order_2",
- "demands": [
- {
- "key": "demand_2_drop",
- "demand_type": "DROP",
- "target_cargos": [
- "order_2_cargos"
], - "possible_events": [
- {
- "key": "demand_2_drop_event",
- "location_key": "location_client_2",
- "duration": "PT10M",
- "hard_time_window": {
- "from": "2024-11-08T05:00:00+00:00",
- "to": "2024-11-08T07:00:00+00:00"
}
}
]
}, - {
- "key": "demand_2_pickup",
- "demand_type": "PICKUP",
- "target_cargos": [
- "order_2_cargos"
], - "possible_events": [
- {
- "key": "demand_2_pickup_event",
- "location_key": "location_storage",
- "duration": "P0D",
- "reward": 0,
- "hard_time_window": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}
}
]
}
], - "cargos": [
- {
- "key": "order_2_cargos",
- "capacity": {
- "mass": 1
}
}
]
}, - {
- "key": "order_3",
- "demands": [
- {
- "key": "demand_3_work",
- "demand_type": "WORK",
- "possible_events": [
- {
- "key": "demand_3_work_event",
- "location_key": "location_client_3",
- "duration": "PT15M",
- "hard_time_window": {
- "from": "2024-11-08T05:00:00+00:00",
- "to": "2024-11-08T07:00:00+00:00"
}
}
]
}
]
}
], - "performers": [
- {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}, - "tariff": {
- "cost_per_shift": 1000,
- "constraints": [
- {
- "stage_length": "PT10H",
- "cost_per_unit": 1
}
]
}
}
]
}
], - "transports": [
- {
- "key": "transport_1",
- "shifts": [
- {
- "key": "transport_1_shift",
- "availability_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}, - "tariff": {
- "cost_per_shift": 1000,
- "constraints": [
- {
- "stage_length": 1000000,
- "cost_per_unit": 0.01
}
]
}
}
], - "transport_type": "CAR",
- "boxes": [
- {
- "key": "box_1",
- "capacity": {
- "mass": 300
}
}
]
}
], - "trips": [
- {
- "key": "performer_1_shift",
- "performer": {
- "performer_key": "performer_1",
- "shift_key": "performer_1_shift",
- "shift_time": {
- "from": "2024-11-08T04:38:34Z",
- "to": "2024-11-08T05:53:39Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2024-11-08T04:38:34Z",
- "to": "2024-11-08T05:53:39Z"
}
}, - "states": [
- {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "order_key": "order_2",
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "order_key": "order_1",
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}, - {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}, - {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:00:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}, - {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:00:00Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "order_key": "order_2",
- "demand_key": "demand_2_drop",
- "event_key": "demand_2_drop_event",
- "location_key": "location_client_2",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}, - {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:10:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:20:52Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:20:52Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "order_key": "order_1",
- "demand_key": "demand_1_drop",
- "event_key": "demand_1_drop_event",
- "location_key": "location_client_1",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:30:52Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:30:52Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:38:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:38:39Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "order_key": "order_3",
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:53:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}
], - "waitlist": [ ],
- "attributes": [ ]
}
]
}
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Импорт новых данных из файла формата VRt.Universal JSON по ссылке. Если сущность уже присутствует в эксперименте (определяется по ее ключу) - она обновляется, если нет - создается новая.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
url required | string <uri> Example: url=https://docs.edge7.veeroute.cloud/assets/files/case_1.json Url json файла. |
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Импорт новых данных из файла формата VRt.Universal JSON по tracedata.process_code
. Если сущность уже присутствует в эксперименте (определяется по ее ключу) - она обновляется, если нет - создается новая.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
source required | string (import_source) Enum: "ACCOUNT" "ADMIN" Example: ACCOUNT Источник. |
process_code required | string <uuid> (process_code) Example: 11111111-2222-3333-4444-555555555555 Уникальный идентификатор процесса. |
sample required | string (import_sample) Enum: "TASK" "FULL" Example: TASK Выборка загружаемых данных - входная задача или входная задача + результат расчета. |
key required | string <uuid> (unique_key) Example: "11111111-2222-3333-4444-555555555555" Ключ, уникальный идентификатор. |
required | object (experiment_specification) Описание эксперимента. |
required | object (experiment_settings) Настройки эксперимента. |
required | object (experiment_statistics) Статистика эксперимента. |
progress | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Прогресс расчета в процентах, отражает текущее количество завершенных шагов. Прогресс расчета эксперимента отличается от прогресса планирования, так как имеет большее количество шагов. |
object or null (calculation_state) Текущее состояние расчета. | |
object or null (experiment_check) Результат проверки данных по эксперименту. | |
pristine required | boolean (basic_pristine) Example: "false" Флаг, показывающий производились ли изменения сущности относительно исходных данных. |
sharing | boolean (basic_sharing) Example: "true" Флаг совместного использования эксперимента. |
edit_date required | string <date-time> Example: "2024-11-21T19:45:00Z" Дата и время последнего редактирования в соответствии с ISO 8601. |
creation_date required |
{- "key": "da4e62b0-86cb-4423-b187-5c1a633ca703",
- "specification": {
- "name": "new experiment 1000",
- "comment": "",
- "folder_key": "2bff0b86-2ddc-445c-9d98-f75ca2eec091"
}, - "settings": {
- "plan_settings": {
- "trips_settings": {
- "configuration": "default",
- "assumptions": {
- "disable_compatibility": false,
- "disable_capacity": false,
- "same_order_time_window": false,
- "expand_shift_time_window": false
}, - "penalties": {
- "compatibilities": [ ]
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": true,
- "ferry_crossing": true,
- "traffic_jams": true,
- "flight_distance": false
}, - "calculation_settings": {
- "max_calculation_time": "PT20M",
- "max_waiting_time": "PT30M",
- "result_ttl": "PT20M",
- "result_timezone": 0,
- "treat_warnings_as_errors": false,
- "precision": 2
}
}, - "actualize_settings": {
- "current_time": "2024-11-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}, - "replan_settings": {
- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}
}, - "statistics": {
- "indicators": [
- "data_statistics_hardlinks",
- "data_statistics_locations",
- "data_statistics_orders",
- "data_statistics_performers",
- "data_statistics_transports",
- "data_statistics_trips",
- "data_statistics_facts",
- "total_statistics_max_transport_load_capacity_a",
- "total_statistics_max_transport_load_capacity_b",
- "total_statistics_max_transport_load_capacity_c",
- "total_statistics_max_transport_load_mass",
- "total_statistics_max_transport_load_volume",
- "total_statistics_cargo_capacity_ratio_capacity_a",
- "total_statistics_cargo_capacity_ratio_capacity_b",
- "total_statistics_cargo_capacity_ratio_capacity_c",
- "total_statistics_cargo_capacity_ratio_mass",
- "total_statistics_cargo_capacity_ratio_volume",
- "total_statistics_cost",
- "total_statistics_measurements_arriving_time",
- "total_statistics_measurements_departure_time",
- "total_statistics_measurements_distance",
- "total_statistics_measurements_driving_time",
- "total_statistics_measurements_time_window_from",
- "total_statistics_measurements_time_window_to",
- "total_statistics_measurements_total_time",
- "total_statistics_measurements_waiting_time",
- "total_statistics_measurements_working_time",
- "total_statistics_orders_count",
- "total_statistics_performers_count",
- "total_statistics_plan_orders_count",
- "quality_hard_time_window_violations_after_count",
- "quality_hard_time_window_violations_before_count",
- "quality_soft_time_window_violations_after_count",
- "quality_soft_time_window_violations_before_count",
- "total_statistics_reward",
- "total_statistics_waitlist_orders_count"
], - "total_statistics": {
- "profit": 1,
- "cost": 0,
- "reward": 0,
- "measurements": {
- "driving_time": "P0D",
- "waiting_time": "P0D",
- "break_time": "P0D",
- "rest_time": "PT0S",
- "working_time": "P0D",
- "arriving_time": "P0D",
- "departure_time": "P0D",
- "total_time": "P0D",
- "distance": 0,
- "time_window": {
- "from": "2024-11-15T13:56:07.697Z",
- "to": "2024-11-15T13:56:07.697Z"
}
}, - "performers_count": 0,
- "trips_count": 0,
- "orders_count": 0,
- "plan_orders_count": 0,
- "waitlist_orders_count": 0,
- "stops_count": 1,
- "locations_count": 1,
- "average_speed": 45.2,
- "round_trips_count": 1,
- "cargo_capacity_sum": {
- "mass": 1.9,
- "volume": 2,
- "capacity_a": 3,
- "capacity_b": 1,
- "capacity_c": 1
}, - "cargo_capacity_ratio": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "quality": {
- "locations_limits_penalty": 0,
- "soft_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}, - "hard_time_window_violations": {
- "before": {
- "demand_keys": [ ],
- "count": 0
}, - "after": {
- "demand_keys": [ ],
- "count": 0
}
}
}, - "task_statistics": {
- "planning_horizon": {
- "from": "2024-11-21T09:30:00+03:00",
- "to": "2024-11-21T19:45:00Z"
}
}, - "data_statistics": {
- "locations": 958,
- "orders": 1000,
- "performers": 1000,
- "transports": 1000,
- "hardlinks": 0,
- "trips": 0,
- "facts": 1,
- "external_routing": false
}
}, - "pristine": true,
- "edit_date": "2024-11-15T13:56:07.728Z",
- "creation_date": "2024-11-15T13:56:07.728Z",
- "progress": 0,
- "sharing": false
}
Экспортировать (XLSX).
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
timezone | integer <int32> (timezone) [ -12 .. 12 ] Default: 0 Example: timezone=3 Целевая временная зона данных. |
Файл с данными в формате XLSX.
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Экспортировать данные из эксперимента в файл формата VRt.Universal JSON.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Array of objects (location_list) [ 0 .. 15001 ] items unique Список локаций, которые используются в заказах и сменах. | |
Array of objects (order_list) [ 0 .. 15001 ] items unique Список заказов, которые необходимо выполнить. | |
Array of objects (performer_list) [ 0 .. 15001 ] items unique Список доступных исполнителей. Исполнитель выполняет заказы используя транспорт. | |
Array of objects (transport_list) [ 0 .. 15001 ] items unique Список доступного транспорта. Транспорт используется исполнителем рейса для выполнения заказов. | |
Array of objects (hardlink_list) [ 0 .. 15001 ] items unique Список назначений. | |
Array of objects (trip_list) [ 0 .. 15001 ] items unique Список рейсов. Рейс - это совокупность работ, запланированных на выполнение конкретным исполнителем на конкретном транспорте, выраженных через изменение состояний исполнителя. | |
Array of objects (fact_list) [ 0 .. 15001 ] items unique Список фактов. Факт - это произошедшее событие, которое влияет на дальнейшие выполнение рейсов. | |
object or null (plan_statistics) Общая статистика по результату расчета. | |
Array of objects (routing_transport_matrix_list) [ 0 .. 16 ] items unique Список матриц времен и расстояний для каждого типа транспорта, которые указаны в данных.
Матрица должна описывать все локации для каждого типа транспорта из данных.
При указании внешней матрицы маршрутизации | |
object (plan_settings) Настройки планирования. | |
object (replan_settings) Настройки перепланирования. | |
object (actualize_settings) Настройки актуализации. | |
dataset_name | string (dataset_name) [ 0 .. 512 ] characters Example: "custom_dataset_one" Название набора данных. Техническое поле, не влияющее на расчет. |
{- "locations": [
- {
- "key": "location_client_1",
- "geopoint": {
- "latitude": 55.713699,
- "longitude": 37.621839
}
}, - {
- "key": "location_client_2",
- "geopoint": {
- "latitude": 55.630721,
- "longitude": 37.62493
}
}, - {
- "key": "location_client_3",
- "geopoint": {
- "latitude": 55.722801,
- "longitude": 37.674984
}
}, - {
- "key": "location_storage",
- "geopoint": {
- "latitude": 55.685853,
- "longitude": 37.43181
}
}
], - "orders": [
- {
- "key": "order_1",
- "demands": [
- {
- "key": "demand_1_drop",
- "demand_type": "DROP",
- "target_cargos": [
- "order_1_cargos"
], - "possible_events": [
- {
- "key": "demand_1_drop_event",
- "location_key": "location_client_1",
- "duration": "PT10M",
- "hard_time_window": {
- "from": "2024-11-08T05:00:00+00:00",
- "to": "2024-11-08T07:00:00+00:00"
}
}
]
}, - {
- "key": "demand_1_pickup",
- "demand_type": "PICKUP",
- "target_cargos": [
- "order_1_cargos"
], - "possible_events": [
- {
- "key": "demand_1_pickup_event",
- "location_key": "location_storage",
- "duration": "P0D",
- "reward": 0,
- "hard_time_window": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}
}
]
}
], - "cargos": [
- {
- "key": "order_1_cargos",
- "capacity": {
- "mass": 1
}
}
]
}, - {
- "key": "order_2",
- "demands": [
- {
- "key": "demand_2_drop",
- "demand_type": "DROP",
- "target_cargos": [
- "order_2_cargos"
], - "possible_events": [
- {
- "key": "demand_2_drop_event",
- "location_key": "location_client_2",
- "duration": "PT10M",
- "hard_time_window": {
- "from": "2024-11-08T05:00:00+00:00",
- "to": "2024-11-08T07:00:00+00:00"
}
}
]
}, - {
- "key": "demand_2_pickup",
- "demand_type": "PICKUP",
- "target_cargos": [
- "order_2_cargos"
], - "possible_events": [
- {
- "key": "demand_2_pickup_event",
- "location_key": "location_storage",
- "duration": "P0D",
- "reward": 0,
- "hard_time_window": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}
}
]
}
], - "cargos": [
- {
- "key": "order_2_cargos",
- "capacity": {
- "mass": 1
}
}
]
}, - {
- "key": "order_3",
- "demands": [
- {
- "key": "demand_3_work",
- "demand_type": "WORK",
- "possible_events": [
- {
- "key": "demand_3_work_event",
- "location_key": "location_client_3",
- "duration": "PT15M",
- "hard_time_window": {
- "from": "2024-11-08T05:00:00+00:00",
- "to": "2024-11-08T07:00:00+00:00"
}
}
]
}
]
}
], - "performers": [
- {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}, - "tariff": {
- "cost_per_shift": 1000,
- "constraints": [
- {
- "stage_length": "PT10H",
- "cost_per_unit": 1
}
]
}
}
]
}
], - "transports": [
- {
- "key": "transport_1",
- "shifts": [
- {
- "key": "transport_1_shift",
- "availability_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}, - "tariff": {
- "cost_per_shift": 1000,
- "constraints": [
- {
- "stage_length": 1000000,
- "cost_per_unit": 0.01
}
]
}
}
], - "transport_type": "CAR",
- "boxes": [
- {
- "key": "box_1",
- "capacity": {
- "mass": 300
}
}
]
}
], - "trips": [
- {
- "key": "performer_1_shift",
- "performer": {
- "performer_key": "performer_1",
- "shift_key": "performer_1_shift",
- "shift_time": {
- "from": "2024-11-08T04:38:34Z",
- "to": "2024-11-08T05:53:39Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2024-11-08T04:38:34Z",
- "to": "2024-11-08T05:53:39Z"
}
}, - "states": [
- {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "order_key": "order_2",
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "order_key": "order_1",
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}, - {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T04:38:34Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}, - {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:00:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}, - {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:00:00Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "order_key": "order_2",
- "demand_key": "demand_2_drop",
- "event_key": "demand_2_drop_event",
- "location_key": "location_client_2",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}, - {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:10:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:20:52Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:20:52Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "order_key": "order_1",
- "demand_key": "demand_1_drop",
- "event_key": "demand_1_drop_event",
- "location_key": "location_client_1",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2024-11-08T05:30:52Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:30:52Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:38:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:38:39Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "order_key": "order_3",
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:53:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}
], - "waitlist": [ ],
- "attributes": [ ]
}
]
}
Создание локации.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на создание нового локации.
required | object (location) Локация - уникальное географическое местоположение объекта с параметрами доступности. |
object or null (location_statistics) Статистика по загрузке локации. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (location) Локация - уникальное географическое местоположение объекта с параметрами доступности. |
object or null (location_statistics) Статистика по загрузке локации. | |
object (table_location_fields) Табличные поля локации. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "location": {
- "key": "performer_1_location",
- "geopoint": {
- "latitude": 55.720292,
- "longitude": 37.625994
}
}, - "fields": {
- "essence_key": "performer_1_location",
- "enabled": true
}
}
{- "location": {
- "key": "performer_1_location",
- "geopoint": {
- "latitude": 55.720292,
- "longitude": 37.625994
}
}, - "fields": {
- "essence_key": "performer_1_location",
- "enabled": true
}
}
Обновление локации по ее ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на обновление локации.
required | object (location) Локация - уникальное географическое местоположение объекта с параметрами доступности. |
object or null (location_statistics) Статистика по загрузке локации. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (location) Локация - уникальное географическое местоположение объекта с параметрами доступности. |
object or null (location_statistics) Статистика по загрузке локации. | |
object (table_location_fields) Табличные поля локации. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "location": {
- "key": "performer_1_location",
- "geopoint": {
- "latitude": 55.720292,
- "longitude": 37.625994
}
}, - "fields": {
- "essence_key": "performer_1_location",
- "enabled": true
}
}
{- "location": {
- "key": "performer_1_location",
- "geopoint": {
- "latitude": 55.720292,
- "longitude": 37.625994
}
}, - "fields": {
- "essence_key": "performer_1_location",
- "enabled": true
}
}
Получение информации о локации по ее ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
required | object (location) Локация - уникальное географическое местоположение объекта с параметрами доступности. |
object or null (location_statistics) Статистика по загрузке локации. | |
object (table_location_fields) Табличные поля локации. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "location": {
- "key": "performer_1_location",
- "geopoint": {
- "latitude": 55.720292,
- "longitude": 37.625994
}
}, - "fields": {
- "essence_key": "performer_1_location",
- "enabled": true
}
}
Удаление локации по ее ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение списка локаций.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
sort_field | string (table_location_column_type) Enum: "ESSENCE_KEY" "ENABLED" "PRISTINE" … 4 more Example: sort_field=ESSENCE_KEY Название колонки в таблице с локациями. |
sort_customfield | string or null (table_customfields_column_type) Default: null Enum: "DATETIME_1" "DATETIME_2" "INT_1" … 9 more Example: sort_customfield=NONE Название дополнительной колонки в таблице. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
Фильтр локаций.
Array of objects (table_location_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (table_location) [ 0 .. 15001 ] items Список. |
required | object (table_list_counters) Счетчики по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "essences": [ ],
- "counters": {
- "overall": {
- "total": 0
}, - "filter": {
- "total": 0
}
}
}
Получение списка геоточек.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
Фильтр локаций.
Array of objects (table_location_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (web_location_geopoint) [ 0 .. 60002 ] items Список точек. |
required | object (table_list_counters) Счетчики по списку сущностей. |
required | object (table_list_counters_detail) Счетчики по списку точек. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "geopoints": [
- {
- "geopoint": {
- "latitude": 55.692789,
- "longitude": 37.554554
}, - "location_key": "location_01",
- "linked": true
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}, - "geopoints_counters": {
- "total": 1
}
}
Создание исполнителя.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на создание нового исполнителя.
required | object (performer) Исполнитель. Выполняет заказы, используя транспорт. |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (performer) Исполнитель. Выполняет заказы, используя транспорт. |
object (table_performer_fields) Табличные поля исполнителя и его смены. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "performer": {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}
}
]
}, - "fields": {
- "essence_key": "performer_1",
- "enabled": true
}
}
{- "performer": {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}
}
]
}, - "fields": {
- "essence_key": "performer_1",
- "enabled": true
}
}
Обновление исполнителя по его ключу.
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": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}
}
]
}, - "fields": {
- "essence_key": "performer_1",
- "enabled": true
}
}
{- "performer": {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}
}
]
}, - "fields": {
- "essence_key": "performer_1",
- "enabled": true
}
}
Получение информации об исполнителе по его ключу.
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": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}
}
]
}, - "fields": {
- "essence_key": "performer_1",
- "enabled": true
}
}
Удаление исполнителя по его ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение списка исполнителей.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
sort_field | string (table_performer_column_type) Enum: "ESSENCE_KEY" "ENABLED" "PRISTINE" … 11 more Example: sort_field=ESSENCE_KEY Название колонки в таблице с исполнителями. |
sort_customfield | string or null (table_customfields_column_type) Default: null Enum: "DATETIME_1" "DATETIME_2" "INT_1" … 9 more Example: sort_customfield=NONE Название дополнительной колонки в таблице. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
Фильтр исполнителей.
Array of objects (table_performer_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (table_performer) [ 0 .. 15001 ] items Список. |
required | object (table_list_counters) Счетчики по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "essences": [ ],
- "counters": {
- "overall": {
- "total": 0
}, - "filter": {
- "total": 0
}
}
}
Включение исполнителей в расчет.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на включение исполнителей.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Выключение исполнителей из расчета.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на выключение исполнителей.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение списка геоточек.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
Фильтр исполнителей.
Array of objects (table_performer_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (web_performer_geopoint) [ 0 .. 60002 ] items Список точек. |
required | object (table_list_counters) Счетчики по списку сущностей. |
required | object (table_list_counters_detail) Счетчики по списку точек. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "geopoints": [
- {
- "geopoint": {
- "latitude": 55.692789,
- "longitude": 37.554554
}, - "performer_key": "performer_01",
- "shift_key": "shift01",
- "point_type": "START",
- "trip_key": "key01",
- "trip_name": "X1-ABC",
- "stop_number": 10
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}, - "geopoints_counters": {
- "total": 1
}
}
Создание транспорта.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на создание нового транспорта.
required | object (transport) Транспорт. Исполнитель использует транспорт для перемещения и перевозки грузов. |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (transport) Транспорт. Исполнитель использует транспорт для перемещения и перевозки грузов. |
object (table_transport_fields) Табличные поля транспорта и его смены. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "transport": {
- "key": "transport_1",
- "shifts": [
- {
- "key": "transport_1_shift",
- "availability_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}
}
], - "transport_type": "CAR",
- "boxes": [
- {
- "key": "box_1",
- "capacity": {
- "mass": 300
}
}
]
}, - "fields": {
- "essence_key": "transport_1",
- "enabled": true
}
}
{- "transport": {
- "key": "transport_1",
- "shifts": [
- {
- "key": "transport_1_shift",
- "availability_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}
}
], - "transport_type": "CAR",
- "boxes": [
- {
- "key": "box_1",
- "capacity": {
- "mass": 300
}
}
]
}, - "fields": {
- "essence_key": "transport_1",
- "enabled": true
}
}
Обновление транспорта по ее ключу.
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": "transport_1",
- "shifts": [
- {
- "key": "transport_1_shift",
- "availability_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}
}
], - "transport_type": "CAR",
- "boxes": [
- {
- "key": "box_1",
- "capacity": {
- "mass": 300
}
}
]
}, - "fields": {
- "essence_key": "transport_1",
- "enabled": true
}
}
{- "transport": {
- "key": "transport_1",
- "shifts": [
- {
- "key": "transport_1_shift",
- "availability_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}
}
], - "transport_type": "CAR",
- "boxes": [
- {
- "key": "box_1",
- "capacity": {
- "mass": 300
}
}
]
}, - "fields": {
- "essence_key": "transport_1",
- "enabled": true
}
}
Получение информации о транспорте по его ключу.
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": "transport_1",
- "shifts": [
- {
- "key": "transport_1_shift",
- "availability_time": {
- "from": "2024-11-07T21:00:00+00:00",
- "to": "2024-11-08T20:59:59+00:00"
}
}
], - "transport_type": "CAR",
- "boxes": [
- {
- "key": "box_1",
- "capacity": {
- "mass": 300
}
}
]
}, - "fields": {
- "essence_key": "transport_1",
- "enabled": true
}
}
Удаление транспорта по ее ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение списка транспорта.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
sort_field | string (table_transport_column_type) Enum: "ESSENCE_KEY" "ENABLED" "PRISTINE" … 11 more Example: sort_field=ESSENCE_KEY Название колонки в таблице с транспортом. |
sort_customfield | string or null (table_customfields_column_type) Default: null Enum: "DATETIME_1" "DATETIME_2" "INT_1" … 9 more Example: sort_customfield=NONE Название дополнительной колонки в таблице. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
Фильтр транспорта.
Array of objects (table_transport_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (table_transport) [ 0 .. 15001 ] items Список. |
required | object (table_list_counters) Счетчики по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "essences": [ ],
- "counters": {
- "overall": {
- "total": 0
}, - "filter": {
- "total": 0
}
}
}
Включение транспорта в расчет.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на включение транспорта.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Выключение транспорта из расчета.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на выключение транспорта.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение списка геоточек.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
Фильтр транспорта.
Array of objects (table_transport_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (web_transport_geopoint) [ 0 .. 60002 ] items Список точек. |
required | object (table_list_counters) Счетчики по списку сущностей. |
required | object (table_list_counters_detail) Счетчики по списку точек. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "geopoints": [
- {
- "geopoint": {
- "latitude": 55.692789,
- "longitude": 37.554554
}, - "transport_key": "transport_01",
- "shift_key": "shift01",
- "point_type": "START",
- "trip_key": "key01",
- "trip_name": "X1-ABC",
- "stop_number": 10
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}, - "geopoints_counters": {
- "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 Список связанных сущностей. |
required | object (order) Заказ на перемещение груза, содержит список заявок. |
object (table_order_fields) Табличные поля заказа и заявок. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "order": {
- "key": "order_1",
- "demands": [
- {
- "key": "demand_work",
- "demand_type": "WORK",
- "possible_events": [
- {
- "key": "demand_work_event",
- "location_key": "location_client",
- "duration": "PT15M",
- "hard_time_window": {
- "from": "2024-11-08T05:00:00+00:00",
- "to": "2024-11-08T07:00:00+00:00"
}
}
]
}
]
}, - "fields": {
- "essence_key": "order_1",
- "enabled": true
}
}
{- "order": {
- "key": "order_1",
- "demands": [
- {
- "key": "demand_work",
- "demand_type": "WORK",
- "possible_events": [
- {
- "key": "demand_work_event",
- "location_key": "location_client",
- "duration": "PT15M",
- "hard_time_window": {
- "from": "2024-11-08T05:00:00+00:00",
- "to": "2024-11-08T07:00:00+00:00"
}
}
]
}
]
}, - "fields": {
- "essence_key": "order_1",
- "enabled": true
}
}
Обновление сущности по ее ключу.
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": "order_1",
- "demands": [
- {
- "key": "demand_work",
- "demand_type": "WORK",
- "possible_events": [
- {
- "key": "demand_work_event",
- "location_key": "location_client",
- "duration": "PT15M",
- "hard_time_window": {
- "from": "2024-11-08T05:00:00+00:00",
- "to": "2024-11-08T07:00:00+00:00"
}
}
]
}
]
}, - "fields": {
- "essence_key": "order_1",
- "enabled": true
}
}
{- "order": {
- "key": "order_1",
- "demands": [
- {
- "key": "demand_work",
- "demand_type": "WORK",
- "possible_events": [
- {
- "key": "demand_work_event",
- "location_key": "location_client",
- "duration": "PT15M",
- "hard_time_window": {
- "from": "2024-11-08T05:00:00+00:00",
- "to": "2024-11-08T07:00:00+00:00"
}
}
]
}
]
}, - "fields": {
- "essence_key": "order_1",
- "enabled": true
}
}
Получение информации о заказе по его ключу.
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": "order_1",
- "demands": [
- {
- "key": "demand_work",
- "demand_type": "WORK",
- "possible_events": [
- {
- "key": "demand_work_event",
- "location_key": "location_client",
- "duration": "PT15M",
- "hard_time_window": {
- "from": "2024-11-08T05:00:00+00:00",
- "to": "2024-11-08T07:00:00+00:00"
}
}
]
}
]
}, - "fields": {
- "essence_key": "order_1",
- "enabled": true
}
}
Удаление заказа по его ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение списка заказов.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
sort_field | string (table_order_column_type) Enum: "ESSENCE_KEY" "ENABLED" "PRISTINE" … 30 more Example: sort_field=ESSENCE_KEY Название колонки в таблице с заказами. |
sort_customfield | string or null (table_customfields_column_type) Default: null Enum: "DATETIME_1" "DATETIME_2" "INT_1" … 9 more Example: sort_customfield=NONE Название дополнительной колонки в таблице. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
Фильтр заказов.
Array of objects (table_order_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (table_order) [ 0 .. 15001 ] items Список. |
required | object (table_list_counters) Счетчики по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "essences": [ ],
- "counters": {
- "overall": {
- "total": 0
}, - "filter": {
- "total": 0
}
}
}
Удаление заказов из эксперимента.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на удаление заказов.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Включение заказов в расчет.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на включение заказов.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Выключение заказов из расчета.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на выключение заказов.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение списка геоточек.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
Фильтр заказов.
Array of objects (table_order_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (web_order_geopoint) [ 0 .. 60002 ] items Список точек. |
required | object (table_list_counters) Счетчики по списку сущностей. |
required | object (table_list_counters_detail) Счетчики по списку точек. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "geopoints": [
- {
- "geopoint": {
- "latitude": 55.692789,
- "longitude": 37.554554
}, - "order_key": "order01",
- "demand_key": "demand01.1",
- "event_key": "event01",
- "demand_type": "WORK",
- "trip_key": "key01",
- "trip_name": "X1-ABC",
- "stop_number": 10
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}, - "geopoints_counters": {
- "total": 1
}
}
Создание назначения.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на создание новой сущности.
required | object (hardlink) Назначение, необходимое чтобы связать сущности в одну группу. Может состоять из двух сущностей или более. Пример применения:
|
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (hardlink) Назначение, необходимое чтобы связать сущности в одну группу. Может состоять из двух сущностей или более. Пример применения:
|
object (table_hardlink_fields) Табличные поля связи и связанных сущностей. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "hardlink": {
- "key": "hardlink_1",
- "links": [
- {
- "type": "PERFORMER_SHIFT",
- "entity_key": "perf_1"
}, - {
- "type": "TRANSPORT_SHIFT",
- "entity_key": "transp_1"
}
]
}, - "fields": {
- "essence_key": "hardlink_1",
- "enabled": true
}
}
{- "hardlink": {
- "key": "hardlink_1",
- "links": [
- {
- "type": "PERFORMER_SHIFT",
- "entity_key": "perf_1"
}, - {
- "type": "TRANSPORT_SHIFT",
- "entity_key": "transp_1"
}
]
}, - "fields": {
- "essence_key": "hardlink_1",
- "enabled": true
}
}
Обновление назначения по ключу.
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": "hardlink_1",
- "links": [
- {
- "type": "PERFORMER_SHIFT",
- "entity_key": "perf_1"
}, - {
- "type": "TRANSPORT_SHIFT",
- "entity_key": "transp_1"
}
]
}, - "fields": {
- "essence_key": "hardlink_1",
- "enabled": true
}
}
{- "hardlink": {
- "key": "hardlink_1",
- "links": [
- {
- "type": "PERFORMER_SHIFT",
- "entity_key": "perf_1"
}, - {
- "type": "TRANSPORT_SHIFT",
- "entity_key": "transp_1"
}
]
}, - "fields": {
- "essence_key": "hardlink_1",
- "enabled": true
}
}
Получение информации о назначении по его ключу.
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": "hardlink_1",
- "links": [
- {
- "type": "PERFORMER_SHIFT",
- "entity_key": "perf_1"
}, - {
- "type": "TRANSPORT_SHIFT",
- "entity_key": "transp_1"
}
]
}, - "fields": {
- "essence_key": "hardlink_1",
- "enabled": true
}
}
Удаление назначения по ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение списка назначений.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
sort_field | string (table_hardlink_column_type) Enum: "ESSENCE_KEY" "ENABLED" "PRISTINE" … 5 more Example: sort_field=ESSENCE_KEY Название колонки в таблице со связями. |
sort_customfield | string or null (table_customfields_column_type) Default: null Enum: "DATETIME_1" "DATETIME_2" "INT_1" … 9 more Example: sort_customfield=NONE Название дополнительной колонки в таблице. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
Фильтр назначений.
Array of objects (table_hardlink_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (table_hardlink) [ 0 .. 15001 ] items Список связей. |
required | object (table_list_counters) Счетчики по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "essences": [ ],
- "counters": {
- "overall": {
- "total": 0
}, - "filter": {
- "total": 0
}
}
}
Включение назначений в расчет.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на включение назначений.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Выключение назначений из расчета.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на выключение назначений.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Создание рейса.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на создание новой сущности.
required | object (trip) Рейс - это совокупность работ, запланированных на выполнение конкретным исполнителем на конкретном транспорте, выраженных через изменение состояний исполнителя. |
required | object (trip_statistics) Статистика по конкретному рейсу. |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (trip) Рейс - это совокупность работ, запланированных на выполнение конкретным исполнителем на конкретном транспорте, выраженных через изменение состояний исполнителя. |
required | object (trip_statistics) Статистика по конкретному рейсу. |
object (table_trip_fields) Табличные поля рейса и остановок. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "trip": {
- "key": "trip_1",
- "performer": {
- "performer_key": "performer_1",
- "shift_key": "performer_1_shift",
- "shift_time": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T05:53:49Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T05:53:49Z"
}
}, - "states": [
- {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_1",
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_2",
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "DEPARTURE",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:00:00Z",
- "flags": [
- "ARRIVAL",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3397.1,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:00:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3397.1,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:00:00Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_2",
- "demand_key": "demand_2_drop",
- "event_key": "demand_2_drop_event",
- "location_key": "location_client_2",
- "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3397.1,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:10:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "REMOVE"
}
], - "distance": 17110,
- "cost": 3997.1,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:10:00Z",
- "flags": [
- "DEPARTURE",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3997.1,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3997.1,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:20:56Z",
- "flags": [
- "ARRIVAL",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "distance": 27007,
- "cost": 4752.07,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:20:56Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "distance": 27007,
- "cost": 4752.07,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:20:56Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_1",
- "demand_key": "demand_1_drop",
- "event_key": "demand_1_drop_event",
- "location_key": "location_client_1",
- "cargo_actions": [ ],
- "distance": 27007,
- "cost": 4752.07,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:30:56Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "REMOVE"
}
], - "distance": 27007,
- "cost": 5352.07,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:30:56Z",
- "flags": [
- "DEPARTURE",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "distance": 27007,
- "cost": 5352.07,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:30:56Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "distance": 27007,
- "cost": 5352.07,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:38:49Z",
- "flags": [
- "ARRIVAL",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "distance": 34037,
- "cost": 5895.37,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:38:49Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "distance": 34037,
- "cost": 5895.37,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:38:49Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_3",
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "location_key": "location_client_3",
- "cargo_actions": [ ],
- "distance": 34037,
- "cost": 5895.37,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:53:49Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "distance": 34037,
- "cost": 6795.37,
- "reward": 3000.3,
- "attributes": [ ]
}
], - "name": "1-HVFB",
- "waitlist": [ ],
- "attributes": [ ]
}, - "trip_statistics": {
- "trip_key": "trip_1",
- "general_statistics": {
- "cost": 6795.37,
- "reward": 3000.3,
- "profit": -3795.07,
- "measurements": {
- "time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T05:53:49Z"
}, - "driving_time": "PT39M15S",
- "waiting_time": "PT0S",
- "working_time": "PT35M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT1H14M15S",
- "distance": 34037
}, - "trips_count": 1,
- "performers_count": 1,
- "orders_count": 3,
- "plan_orders_count": 3,
- "waitlist_orders_count": 0,
- "stops_count": 4,
- "locations_count": 4,
- "cargo_capacity_sum": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "cargo_capacity_ratio": {
- "mass": 0.007,
- "volume": 1,
- "capacity_a": 1,
- "capacity_b": 1,
- "capacity_c": 1
}, - "max_transport_load": {
- "mass": 0.007,
- "volume": 1,
- "capacity_a": 1,
- "capacity_b": 1,
- "capacity_c": 1
}, - "average_speed": 0,
- "round_trips_count": 1
}, - "load_statistics": {
- "total_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_transfer_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}, - "stop_statistics": [
- {
- "location_key": "location_storage",
- "stop_demands": [
- {
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "demand_time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T04:39:34Z"
}
}, - {
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "demand_time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T04:39:34Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T04:39:34Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T04:39:34Z"
}, - "driving_time": "PT0S",
- "waiting_time": "PT0S",
- "working_time": "PT0S",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT0S",
- "distance": 0
}, - "upload": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "download": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "arrival_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "departure_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}, - {
- "location_key": "location_client_2",
- "stop_demands": [
- {
- "demand_key": "demand_2_drop",
- "event_key": "demand_2_drop_event",
- "demand_time_window": {
- "from": "2024-11-08T05:00:00Z",
- "to": "2024-11-08T05:10:00Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-08T05:00:00Z",
- "to": "2024-11-08T05:10:00Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T05:10:00Z"
}, - "driving_time": "PT20M26S",
- "waiting_time": "PT0S",
- "working_time": "PT10M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT30M26S",
- "distance": 17110
}, - "upload": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "download": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "arrival_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "departure_load": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}, - {
- "location_key": "location_client_1",
- "stop_demands": [
- {
- "demand_key": "demand_1_drop",
- "event_key": "demand_1_drop_event",
- "demand_time_window": {
- "from": "2024-11-08T05:20:56Z",
- "to": "2024-11-08T05:30:56Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-08T05:20:56Z",
- "to": "2024-11-08T05:30:56Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-08T05:10:00Z",
- "to": "2024-11-08T05:30:56Z"
}, - "driving_time": "PT10M56S",
- "waiting_time": "PT0S",
- "working_time": "PT10M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT20M56S",
- "distance": 9897
}, - "upload": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "download": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "arrival_load": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "departure_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}, - {
- "location_key": "location_client_3",
- "stop_demands": [
- {
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "demand_time_window": {
- "from": "2024-11-08T05:38:49Z",
- "to": "2024-11-08T05:53:49Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-08T05:38:49Z",
- "to": "2024-11-08T05:53:49Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-08T05:30:56Z",
- "to": "2024-11-08T05:53:49Z"
}, - "driving_time": "PT7M53S",
- "waiting_time": "PT0S",
- "working_time": "PT15M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT22M53S",
- "distance": 7030
}, - "upload": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "download": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "arrival_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "departure_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}
]
}, - "fields": {
- "essence_key": "trip_1",
- "enabled": true
}
}
{- "trip": {
- "key": "trip_1",
- "performer": {
- "performer_key": "performer_1",
- "shift_key": "performer_1_shift",
- "shift_time": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T05:53:49Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T05:53:49Z"
}
}, - "states": [
- {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_1",
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_2",
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "DEPARTURE",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:00:00Z",
- "flags": [
- "ARRIVAL",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3397.1,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:00:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3397.1,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:00:00Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_2",
- "demand_key": "demand_2_drop",
- "event_key": "demand_2_drop_event",
- "location_key": "location_client_2",
- "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3397.1,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:10:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "REMOVE"
}
], - "distance": 17110,
- "cost": 3997.1,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:10:00Z",
- "flags": [
- "DEPARTURE",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3997.1,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3997.1,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:20:56Z",
- "flags": [
- "ARRIVAL",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "distance": 27007,
- "cost": 4752.07,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:20:56Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "distance": 27007,
- "cost": 4752.07,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:20:56Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_1",
- "demand_key": "demand_1_drop",
- "event_key": "demand_1_drop_event",
- "location_key": "location_client_1",
- "cargo_actions": [ ],
- "distance": 27007,
- "cost": 4752.07,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:30:56Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "REMOVE"
}
], - "distance": 27007,
- "cost": 5352.07,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:30:56Z",
- "flags": [
- "DEPARTURE",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "distance": 27007,
- "cost": 5352.07,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:30:56Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "distance": 27007,
- "cost": 5352.07,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:38:49Z",
- "flags": [
- "ARRIVAL",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "distance": 34037,
- "cost": 5895.37,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:38:49Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "distance": 34037,
- "cost": 5895.37,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:38:49Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_3",
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "location_key": "location_client_3",
- "cargo_actions": [ ],
- "distance": 34037,
- "cost": 5895.37,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:53:49Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "distance": 34037,
- "cost": 6795.37,
- "reward": 3000.3,
- "attributes": [ ]
}
], - "name": "1-HVFB",
- "waitlist": [ ],
- "attributes": [ ]
}, - "trip_statistics": {
- "trip_key": "trip_1",
- "general_statistics": {
- "cost": 6795.37,
- "reward": 3000.3,
- "profit": -3795.07,
- "measurements": {
- "time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T05:53:49Z"
}, - "driving_time": "PT39M15S",
- "waiting_time": "PT0S",
- "working_time": "PT35M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT1H14M15S",
- "distance": 34037
}, - "trips_count": 1,
- "performers_count": 1,
- "orders_count": 3,
- "plan_orders_count": 3,
- "waitlist_orders_count": 0,
- "stops_count": 4,
- "locations_count": 4,
- "cargo_capacity_sum": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "cargo_capacity_ratio": {
- "mass": 0.007,
- "volume": 1,
- "capacity_a": 1,
- "capacity_b": 1,
- "capacity_c": 1
}, - "max_transport_load": {
- "mass": 0.007,
- "volume": 1,
- "capacity_a": 1,
- "capacity_b": 1,
- "capacity_c": 1
}, - "average_speed": 0,
- "round_trips_count": 1
}, - "load_statistics": {
- "total_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_transfer_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}, - "stop_statistics": [
- {
- "location_key": "location_storage",
- "stop_demands": [
- {
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "demand_time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T04:39:34Z"
}
}, - {
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "demand_time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T04:39:34Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T04:39:34Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T04:39:34Z"
}, - "driving_time": "PT0S",
- "waiting_time": "PT0S",
- "working_time": "PT0S",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT0S",
- "distance": 0
}, - "upload": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "download": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "arrival_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "departure_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}, - {
- "location_key": "location_client_2",
- "stop_demands": [
- {
- "demand_key": "demand_2_drop",
- "event_key": "demand_2_drop_event",
- "demand_time_window": {
- "from": "2024-11-08T05:00:00Z",
- "to": "2024-11-08T05:10:00Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-08T05:00:00Z",
- "to": "2024-11-08T05:10:00Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T05:10:00Z"
}, - "driving_time": "PT20M26S",
- "waiting_time": "PT0S",
- "working_time": "PT10M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT30M26S",
- "distance": 17110
}, - "upload": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "download": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "arrival_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "departure_load": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}, - {
- "location_key": "location_client_1",
- "stop_demands": [
- {
- "demand_key": "demand_1_drop",
- "event_key": "demand_1_drop_event",
- "demand_time_window": {
- "from": "2024-11-08T05:20:56Z",
- "to": "2024-11-08T05:30:56Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-08T05:20:56Z",
- "to": "2024-11-08T05:30:56Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-08T05:10:00Z",
- "to": "2024-11-08T05:30:56Z"
}, - "driving_time": "PT10M56S",
- "waiting_time": "PT0S",
- "working_time": "PT10M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT20M56S",
- "distance": 9897
}, - "upload": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "download": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "arrival_load": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "departure_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}, - {
- "location_key": "location_client_3",
- "stop_demands": [
- {
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "demand_time_window": {
- "from": "2024-11-08T05:38:49Z",
- "to": "2024-11-08T05:53:49Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-08T05:38:49Z",
- "to": "2024-11-08T05:53:49Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-08T05:30:56Z",
- "to": "2024-11-08T05:53:49Z"
}, - "driving_time": "PT7M53S",
- "waiting_time": "PT0S",
- "working_time": "PT15M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT22M53S",
- "distance": 7030
}, - "upload": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "download": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "arrival_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "departure_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}
]
}, - "fields": {
- "essence_key": "trip_1",
- "enabled": true
}
}
Обновление рейса по ее ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на обновление сущности.
required | object (trip) Рейс - это совокупность работ, запланированных на выполнение конкретным исполнителем на конкретном транспорте, выраженных через изменение состояний исполнителя. |
required | object (trip_statistics) Статистика по конкретному рейсу. |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (trip) Рейс - это совокупность работ, запланированных на выполнение конкретным исполнителем на конкретном транспорте, выраженных через изменение состояний исполнителя. |
required | object (trip_statistics) Статистика по конкретному рейсу. |
object (table_trip_fields) Табличные поля рейса и остановок. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "trip": {
- "key": "trip_1",
- "performer": {
- "performer_key": "performer_1",
- "shift_key": "performer_1_shift",
- "shift_time": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T05:53:49Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T05:53:49Z"
}
}, - "states": [
- {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_1",
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_2",
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "DEPARTURE",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:00:00Z",
- "flags": [
- "ARRIVAL",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3397.1,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:00:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3397.1,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:00:00Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_2",
- "demand_key": "demand_2_drop",
- "event_key": "demand_2_drop_event",
- "location_key": "location_client_2",
- "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3397.1,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:10:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "REMOVE"
}
], - "distance": 17110,
- "cost": 3997.1,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:10:00Z",
- "flags": [
- "DEPARTURE",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3997.1,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3997.1,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:20:56Z",
- "flags": [
- "ARRIVAL",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "distance": 27007,
- "cost": 4752.07,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:20:56Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "distance": 27007,
- "cost": 4752.07,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:20:56Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_1",
- "demand_key": "demand_1_drop",
- "event_key": "demand_1_drop_event",
- "location_key": "location_client_1",
- "cargo_actions": [ ],
- "distance": 27007,
- "cost": 4752.07,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:30:56Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "REMOVE"
}
], - "distance": 27007,
- "cost": 5352.07,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:30:56Z",
- "flags": [
- "DEPARTURE",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "distance": 27007,
- "cost": 5352.07,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:30:56Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "distance": 27007,
- "cost": 5352.07,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:38:49Z",
- "flags": [
- "ARRIVAL",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "distance": 34037,
- "cost": 5895.37,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:38:49Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "distance": 34037,
- "cost": 5895.37,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:38:49Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_3",
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "location_key": "location_client_3",
- "cargo_actions": [ ],
- "distance": 34037,
- "cost": 5895.37,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:53:49Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "distance": 34037,
- "cost": 6795.37,
- "reward": 3000.3,
- "attributes": [ ]
}
], - "name": "1-HVFB",
- "waitlist": [ ],
- "attributes": [ ]
}, - "trip_statistics": {
- "trip_key": "trip_1",
- "general_statistics": {
- "cost": 6795.37,
- "reward": 3000.3,
- "profit": -3795.07,
- "measurements": {
- "time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T05:53:49Z"
}, - "driving_time": "PT39M15S",
- "waiting_time": "PT0S",
- "working_time": "PT35M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT1H14M15S",
- "distance": 34037
}, - "trips_count": 1,
- "performers_count": 1,
- "orders_count": 3,
- "plan_orders_count": 3,
- "waitlist_orders_count": 0,
- "stops_count": 4,
- "locations_count": 4,
- "cargo_capacity_sum": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "cargo_capacity_ratio": {
- "mass": 0.007,
- "volume": 1,
- "capacity_a": 1,
- "capacity_b": 1,
- "capacity_c": 1
}, - "max_transport_load": {
- "mass": 0.007,
- "volume": 1,
- "capacity_a": 1,
- "capacity_b": 1,
- "capacity_c": 1
}, - "average_speed": 0,
- "round_trips_count": 1
}, - "load_statistics": {
- "total_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_transfer_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}, - "stop_statistics": [
- {
- "location_key": "location_storage",
- "stop_demands": [
- {
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "demand_time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T04:39:34Z"
}
}, - {
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "demand_time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T04:39:34Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T04:39:34Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T04:39:34Z"
}, - "driving_time": "PT0S",
- "waiting_time": "PT0S",
- "working_time": "PT0S",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT0S",
- "distance": 0
}, - "upload": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "download": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "arrival_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "departure_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}, - {
- "location_key": "location_client_2",
- "stop_demands": [
- {
- "demand_key": "demand_2_drop",
- "event_key": "demand_2_drop_event",
- "demand_time_window": {
- "from": "2024-11-08T05:00:00Z",
- "to": "2024-11-08T05:10:00Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-08T05:00:00Z",
- "to": "2024-11-08T05:10:00Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T05:10:00Z"
}, - "driving_time": "PT20M26S",
- "waiting_time": "PT0S",
- "working_time": "PT10M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT30M26S",
- "distance": 17110
}, - "upload": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "download": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "arrival_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "departure_load": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}, - {
- "location_key": "location_client_1",
- "stop_demands": [
- {
- "demand_key": "demand_1_drop",
- "event_key": "demand_1_drop_event",
- "demand_time_window": {
- "from": "2024-11-08T05:20:56Z",
- "to": "2024-11-08T05:30:56Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-08T05:20:56Z",
- "to": "2024-11-08T05:30:56Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-08T05:10:00Z",
- "to": "2024-11-08T05:30:56Z"
}, - "driving_time": "PT10M56S",
- "waiting_time": "PT0S",
- "working_time": "PT10M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT20M56S",
- "distance": 9897
}, - "upload": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "download": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "arrival_load": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "departure_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}, - {
- "location_key": "location_client_3",
- "stop_demands": [
- {
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "demand_time_window": {
- "from": "2024-11-08T05:38:49Z",
- "to": "2024-11-08T05:53:49Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-08T05:38:49Z",
- "to": "2024-11-08T05:53:49Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-08T05:30:56Z",
- "to": "2024-11-08T05:53:49Z"
}, - "driving_time": "PT7M53S",
- "waiting_time": "PT0S",
- "working_time": "PT15M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT22M53S",
- "distance": 7030
}, - "upload": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "download": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "arrival_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "departure_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}
]
}, - "fields": {
- "essence_key": "trip_1",
- "enabled": true
}
}
{- "trip": {
- "key": "trip_1",
- "performer": {
- "performer_key": "performer_1",
- "shift_key": "performer_1_shift",
- "shift_time": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T05:53:49Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T05:53:49Z"
}
}, - "states": [
- {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_1",
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_2",
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "DEPARTURE",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:00:00Z",
- "flags": [
- "ARRIVAL",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3397.1,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:00:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3397.1,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:00:00Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_2",
- "demand_key": "demand_2_drop",
- "event_key": "demand_2_drop_event",
- "location_key": "location_client_2",
- "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3397.1,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:10:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "REMOVE"
}
], - "distance": 17110,
- "cost": 3997.1,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:10:00Z",
- "flags": [
- "DEPARTURE",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3997.1,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3997.1,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:20:56Z",
- "flags": [
- "ARRIVAL",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "distance": 27007,
- "cost": 4752.07,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:20:56Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "distance": 27007,
- "cost": 4752.07,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:20:56Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_1",
- "demand_key": "demand_1_drop",
- "event_key": "demand_1_drop_event",
- "location_key": "location_client_1",
- "cargo_actions": [ ],
- "distance": 27007,
- "cost": 4752.07,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:30:56Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "REMOVE"
}
], - "distance": 27007,
- "cost": 5352.07,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:30:56Z",
- "flags": [
- "DEPARTURE",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "distance": 27007,
- "cost": 5352.07,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:30:56Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "distance": 27007,
- "cost": 5352.07,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:38:49Z",
- "flags": [
- "ARRIVAL",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "distance": 34037,
- "cost": 5895.37,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:38:49Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "distance": 34037,
- "cost": 5895.37,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:38:49Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_3",
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "location_key": "location_client_3",
- "cargo_actions": [ ],
- "distance": 34037,
- "cost": 5895.37,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:53:49Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "distance": 34037,
- "cost": 6795.37,
- "reward": 3000.3,
- "attributes": [ ]
}
], - "name": "1-HVFB",
- "waitlist": [ ],
- "attributes": [ ]
}, - "trip_statistics": {
- "trip_key": "trip_1",
- "general_statistics": {
- "cost": 6795.37,
- "reward": 3000.3,
- "profit": -3795.07,
- "measurements": {
- "time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T05:53:49Z"
}, - "driving_time": "PT39M15S",
- "waiting_time": "PT0S",
- "working_time": "PT35M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT1H14M15S",
- "distance": 34037
}, - "trips_count": 1,
- "performers_count": 1,
- "orders_count": 3,
- "plan_orders_count": 3,
- "waitlist_orders_count": 0,
- "stops_count": 4,
- "locations_count": 4,
- "cargo_capacity_sum": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "cargo_capacity_ratio": {
- "mass": 0.007,
- "volume": 1,
- "capacity_a": 1,
- "capacity_b": 1,
- "capacity_c": 1
}, - "max_transport_load": {
- "mass": 0.007,
- "volume": 1,
- "capacity_a": 1,
- "capacity_b": 1,
- "capacity_c": 1
}, - "average_speed": 0,
- "round_trips_count": 1
}, - "load_statistics": {
- "total_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_transfer_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}, - "stop_statistics": [
- {
- "location_key": "location_storage",
- "stop_demands": [
- {
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "demand_time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T04:39:34Z"
}
}, - {
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "demand_time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T04:39:34Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T04:39:34Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T04:39:34Z"
}, - "driving_time": "PT0S",
- "waiting_time": "PT0S",
- "working_time": "PT0S",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT0S",
- "distance": 0
}, - "upload": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "download": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "arrival_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "departure_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}, - {
- "location_key": "location_client_2",
- "stop_demands": [
- {
- "demand_key": "demand_2_drop",
- "event_key": "demand_2_drop_event",
- "demand_time_window": {
- "from": "2024-11-08T05:00:00Z",
- "to": "2024-11-08T05:10:00Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-08T05:00:00Z",
- "to": "2024-11-08T05:10:00Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T05:10:00Z"
}, - "driving_time": "PT20M26S",
- "waiting_time": "PT0S",
- "working_time": "PT10M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT30M26S",
- "distance": 17110
}, - "upload": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "download": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "arrival_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "departure_load": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}, - {
- "location_key": "location_client_1",
- "stop_demands": [
- {
- "demand_key": "demand_1_drop",
- "event_key": "demand_1_drop_event",
- "demand_time_window": {
- "from": "2024-11-08T05:20:56Z",
- "to": "2024-11-08T05:30:56Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-08T05:20:56Z",
- "to": "2024-11-08T05:30:56Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-08T05:10:00Z",
- "to": "2024-11-08T05:30:56Z"
}, - "driving_time": "PT10M56S",
- "waiting_time": "PT0S",
- "working_time": "PT10M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT20M56S",
- "distance": 9897
}, - "upload": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "download": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "arrival_load": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "departure_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}, - {
- "location_key": "location_client_3",
- "stop_demands": [
- {
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "demand_time_window": {
- "from": "2024-11-08T05:38:49Z",
- "to": "2024-11-08T05:53:49Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-08T05:38:49Z",
- "to": "2024-11-08T05:53:49Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-08T05:30:56Z",
- "to": "2024-11-08T05:53:49Z"
}, - "driving_time": "PT7M53S",
- "waiting_time": "PT0S",
- "working_time": "PT15M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT22M53S",
- "distance": 7030
}, - "upload": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "download": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "arrival_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "departure_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}
]
}, - "fields": {
- "essence_key": "trip_1",
- "enabled": true
}
}
Получение информации о рейсе по его ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
required | object (trip) Рейс - это совокупность работ, запланированных на выполнение конкретным исполнителем на конкретном транспорте, выраженных через изменение состояний исполнителя. |
required | object (trip_statistics) Статистика по конкретному рейсу. |
object (table_trip_fields) Табличные поля рейса и остановок. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "trip": {
- "key": "trip_1",
- "performer": {
- "performer_key": "performer_1",
- "shift_key": "performer_1_shift",
- "shift_time": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T05:53:49Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T05:53:49Z"
}
}, - "states": [
- {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_1",
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_2",
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "ADD"
}
], - "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "DEPARTURE",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T04:39:34Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "distance": 0,
- "cost": 2000,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:00:00Z",
- "flags": [
- "ARRIVAL",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3397.1,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:00:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3397.1,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:00:00Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_2",
- "demand_key": "demand_2_drop",
- "event_key": "demand_2_drop_event",
- "location_key": "location_client_2",
- "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3397.1,
- "reward": 0,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:10:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_2_cargos",
- "cargo_action_type": "REMOVE"
}
], - "distance": 17110,
- "cost": 3997.1,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:10:00Z",
- "flags": [
- "DEPARTURE",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3997.1,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "distance": 17110,
- "cost": 3997.1,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:20:56Z",
- "flags": [
- "ARRIVAL",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "distance": 27007,
- "cost": 4752.07,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:20:56Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "distance": 27007,
- "cost": 4752.07,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:20:56Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_1",
- "demand_key": "demand_1_drop",
- "event_key": "demand_1_drop_event",
- "location_key": "location_client_1",
- "cargo_actions": [ ],
- "distance": 27007,
- "cost": 4752.07,
- "reward": 1000.1,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:30:56Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "REMOVE"
}
], - "distance": 27007,
- "cost": 5352.07,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:30:56Z",
- "flags": [
- "DEPARTURE",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "distance": 27007,
- "cost": 5352.07,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:30:56Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "distance": 27007,
- "cost": 5352.07,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:38:49Z",
- "flags": [
- "ARRIVAL",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "distance": 34037,
- "cost": 5895.37,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:38:49Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "distance": 34037,
- "cost": 5895.37,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:38:49Z",
- "flags": [
- "ON_DEMAND",
- "INSIDE_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "INSIDE_EVENT_HARD_WINDOW",
- "AROUND_LOCATION"
], - "order_key": "order_3",
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "location_key": "location_client_3",
- "cargo_actions": [ ],
- "distance": 34037,
- "cost": 5895.37,
- "reward": 2000.2,
- "attributes": [ ]
}, - {
- "time": "2024-11-08T05:53:49Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "distance": 34037,
- "cost": 6795.37,
- "reward": 3000.3,
- "attributes": [ ]
}
], - "name": "1-HVFB",
- "waitlist": [ ],
- "attributes": [ ]
}, - "trip_statistics": {
- "trip_key": "trip_1",
- "general_statistics": {
- "cost": 6795.37,
- "reward": 3000.3,
- "profit": -3795.07,
- "measurements": {
- "time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T05:53:49Z"
}, - "driving_time": "PT39M15S",
- "waiting_time": "PT0S",
- "working_time": "PT35M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT1H14M15S",
- "distance": 34037
}, - "trips_count": 1,
- "performers_count": 1,
- "orders_count": 3,
- "plan_orders_count": 3,
- "waitlist_orders_count": 0,
- "stops_count": 4,
- "locations_count": 4,
- "cargo_capacity_sum": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "cargo_capacity_ratio": {
- "mass": 0.007,
- "volume": 1,
- "capacity_a": 1,
- "capacity_b": 1,
- "capacity_c": 1
}, - "max_transport_load": {
- "mass": 0.007,
- "volume": 1,
- "capacity_a": 1,
- "capacity_b": 1,
- "capacity_c": 1
}, - "average_speed": 0,
- "round_trips_count": 1
}, - "load_statistics": {
- "total_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_transfer_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}, - "stop_statistics": [
- {
- "location_key": "location_storage",
- "stop_demands": [
- {
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "demand_time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T04:39:34Z"
}
}, - {
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "demand_time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T04:39:34Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T04:39:34Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T04:39:34Z"
}, - "driving_time": "PT0S",
- "waiting_time": "PT0S",
- "working_time": "PT0S",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT0S",
- "distance": 0
}, - "upload": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "download": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "arrival_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "departure_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}, - {
- "location_key": "location_client_2",
- "stop_demands": [
- {
- "demand_key": "demand_2_drop",
- "event_key": "demand_2_drop_event",
- "demand_time_window": {
- "from": "2024-11-08T05:00:00Z",
- "to": "2024-11-08T05:10:00Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-08T05:00:00Z",
- "to": "2024-11-08T05:10:00Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-08T04:39:34Z",
- "to": "2024-11-08T05:10:00Z"
}, - "driving_time": "PT20M26S",
- "waiting_time": "PT0S",
- "working_time": "PT10M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT30M26S",
- "distance": 17110
}, - "upload": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "download": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "arrival_load": {
- "count": 2,
- "capacity": {
- "mass": 2,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "departure_load": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}, - {
- "location_key": "location_client_1",
- "stop_demands": [
- {
- "demand_key": "demand_1_drop",
- "event_key": "demand_1_drop_event",
- "demand_time_window": {
- "from": "2024-11-08T05:20:56Z",
- "to": "2024-11-08T05:30:56Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-08T05:20:56Z",
- "to": "2024-11-08T05:30:56Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-08T05:10:00Z",
- "to": "2024-11-08T05:30:56Z"
}, - "driving_time": "PT10M56S",
- "waiting_time": "PT0S",
- "working_time": "PT10M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT20M56S",
- "distance": 9897
}, - "upload": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "download": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "arrival_load": {
- "count": 1,
- "capacity": {
- "mass": 1,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "departure_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}, - {
- "location_key": "location_client_3",
- "stop_demands": [
- {
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "demand_time_window": {
- "from": "2024-11-08T05:38:49Z",
- "to": "2024-11-08T05:53:49Z"
}
}
], - "stop_time_window": {
- "from": "2024-11-08T05:38:49Z",
- "to": "2024-11-08T05:53:49Z"
}, - "measurements": {
- "time_window": {
- "from": "2024-11-08T05:30:56Z",
- "to": "2024-11-08T05:53:49Z"
}, - "driving_time": "PT7M53S",
- "waiting_time": "PT0S",
- "working_time": "PT15M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT22M53S",
- "distance": 7030
}, - "upload": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "download": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "max_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "arrival_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}, - "departure_load": {
- "count": 0,
- "capacity": {
- "mass": 0,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}
}
}
]
}, - "fields": {
- "essence_key": "trip_1",
- "enabled": true
}
}
Удаление рейса по ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение списка рейсов.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
sort_field | string (table_trip_column_type) Enum: "ESSENCE_KEY" "ENABLED" "PRISTINE" … 31 more Example: sort_field=ESSENCE_KEY Название колонки в таблице с рейсами. |
sort_customfield | string or null (table_customfields_column_type) Default: null Enum: "DATETIME_1" "DATETIME_2" "INT_1" … 9 more Example: sort_customfield=NONE Название дополнительной колонки в таблице. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
Фильтр рейсов.
Array of objects (table_trip_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (table_trip) [ 0 .. 15001 ] items Список. |
required | object (table_list_counters) Счетчики по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "essences": [ ],
- "counters": {
- "overall": {
- "total": 0
}, - "filter": {
- "total": 0
}
}
}
Получение путей.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
tracks_type required | string (basic_tracks_type) Default: "LINE" Enum: "LINE" "ROAD" "CUSTOM" Example: ROAD Тип трека:
|
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
Фильтр рейсов.
Array of objects (table_trip_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (web_trip_track) [ 0 .. 15001 ] items Список треков. |
required | object (table_list_counters) Счетчики по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "tracks": [
- {
- "geotrack": [
- {
- "latitude": 55.692789,
- "longitude": 37.554554,
- "time": "2024-11-21T09:30:00+03:00"
}
], - "trip_key": "location_01",
- "trip_name": "X1-ABC",
- "performer_key": "performer_01",
- "performer_shift_key": "performer_shift_01",
- "transport_key": "transport_01",
- "transport_shift_key": "transport_shift_01"
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Получение рейсов для отображения на диаграмме.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
sort_field | string (table_trip_column_type) Enum: "ESSENCE_KEY" "ENABLED" "PRISTINE" … 31 more Example: sort_field=ESSENCE_KEY Название колонки в таблице с рейсами. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
Фильтр рейсов.
Array of objects (table_trip_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (web_trip_chart) [ 0 .. 15001 ] items Данные для диаграммы. |
required | object (table_list_counters) Счетчики по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "charts": [ ],
- "counters": {
- "overall": {
- "total": 0
}, - "filter": {
- "total": 0
}
}
}
Загрузка пользовательских треков.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Список треков.
required | Array of objects (web_trip_track) [ 0 .. 15001 ] items Список треков. |
{- "tracks": [
- {
- "geotrack": [
- {
- "latitude": 55.692789,
- "longitude": 37.554554,
- "time": "2024-11-21T09:30:00+03:00"
}
], - "trip_key": "location_01",
- "trip_name": "X1-ABC",
- "performer_key": "performer_01",
- "performer_shift_key": "performer_shift_01",
- "transport_key": "transport_01",
- "transport_shift_key": "transport_shift_01"
}
]
}
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Удаление пользовательских всех треков.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение списка остановок рейса.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
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_stop_column_type) Enum: "ESSENCE_KEY" "DRIVING_TIME" "WAITING_TIME" … 11 more Example: sort_field=ESSENCE_KEY Название колонки в таблице с остановками рейса. |
sort_customfield | string or null (table_customfields_column_type) Default: null Enum: "DATETIME_1" "DATETIME_2" "INT_1" … 9 more Example: sort_customfield=NONE Название дополнительной колонки в таблице. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
Фильтр остановок рейса.
Array of objects (table_trip_stop_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (table_trip_stop) [ 0 .. 15001 ] items Список. |
required | object (table_list_counters) Счетчики по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "essences": [ ],
- "counters": {
- "overall": {
- "total": 0
}, - "filter": {
- "total": 0
}
}
}
Создание факта.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на создание новой сущности.
required | object (fact) Факт о заказе - совершенное действие с заказом или его частью (заявкой). |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (fact) Факт о заказе - совершенное действие с заказом или его частью (заявкой). |
object (table_fact_fields) Табличные поля факта. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "fact": {
- "key": "fact_01",
- "type": "NEW_LOCATION",
- "time": "2024-11-07T22:00:00Z",
- "trip_key": "trip_for_performer_1",
- "performer_key": "performer_1",
- "location_key": "performer_1_current_location"
}, - "fields": {
- "essence_key": "fact_01",
- "enabled": true
}
}
{- "fact": {
- "key": "fact_01",
- "type": "NEW_LOCATION",
- "time": "2024-11-07T22:00:00Z",
- "trip_key": "trip_for_performer_1",
- "performer_key": "performer_1",
- "location_key": "performer_1_current_location"
}, - "fields": {
- "essence_key": "fact_01",
- "enabled": true
}
}
Обновление факта по ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на обновление сущности.
required | object (fact) Факт о заказе - совершенное действие с заказом или его частью (заявкой). |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
required | object (fact) Факт о заказе - совершенное действие с заказом или его частью (заявкой). |
object (table_fact_fields) Табличные поля факта. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "fact": {
- "key": "fact_01",
- "type": "NEW_LOCATION",
- "time": "2024-11-07T22:00:00Z",
- "trip_key": "trip_for_performer_1",
- "performer_key": "performer_1",
- "location_key": "performer_1_current_location"
}, - "fields": {
- "essence_key": "fact_01",
- "enabled": true
}
}
{- "fact": {
- "key": "fact_01",
- "type": "NEW_LOCATION",
- "time": "2024-11-07T22:00:00Z",
- "trip_key": "trip_for_performer_1",
- "performer_key": "performer_1",
- "location_key": "performer_1_current_location"
}, - "fields": {
- "essence_key": "fact_01",
- "enabled": true
}
}
Получение информации о факте по его ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
required | object (fact) Факт о заказе - совершенное действие с заказом или его частью (заявкой). |
object (table_fact_fields) Табличные поля факта. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "fact": {
- "key": "fact_01",
- "type": "NEW_LOCATION",
- "time": "2024-11-07T22:00:00Z",
- "trip_key": "trip_for_performer_1",
- "performer_key": "performer_1",
- "location_key": "performer_1_current_location"
}, - "fields": {
- "essence_key": "fact_01",
- "enabled": true
}
}
Удаление факта по его ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение списка фактов.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
offset | integer <int32> [ 0 .. 10000000 ] Default: 0 Example: offset=10 Количество пропущенных сущностей до возвращаемого списка. |
limit | integer <int32> [ 1 .. 10000000 ] Default: 100 Example: limit=10 Максимальное количество возвращаемых сущностей. |
sort_field | string (table_fact_column_type) Enum: "ESSENCE_KEY" "ENABLED" "PRISTINE" … 8 more Example: sort_field=ESSENCE_KEY Название колонки в таблице со фактами. |
sort_customfield | string or null (table_customfields_column_type) Default: null Enum: "DATETIME_1" "DATETIME_2" "INT_1" … 9 more Example: sort_customfield=NONE Название дополнительной колонки в таблице. |
sort_direction | string Default: "ASC" Enum: "ASC" "DESC" Example: sort_direction=DESC Направление сортировки. |
Фильтр фактов.
Array of objects (table_fact_filter) [ 0 .. 100 ] items Список фильтров. |
required | Array of objects (table_fact) [ 0 .. 15001 ] items Список связей. |
required | object (table_list_counters) Счетчики по списку. |
{- "filters": [
- {
- "type": "STRING_SEARCH",
- "column": "ESSENCE_KEY",
- "string_search": {
- "text": "some-text",
- "strict": false
}
}
]
}
{- "essences": [
- {
- "fields": {
- "essence_type": "FACT",
- "essence_key": "key01",
- "enabled": false,
- "pristine": false,
- "type": "NEW_LOCATION",
- "order_key": "key01",
- "demand_key": "key01",
- "performer_key": "key01",
- "location_key": "key01",
- "trip_key": "key01",
- "trip_name": "X1-ABC",
- "attributes": "key1:value1, key2:value2",
- "customfields": {
- "datetime_1": "2024-11-21T18:00:00+03:00",
- "datetime_2": "2024-11-21T18:00:00+03:00",
- "int_1": 1,
- "int_2": 1,
- "float_1": 2343.3,
- "float_2": 2343.3,
- "duration_1": "PT2H12M34.3S",
- "duration_2": "PT2H12M34.3S",
- "bool_1": true,
- "bool_2": true,
- "string_1": "key01",
- "string_2": "key01"
}
}, - "elements": [
- {
- "essence_type": "FACT",
- "essence_key": "key01",
- "enabled": false,
- "pristine": false,
- "type": "NEW_LOCATION",
- "order_key": "key01",
- "demand_key": "key01",
- "performer_key": "key01",
- "location_key": "key01",
- "trip_key": "key01",
- "trip_name": "X1-ABC",
- "attributes": "key1:value1, key2:value2",
- "customfields": {
- "datetime_1": "2024-11-21T18:00:00+03:00",
- "datetime_2": "2024-11-21T18:00:00+03:00",
- "int_1": 1,
- "int_2": 1,
- "float_1": 2343.3,
- "float_2": 2343.3,
- "duration_1": "PT2H12M34.3S",
- "duration_2": "PT2H12M34.3S",
- "bool_1": true,
- "bool_2": true,
- "string_1": "key01",
- "string_2": "key01"
}
}
]
}
], - "counters": {
- "overall": {
- "total": 1
}, - "filter": {
- "total": 1
}
}
}
Удаление фактов из эксперимента.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на удаление фактов.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Включение фактов в расчет.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на включение фактов.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Выключение фактов из расчета.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на выключение фактов.
Ключ, уникальный идентификатор.
[- "key01"
]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Создание матриц маршрутизации.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на создание новой сущности.
transport_type required | string (transport_type) Enum: "CAR" "TRUCK_1500" "TRUCK_3000" … 13 more Example: "CAR" Типы транспорта:
Разрешенная масса - это масса снаряженного транспорта с грузом и водителем, установленная предприятием-изготовителем в качестве максимально допустимой. |
required | object (routing_matrix) Матрица маршрутизации. Содержит времена и расстояний между точками. |
[ ]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Получение информации о факте.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
transport_type required | string (transport_type) Enum: "CAR" "TRUCK_1500" "TRUCK_3000" … 13 more Example: "CAR" Типы транспорта:
Разрешенная масса - это масса снаряженного транспорта с грузом и водителем, установленная предприятием-изготовителем в качестве максимально допустимой. |
required | object (routing_matrix) Матрица маршрутизации. Содержит времена и расстояний между точками. |
[ ]
Обновление матриц маршрутизации по ключу.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
Запрос на обновление сущности.
transport_type required | string (transport_type) Enum: "CAR" "TRUCK_1500" "TRUCK_3000" … 13 more Example: "CAR" Типы транспорта:
Разрешенная масса - это масса снаряженного транспорта с грузом и водителем, установленная предприятием-изготовителем в качестве максимально допустимой. |
required | object (routing_matrix) Матрица маршрутизации. Содержит времена и расстояний между точками. |
[ ]
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Удаление матриц маршрутизации.
experiment_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Установка активного ключа настроек пользователя.
Новый ключ.
Ключ, уникальный идентификатор.
settings_keys required | Array of strings (basic_path_key) [ 0 .. 10 ] items unique [ items [ 1 .. 1024 ] characters ] Example: "path-key-01" Список ключей настроек. |
active_key | string or null (basic_path_key_null) [ 1 .. 1024 ] characters Example: "path-key-01" Ключ текущей активной настройки. Ключ из списка |
"path-key-01"
{- "settings_keys": [
- "path-key-01"
], - "active_key": "path-key-01"
}
Чтение списка ключей настроек пользователя.
settings_keys required | Array of strings (basic_path_key) [ 0 .. 10 ] items unique [ items [ 1 .. 1024 ] characters ] Example: "path-key-01" Список ключей настроек. |
active_key | string or null (basic_path_key_null) [ 1 .. 1024 ] characters Example: "path-key-01" Ключ текущей активной настройки. Ключ из списка |
{- "settings_keys": [
- "path-key-01"
], - "active_key": "path-key-01"
}
Обновление настроек пользователя.
settings_key required | string (basic_path_key) [ 1 .. 1024 ] characters Example: path-key-01 Ключ пользовательских настроек, уникальный идентификатор. |
Новые настройки.
property name* additional property | any |
property name* additional property | any |
"{\"key1\":\"value1\"}"
"{\"key1\":\"value1\"}"
Чтение настроек пользователя.
settings_key required | string (basic_path_key) [ 1 .. 1024 ] characters Example: path-key-01 Ключ пользовательских настроек, уникальный идентификатор. |
property name* additional property | any |
"{\"key1\":\"value1\"}"
Обновление настроек пользователя.
settings_key required | string (basic_path_key) [ 1 .. 1024 ] characters Example: path-key-01 Ключ пользовательских настроек, уникальный идентификатор. |
Новые настройки.
property name* additional property | any |
property name* additional property | any |
"{\"key1\":\"value1\"}"
"{\"key1\":\"value1\"}"
Удаление всех настроек пользователя.
settings_key required | string (basic_path_key) [ 1 .. 1024 ] characters Example: path-key-01 Ключ пользовательских настроек, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Настройки конвертации пользовательских полей.
В таблице предусмотрены дополнительные колонки для отображения значений из атрибутов.
Данная настройка определяет правила конвертации значений атрибутов в соответствующие типизированные поля.
Конвертации происходит при чтении данных - поэтому правила конвертации не влияют на данные и их можно изменять в любой момент.
Установка активного ключа настроек полей.
Новый ключ.
Ключ, уникальный идентификатор.
settings_keys required | Array of strings (basic_path_key) [ 0 .. 10 ] items unique [ items [ 1 .. 1024 ] characters ] Example: "path-key-01" Список ключей настроек. |
active_key | string or null (basic_path_key_null) [ 1 .. 1024 ] characters Example: "path-key-01" Ключ текущей активной настройки. Ключ из списка |
"path-key-01"
{- "settings_keys": [
- "path-key-01"
], - "active_key": "path-key-01"
}
Чтение списка ключей настроек пользовательских полей.
settings_keys required | Array of strings (basic_path_key) [ 0 .. 10 ] items unique [ items [ 1 .. 1024 ] characters ] Example: "path-key-01" Список ключей настроек. |
active_key | string or null (basic_path_key_null) [ 1 .. 1024 ] characters Example: "path-key-01" Ключ текущей активной настройки. Ключ из списка |
{- "settings_keys": [
- "path-key-01"
], - "active_key": "path-key-01"
}
Обновление настроек пользовательских полей.
settings_key required | string (basic_path_key) [ 1 .. 1024 ] characters Example: path-key-01 Ключ пользовательских настроек, уникальный идентификатор. |
Новые настройки.
required | Array of objects (customfield_convert_rule) [ 0 .. 100 ] items unique Список правил конвертации пользовательских полей. |
required | Array of objects (customfield_convert_rule) [ 0 .. 100 ] items unique Список правил конвертации пользовательских полей. |
{- "rules": [
- {
- "entity_type": "LOCATION",
- "source_attribute_key": "max_trailer_weight",
- "target_customfield": "INT_1",
- "translations": {
- "ru": "Максимальная масса прицепа (кг)",
- "en": "Maximum trailer weight (kg)"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_name",
- "target_customfield": "STRING_1",
- "translations": {
- "ru": "Название стоянки прицепов",
- "en": "Trailer name"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_duration",
- "target_customfield": "DURATION_1",
- "translations": {
- "ru": "Время расцепки прицепов",
- "en": "Trailer action duration"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_creation_date",
- "target_customfield": "DATETIME_1",
- "translations": {
- "ru": "Дата основания",
- "en": "Creation Date"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_cost",
- "target_customfield": "FLOAT_1",
- "translations": {
- "ru": "Стоимость хранения",
- "en": "Storage Cost"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_state",
- "target_customfield": "BOOL_1",
- "translations": {
- "ru": "Наличие парковки для прицепа",
- "en": "Availability of trailer parking"
}
}
]
}
{- "rules": [
- {
- "entity_type": "LOCATION",
- "source_attribute_key": "max_trailer_weight",
- "target_customfield": "INT_1",
- "translations": {
- "ru": "Максимальная масса прицепа (кг)",
- "en": "Maximum trailer weight (kg)"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_name",
- "target_customfield": "STRING_1",
- "translations": {
- "ru": "Название стоянки прицепов",
- "en": "Trailer name"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_duration",
- "target_customfield": "DURATION_1",
- "translations": {
- "ru": "Время расцепки прицепов",
- "en": "Trailer action duration"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_creation_date",
- "target_customfield": "DATETIME_1",
- "translations": {
- "ru": "Дата основания",
- "en": "Creation Date"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_cost",
- "target_customfield": "FLOAT_1",
- "translations": {
- "ru": "Стоимость хранения",
- "en": "Storage Cost"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_state",
- "target_customfield": "BOOL_1",
- "translations": {
- "ru": "Наличие парковки для прицепа",
- "en": "Availability of trailer parking"
}
}
]
}
Чтение настройки пользовательских полей.
settings_key required | string (basic_path_key) [ 1 .. 1024 ] characters Example: path-key-01 Ключ пользовательских настроек, уникальный идентификатор. |
required | Array of objects (customfield_convert_rule) [ 0 .. 100 ] items unique Список правил конвертации пользовательских полей. |
{- "rules": [
- {
- "entity_type": "LOCATION",
- "source_attribute_key": "max_trailer_weight",
- "target_customfield": "INT_1",
- "translations": {
- "ru": "Максимальная масса прицепа (кг)",
- "en": "Maximum trailer weight (kg)"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_name",
- "target_customfield": "STRING_1",
- "translations": {
- "ru": "Название стоянки прицепов",
- "en": "Trailer name"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_duration",
- "target_customfield": "DURATION_1",
- "translations": {
- "ru": "Время расцепки прицепов",
- "en": "Trailer action duration"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_creation_date",
- "target_customfield": "DATETIME_1",
- "translations": {
- "ru": "Дата основания",
- "en": "Creation Date"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_cost",
- "target_customfield": "FLOAT_1",
- "translations": {
- "ru": "Стоимость хранения",
- "en": "Storage Cost"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_state",
- "target_customfield": "BOOL_1",
- "translations": {
- "ru": "Наличие парковки для прицепа",
- "en": "Availability of trailer parking"
}
}
]
}
Обновление настроек пользовательских полей.
settings_key required | string (basic_path_key) [ 1 .. 1024 ] characters Example: path-key-01 Ключ пользовательских настроек, уникальный идентификатор. |
Новые настройки.
required | Array of objects (customfield_convert_rule) [ 0 .. 100 ] items unique Список правил конвертации пользовательских полей. |
required | Array of objects (customfield_convert_rule) [ 0 .. 100 ] items unique Список правил конвертации пользовательских полей. |
{- "rules": [
- {
- "entity_type": "LOCATION",
- "source_attribute_key": "max_trailer_weight",
- "target_customfield": "INT_1",
- "translations": {
- "ru": "Максимальная масса прицепа (кг)",
- "en": "Maximum trailer weight (kg)"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_name",
- "target_customfield": "STRING_1",
- "translations": {
- "ru": "Название стоянки прицепов",
- "en": "Trailer name"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_duration",
- "target_customfield": "DURATION_1",
- "translations": {
- "ru": "Время расцепки прицепов",
- "en": "Trailer action duration"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_creation_date",
- "target_customfield": "DATETIME_1",
- "translations": {
- "ru": "Дата основания",
- "en": "Creation Date"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_cost",
- "target_customfield": "FLOAT_1",
- "translations": {
- "ru": "Стоимость хранения",
- "en": "Storage Cost"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_state",
- "target_customfield": "BOOL_1",
- "translations": {
- "ru": "Наличие парковки для прицепа",
- "en": "Availability of trailer parking"
}
}
]
}
{- "rules": [
- {
- "entity_type": "LOCATION",
- "source_attribute_key": "max_trailer_weight",
- "target_customfield": "INT_1",
- "translations": {
- "ru": "Максимальная масса прицепа (кг)",
- "en": "Maximum trailer weight (kg)"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_name",
- "target_customfield": "STRING_1",
- "translations": {
- "ru": "Название стоянки прицепов",
- "en": "Trailer name"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_duration",
- "target_customfield": "DURATION_1",
- "translations": {
- "ru": "Время расцепки прицепов",
- "en": "Trailer action duration"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_creation_date",
- "target_customfield": "DATETIME_1",
- "translations": {
- "ru": "Дата основания",
- "en": "Creation Date"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_cost",
- "target_customfield": "FLOAT_1",
- "translations": {
- "ru": "Стоимость хранения",
- "en": "Storage Cost"
}
}, - {
- "entity_type": "LOCATION",
- "source_attribute_key": "trailer_state",
- "target_customfield": "BOOL_1",
- "translations": {
- "ru": "Наличие парковки для прицепа",
- "en": "Availability of trailer parking"
}
}
]
}
Удаление настроек пользовательских полей.
settings_key required | string (basic_path_key) [ 1 .. 1024 ] characters Example: path-key-01 Ключ пользовательских настроек, уникальный идентификатор. |
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Экспорт папки с экспериментами.
folder_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ папки, уникальный идентификатор. |
ZIP-архив с данными.
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Импорт папки с экспериментами. Папка не должна типа ROOT и должна быть пустой.
folder_key required | string <uuid> (unique_key) Example: 11111111-2222-3333-4444-555555555555 Ключ папки, уникальный идентификатор. |
Данные (ZIP).
ZIP-архив с данными.
{- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "example_username",
- "company": "example_company",
- "env": "edge7",
- "pod": "aaaaaaaa-2222-cccc-4444-eeeeeeeeeeee",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-11-28T17:13:27.945583194Z"
}, - "message": "logical",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}
Проверка доступности сервиса.
health required | number <double> [ 0 .. 1 ] Example: "0.999" Текущий показатель здоровья сервиса.
|
{- "health": 0.999
}
Получение версии сервиса.
major required | integer <int32> [ 1 .. 100 ] Example: "7" Версия продукта.
В рамках одной версии гарантируется совместимость общих структур данных между сервисами. |
minor required | integer <int32> [ 0 .. 111 ] Example: "15" Минорная версия сервиса. Изменение версии указывает на новую функциональность. Обновление имеет обратную совместимость в рамках мажорной версии сервиса. |
build required | string [ 1 .. 64 ] characters Example: "3754RC" Версия сборки. |
{- "major": 7,
- "minor": 15,
- "build": "3754RC"
}
Получение файла с документацией на этот сервис.
filename required | string [ 6 .. 128 ] characters Example: file_en.html Название файла. |
Файл с данными в формате HTML.
{- "resource_key": "resource_key",
- "detail": {
- "tracedata": {
- "process_code": "11111111-2222-3333-4444-555555555555",
- "request_code": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
- "username": "username_for_login",
- "company": "smart_company",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "env": "edge7",
- "pod": "11111111-2222-3333-4444-555555555555",
- "time": "2024-11-21T09:30:00+03:00"
}
}
}