Программный интерфейс для инструмента Veeroute Monitor.
Получение информации о рейсе по его ключу.
essence_key required | string or null (basic_essence_key) [ 1 .. 1024 ] characters Default: null Example: key01 Ключ. |
required | object (trip) Рейс - это совокупность работ, запланированных на выполнение конкретным исполнителем на конкретном транспорте, выраженных через изменение состояний исполнителя. |
required | object (trip_statistics) Статистика по конкретному рейсу. |
object (table_trip_fields) Табличные поля рейса и остановок. | |
Array of objects (linked_essence_list) [ 0 .. 15001 ] items Список связанных сущностей. |
{- "trip": {
- "key": "631988f0-9e27-11ed-a8fc-0242ac120002",
- "name": "1-ABC",
- "performer": {
- "performer_key": "performer0001",
- "shift_key": "performer0001_shift01",
- "shift_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "transport": {
- "transport_key": "transport001",
- "shift_key": "performer01",
- "shift_time": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "states": [
- {
- "time": "2024-02-21T09:30:00+03:00",
- "order_key": "order01",
- "demand_key": "demand01.1",
- "event_key": "event01",
- "location_key": "location01",
- "flags": [ ],
- "cargo_placements": [ ],
- "attributes": [ ]
}
], - "waitlist": [
- "order02"
], - "attributes": [ ]
}, - "trip_statistics": {
- "trip_key": "trip01",
- "statistics": {
- "cost": 1231.1,
- "reward": 2343.3,
- "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "trips_count": 250,
- "performers_count": 157,
- "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "cargo_capacity_ratio": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "max_transport_load": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}, - "quality": {
- "soft_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}, - "hard_time_window_violations": {
- "before": {
- "keys": [
- "obj1"
], - "count": 1700
}, - "after": {
- "keys": [
- "obj1"
], - "count": 1700
}
}
}
}, - "stop_statistics": [
- {
- "location_key": "location01",
- "demand_ids": [
- "demand01"
], - "stop_time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}, - "measurements": {
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T09:30:00+03:00",
- "to": "2024-02-21T19:45:00Z"
}
}, - "upload": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "download": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "arrival_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "departure_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}
}
], - "total_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}, - "max_transfer_load": {
- "count": 1460,
- "capacity": {
- "mass": 10,
- "volume": 2,
- "capacity_a": 1,
- "capacity_b": 2,
- "capacity_c": 3
}
}
}, - "fields": {
- "essence_key": "key01",
- "essence_type": "TRIP",
- "enabled": false,
- "pristine": false,
- "trip_name": "1-ABC",
- "attributes": "key1:value1, key2:value2",
- "cost": 1231.1,
- "reward": 2343.3,
- "driving_time": "P1Y1M1DT2H12M34.3S",
- "waiting_time": "P1Y1M1DT2H12M34.3S",
- "break_time": "P1Y1M1DT2H12M34.3S",
- "working_time": "P1Y1M1DT2H12M34.3S",
- "arriving_time": "P1Y1M1DT2H12M34.3S",
- "departure_time": "P1Y1M1DT2H12M34.3S",
- "total_time": "P1Y1M1DT2H12M34.3S",
- "distance": 5200,
- "time_window": {
- "from": "2024-02-21T08:45:00+03:00",
- "to": "2024-02-21T19:45:00+03:00"
}, - "orders_count": 1700,
- "plan_orders_count": 1003,
- "waitlist_orders_count": 697,
- "stops_count": 87,
- "locations_count": 45,
- "cargo_capacity_ratio_mass": 10,
- "cargo_capacity_ratio_volume": 2,
- "cargo_capacity_ratio_capacity_a": 1,
- "cargo_capacity_ratio_capacity_b": 2,
- "cargo_capacity_ratio_capacity_c": 3,
- "max_transport_load_mass": 0.1,
- "max_transport_load_volume": 0.1,
- "max_transport_load_capacity_a": 0.1,
- "max_transport_load_capacity_b": 0.1,
- "max_transport_load_capacity_c": 0.1
}, - "linked_essences": [
- {
- "essence_key": "key01",
- "essence_type": "LOCATION"
}
]
}
Проверка доступности сервиса.
health required | number<double> [ 0 .. 1 ] Текущий показатель здоровья сервиса. |
{- "health": 0.999
}
Получение версии сервиса.
major required | integer<int32> [ 1 .. 100 ] Версия продукта. В рамках одной версии гарантируется совместимость общих структур данных между сервисами. |
minor required | integer<int32> [ 0 .. 111 ] Минорная версия сервиса. Изменение версии указывает на новую функциональность. Обновление имеет обратную совместимость в рамках мажорной версии сервиса. |
build required | string [ 1 .. 64 ] characters Версия сборки. |
{- "major": 4,
- "minor": 4,
- "build": "1754RC"
}
Получение файла с документацией на этот сервис.
filename required | string [ 6 .. 128 ] characters Example: file_en.html Название файла. |
Файл с данными в формате HTML.
{- "resource_id": "resource_id",
- "detail": {
- "tracedata": {
- "code": "11111111-2222-3333-4444-555555555555",
- "client": "company_|_username",
- "server": "server_name",
- "service": "UNIVERSAL",
- "operation": "run_plan_calculation",
- "time": "2024-02-21T09:30:00+03:00"
}
}
}