PICKUP (loading), DROP (unloading)DROP_FROM_BOX (unloading of cargo that is already in the box), PICKUP_TO_BOX (picking up cargo into the box without subsequent unloading), WORK (work at a location without moving cargo)Constraints on a performer:
Constraints on transport:
Constraints on an order:
Entities are compatible if the list of features of one entity fully covers the list of restrictions of another entity (the opposite for performer_blacklist — the lists must not overlap).
Supported compatibilities:
| Name | Restrictions | Features |
|---|---|---|
| Order – Performer | order.performer_restrictions | performer.performer_features |
| Order – Not-Performer | order.performer_blacklist | performer.performer_features |
| Cargo – Box | order.cargo.box_restrictions | transport.box.box_features |
| Location – Transport | location.transport_restrictions | transport.transport_features |
| Transport – Performer | transport.performer_restrictions | performer.performer_features |
| Performer – Transport | performer.transport_restrictions | transport.transport_features |
| Order – Order | order.order_restrictions | order.order_features |
| Cargo – Cargo | cargo.cargo_restrictions | cargo.cargo_features |
Examples of business rules:
| Name | Example business rule |
|---|---|
| Order – Performer | To perform the order the driver must have a special permit |
| Order – Not-Performer | The driver is on the blacklist |
| Cargo – Box | A box with a special temperature mode is required to transport frozen products |
| Location – Transport | Restrictions on transport height |
| Transport – Performer | For freight transport the driver must hold category C |
| Performer – Transport | The driver is allowed to work only on a specific transport |
| Order – Order | Fish and fruit cannot be transported in the same box |
| Cargo – Cargo | Two cargos cannot be placed simultaneously in the same transport box, but can be placed sequentially |
The hardlinks mechanism (hardlinks) is used to specify requirements for orders, a performer and a transport to be in the same trip.
A hardlink guarantees that the entities are in the same trip and does not guarantee that the entity is actually planned.
For example, if the performer cannot complete the order in time, the order will not be planned, but it will still be assigned to the trip (it will end up in waitlist).
A hardlink also does not cancel the specified compatibilities (and the penalties for compatibility violations).
For example, if an order cannot be performed by the performer, it will not be planned but will be assigned to the trip (it will end up in waitlist).
List of an object's rotation capabilities (in 90-degree increments):
ALL — can be rotated around any axis any number of timesYAW — can be rotated once around the vertical axis (around its own axis)PITCH — can be rotated once around the transverse axis (set vertically)ROLL — can be rotated once around the longitudinal axis (laid on its side)A trip is described by a list of performer states; a performer can be in several states at the same time (e.g. be inside a location's working time window and at the same time perform an order at the same location).
Values of the flags responsible for the geographic position (multiple flags may be active at the same time):
AROUND_LOCATION — the performer is near the location, in the process of parking or leaving it.INSIDE_LOCATION — the performer is at the location.Values of the flags responsible for being inside time windows (multiple flags may be active at the same time):
INSIDE_WORKING_WINDOW — the performer is inside the working time window.INSIDE_LOCATION_WINDOW — the performer is inside the location's operating time.INSIDE_EVENT_HARD_WINDOW — the performer is inside the hard time window.INSIDE_EVENT_SOFT_WINDOW — the performer is inside the soft time window.Values of the flags responsible for actions (only one flag can be active at a time):
ON_DEMAND — the performer started working on a demand.WAITING — the performer started waiting.RELOCATING — the performer started moving to the next stop.BREAK — the performer started a break.REST — the performer started a long rest.ARRIVAL — the performer started parking.DEPARTURE — the performer finished leaving the parking.Values of the flags responsible for the logical state:
DURING_ROUNDTRIP — the performer is performing a round trip.| Time | Set of active flags | Location / Order / Demand / Event | Comment |
|---|---|---|---|
| 10:00 | INSIDE_LOCATION AROUND_LOCATION |
2 / - / - / - | Start location |
| 10:05 | AROUND_LOCATION DEPARTURE |
2 / - / - / - | Left the parking |
| 10:10 | RELOCATING DEPARTURE |
2 / - / - / - | Driving to the first order |
| 10:20 | AROUND_LOCATION ARRIVAL |
2 / - / - / - | Arrived at the first order |
| 10:40 | AROUND_LOCATION INSIDE_LOCATION WAITING |
2 / - / - / - | Parked |
| 11:00 | AROUND_LOCATION INSIDE_LOCATION INSIDE_LOCATION_WINDOW WAITING INSIDE_EVENT_HARD_WINDOW |
2 / - / - / - | The location's window opened and the order became available |
| 11:25 | AROUND_LOCATION INSIDE_LOCATION INSIDE_LOCATION_WINDOW ON_DEMAND INSIDE_WORKING_WINDOW INSIDE_EVENT_HARD_WINDOW |
2 / 1 / 2 / 3 | Waited for a performer change |
| 11:30 | AROUND_LOCATION INSIDE_LOCATION INSIDE_LOCATION_WINDOW ON_DEMAND INSIDE_WORKING_WINDOW INSIDE_EVENT_HARD_WINDOW INSIDE_EVENT_SOFT_WINDOW |
2 / 1 / 2 / 3 | While working — a soft window opened |
| 11:40 | AROUND_LOCATION INSIDE_LOCATION INSIDE_LOCATION_WINDOW INSIDE_WORKING_WINDOW |
2 / - / - / - | Finished working |
| 11:45 | AROUND_LOCATION DEPARTURE INSIDE_WORKING_WINDOW |
2 / - / - / - | Left the parking |
| 11:45 | RELOCATING INSIDE_WORKING_WINDOW |
- / - / - / - | Driving to the next order |
A trip consists of one or more round trips.
The round-trip flag DURING_ROUNDTRIP is set when work on a demand starts and is removed in one of three cases:
Between the end of one round trip and the beginning of another there can be no RELOCATING change of location, but the following can occur: WAITING, performer's BREAK, performer's REST.
A location separates a trip into round trips in one of two cases:
timetable.limits (in this case there can be more than one location separating the trip)PICKUP-type demands (in this case there will be only one location separating the trip)Examples of such locations (depending on the problem statement) include:
For each planning run it is possible to specify a planning configuration that defines the objective function, the desired route quality, and the calculation speed.
The configuration name is passed in the trips_settings.configuration field.
Main configurations:
| Name | Goal |
|---|---|
| optimize_distance | Place as many orders as possible, then optimize the total mileage (the number of transports is chosen based on the mileage); used by default |
| optimize_transports | Place as many orders as possible, while using as little transport as possible; all else being equal, optimize the working time of performers |
| optimize_locality_grouping | Place as many orders as possible, while striving to optimize visual route grouping but not the number of routes |
| optimize_cars_then_distance | Place as many orders as possible, then optimize the number of transports, then the mileage |
| optimize_time | Place as many orders as possible, then optimize the total working time of performers |
| optimize_cars_then_time | Place as many orders as possible, then optimize the number of transports, then the total working time of performers |
| optimize_money | Optimize "reward for completing orders − costs"; consists of rewards for demands and the costs of performers and transports (the optimized value is non-negative) |
Additional configurations:
| Name | Goal |
|---|---|
| visual_grouping | Place as many orders as possible, while using as little transport as possible, with visually grouped routes |
| optimize_visual_grouping | Place as many orders as possible, then evenly distribute orders taking transport accessibility zones into account (similar to visual_grouping but visual grouping is computed differently) |
| optimize_cars_then_locality_grouping | Place as many orders as possible, then optimize the number of transports, then the visual route grouping |
| optimize_cars_then_single_location_grouping_sequenced | Place as many orders as possible, then optimize the number of cars, then reliability |
In addition to the existing planning options, an objective function can be created specifically for a client's business processes (request a configuration).
For development we recommend using optimize_cars_then_distance, as this configuration does not require fine-tuning of tariffs and order costs.
Validation of input data consists of several stages described below.
If a request does not pass schema validation, planning is not started at all and such an error is returned together with code 400 in schema_errors.
We recommend validating the request against the schema (or the yaml file) before sending it to the server.
Data that is correct against the schema goes through the second validation stage to determine whether planning can be started.
Examples of errors at this stage are keys pointing to empty entities, or all orders being incompatible with all performers — i.e. anything that makes the planning task meaningless.
These errors are returned together with code 400 in logical_errors.
At the third stage each entity is checked individually.
All entities that fail the check are removed from the original task and are not sent to planning.
Depending on the treat_warnings_as_errors setting, the results of this type of check are returned in warnings together with code 400, or together with the planning result.
Some checks can only be performed during planning.
For example — that according to the specified tariffs and the current traffic forecast it is physically impossible to drive to a particular point.
The results of these checks are returned in warnings together with the planning result.
Planning — creating trips that take into account all the specified constraints, based on the data about orders, performers and transport.
Planning requests can be executed in synchronous (for testing) and asynchronous (for production use) modes.
To get the result of cleansing the original task, use data cleansing for planning.
Starting trip planning - after loading and checking the data, the process_code is returned.
Using the process_code, you can find out calculation state and get result,
and also cancel calculation and delete temporary data (otherwise they will be automatically deleted according to the ttl specified in the calculation settings).
Launching the asynchronous planning.
required | Array of objects (location_list_required) [ 1 .. 15001 ] items unique List of locations used for orders and shifts. |
required | Array of objects (order_list_required) [ 1 .. 15001 ] items unique List of orders that need to be completed. |
required | Array of objects (performer_list_required) [ 1 .. 15001 ] items unique Available performers list. The performer fulfills orders using transport. |
required | Array of objects (transport_list_required) [ 1 .. 15001 ] items unique Available transports list. Transport is used by the trip performer to fulfill orders. |
Array of objects (hardlink_list) [ 0 .. 15001 ] items unique Assignments list. | |
object (plan_settings) Planning settings. | |
Array of objects (routing_transport_matrix_list) [ 0 .. 16 ] items unique List of matrices of times and distances for each type of transport that are indicated in the data.
The matrix should describe all locations for each type of transport from the data.
When specifying an external routing matrix | |
| dataset_name | string (dataset_name) [ 0 .. 512 ] characters Example: "custom_dataset_one" The name of the dataset. A technical field that does not affect calculation. |
required | object (tracedata) Data for request tracing. |
| process_code required | string <uuid> (process_code) Example: "11111111-2222-3333-4444-555555555555" Process code - calculation identifier. |
{- "locations": [
- {
- "key": "location_client_1",
- "geopoint": {
- "latitude": 35.7048259,
- "longitude": 139.7297071
}
}, - {
- "key": "location_client_2",
- "geopoint": {
- "latitude": 35.71861,
- "longitude": 139.7190533
}
}, - {
- "key": "location_client_3",
- "geopoint": {
- "latitude": 35.7099049,
- "longitude": 139.7265958
}
}, - {
- "key": "location_storage",
- "geopoint": {
- "latitude": 35.7042346,
- "longitude": 139.6531996
}
}
], - "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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-08T07:00:00+00:00"
}
}
]
}
]
}
], - "performers": [
- {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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
}
}
]
}
], - "plan_settings": {
- "trips_settings": {
- "configuration": "optimize_distance"
}, - "geo_settings": {
- "toll_roads": true,
- "traffic_jams": false
}
}
}{- "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": "2026-04-21T09:30:00+03:00"
}, - "process_code": "11111111-2222-3333-4444-555555555555"
}Sync method for trip planning.
Use only for testing and manual plannings.
For production use async method.
New planning request.
required | Array of objects (location_list_required) [ 1 .. 15001 ] items unique List of locations used for orders and shifts. |
required | Array of objects (order_list_required) [ 1 .. 15001 ] items unique List of orders that need to be completed. |
required | Array of objects (performer_list_required) [ 1 .. 15001 ] items unique Available performers list. The performer fulfills orders using transport. |
required | Array of objects (transport_list_required) [ 1 .. 15001 ] items unique Available transports list. Transport is used by the trip performer to fulfill orders. |
Array of objects (hardlink_list) [ 0 .. 15001 ] items unique Assignments list. | |
object (plan_settings) Planning settings. | |
Array of objects (routing_transport_matrix_list) [ 0 .. 16 ] items unique List of matrices of times and distances for each type of transport that are indicated in the data.
The matrix should describe all locations for each type of transport from the data.
When specifying an external routing matrix | |
| dataset_name | string (dataset_name) [ 0 .. 512 ] characters Example: "custom_dataset_one" The name of the dataset. A technical field that does not affect calculation. |
required | object (tracedata) Data for request tracing. |
required | Array of objects (trip_list) [ 0 .. 15001 ] items unique Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a change in the states of the performer. |
required | object (plan_statistics) General statistics on the calculation result. |
additional_attributes (object) or nullable (null) Default: null Additional attributes. | |
Array of objects (entity_warning_list) [ 0 .. 15001 ] items Warning list. | |
object (unplanned_items) Information about unplanned essences. | |
object (removed_items) Information about removed essences. | |
| calculation_progress required | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Calculation progress as a percentage. The progress displays the current number of completed steps. |
required | object (calculation_info) Calculation information. |
{- "locations": [
- {
- "key": "location_client_1",
- "geopoint": {
- "latitude": 35.7048259,
- "longitude": 139.7297071
}
}, - {
- "key": "location_client_2",
- "geopoint": {
- "latitude": 35.71861,
- "longitude": 139.7190533
}
}, - {
- "key": "location_client_3",
- "geopoint": {
- "latitude": 35.7099049,
- "longitude": 139.7265958
}
}, - {
- "key": "location_storage",
- "geopoint": {
- "latitude": 35.7042346,
- "longitude": 139.6531996
}
}
], - "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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-08T07:00:00+00:00"
}
}
]
}
]
}
], - "performers": [
- {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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
}
}
]
}
], - "plan_settings": {
- "trips_settings": {
- "configuration": "optimize_distance"
}, - "geo_settings": {
- "toll_roads": true,
- "traffic_jams": false
}
}
}{- "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": "2026-04-01T11:50:15.123Z"
}, - "trips": [
- {
- "key": "018fcd54-adda-4463-8a24-0f253264223f-performer_1_shift",
- "performer": {
- "performer_key": "performer_1",
- "shift_key": "performer_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T05:40:11Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T05:40:11Z"
}
}, - "states": [
- {
- "time": "2026-04-08T04:42:23Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T04:42:23Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_1",
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T04:42:23Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-08T04:42:23Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_2",
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T04:42:23Z",
- "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": "2026-04-08T04:42:23Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T04:42:23Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:00:00Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:00:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:00:00Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_2",
- "demand_key": "demand_2_drop",
- "event_key": "demand_2_drop_event",
- "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-08T05:10:00Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:13:23Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:13:23Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:13:23Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_3",
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:28:23Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:28:23Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:28:23Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:11Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:11Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:11Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_1",
- "demand_key": "demand_1_drop",
- "event_key": "demand_1_drop_event",
- "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:40:11Z",
- "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"
}
], - "attributes": [ ]
}
], - "name": "1-HVFB",
- "waitlist": [ ],
- "attributes": [ ]
}
], - "statistics": {
- "total_statistics": {
- "cost": 5547.805,
- "reward": 3000.3,
- "profit": 0,
- "measurements": {
- "time_window": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T05:40:11Z"
}, - "driving_time": "PT22M48S",
- "waiting_time": "PT0S",
- "working_time": "PT35M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT57M48S",
- "distance": 7980
}, - "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": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0.007,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "average_speed": 7.98,
- "round_trips_count": 1
}, - "trips_statistics": [
- {
- "trip_key": "018fcd54-adda-4463-8a24-0f253264223f-performer_1_shift",
- "general_statistics": {
- "cost": 5547.805,
- "reward": 3000.3,
- "profit": -2547.505,
- "measurements": {
- "time_window": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T05:40:11Z"
}, - "driving_time": "PT22M48S",
- "waiting_time": "PT0S",
- "working_time": "PT35M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT57M48S",
- "distance": 7980
}, - "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": 7.98,
- "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": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T04:42:23Z"
}
}, - {
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "demand_time_window": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T04:42:23Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T04:42:23Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T04:42:23Z"
}, - "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": "2026-04-08T05:00:00Z",
- "to": "2026-04-08T05:10:00Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T05:00:00Z",
- "to": "2026-04-08T05:10:00Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T05:10:00Z"
}, - "driving_time": "PT17M37S",
- "waiting_time": "PT0S",
- "working_time": "PT10M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT27M37S",
- "distance": 6164
}, - "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_3",
- "stop_demands": [
- {
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "demand_time_window": {
- "from": "2026-04-08T05:13:23Z",
- "to": "2026-04-08T05:28:23Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T05:13:23Z",
- "to": "2026-04-08T05:28:23Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T05:10:00Z",
- "to": "2026-04-08T05:28:23Z"
}, - "driving_time": "PT3M23S",
- "waiting_time": "PT0S",
- "working_time": "PT15M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT18M23S",
- "distance": 1185
}, - "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": 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": 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": "2026-04-08T05:30:11Z",
- "to": "2026-04-08T05:40:11Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T05:30:11Z",
- "to": "2026-04-08T05:40:11Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T05:28:23Z",
- "to": "2026-04-08T05:40:11Z"
}, - "driving_time": "PT1M48S",
- "waiting_time": "PT0S",
- "working_time": "PT10M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT11M48S",
- "distance": 631
}, - "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
}
}
}
]
}
], - "locations_statistics": [ ],
- "task_statistics": {
- "planning_horizon": {
- "from": "2026-04-07T21:00:00Z",
- "to": "2026-04-08T21:00:59Z"
}
}, - "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
}
}
}
}, - "calculation_progress": 100,
- "calculation_info": {
- "status": "FINISHED_IN_TIME",
- "result_version": 106,
- "preparing_time": "PT0S",
- "business_validation_time": "PT0S",
- "math_validation_time": "PT0S",
- "waiting_time": "PT3.04S",
- "calculation_time": "PT1.012S"
}, - "warnings": [ ],
- "unplanned_items": {
- "order_keys": [ ],
- "order_keys_count": 0,
- "performer_keys": [ ],
- "performer_keys_count": 0,
- "transport_keys": [ ],
- "transport_keys_count": 0,
- "hardlink_keys": [ ],
- "hardlink_keys_count": 0
}
}Cancel calculation by the calculation identifier.
| process_code required | string <uuid> (process_code) Example: 11111111-2222-3333-4444-555555555555 Unique process identifier. |
{- "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": "2026-04-28T17:13:27.945583194Z"
}, - "message": "logical error detail",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}Read calculation state by the calculation identifier.
| process_code required | string <uuid> (process_code) Example: 11111111-2222-3333-4444-555555555555 Unique process identifier. |
required | object (tracedata) Data for request tracing. |
| calculation_progress required | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Calculation progress as a percentage. The progress displays the current number of completed steps. |
required | object (calculation_info) Calculation information. |
required | object (tracedata) Data for request tracing. |
| calculation_progress required | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Calculation progress as a percentage. The progress displays the current number of completed steps. |
required | object (calculation_info) Calculation information. |
{- "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": "2026-04-21T09:30:00+03:00"
}, - "calculation_progress": 52,
- "calculation_info": {
- "status": "FINISHED_IN_TIME",
- "message": "detail error message",
- "result_version": 133,
- "preparing_time": "PT1H45M",
- "business_validation_time": "PT1H45M",
- "math_validation_time": "PT1H45M",
- "waiting_time": "PT1H45M",
- "calculation_time": "PT1H45M",
- "postprocessing_time": "PT1H45M"
}
}Getting the planning result based on the calculation identifier.
| process_code required | string <uuid> (process_code) Example: 11111111-2222-3333-4444-555555555555 Unique process identifier. |
required | object (tracedata) Data for request tracing. |
required | Array of objects (trip_list) [ 0 .. 15001 ] items unique Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a change in the states of the performer. |
required | object (plan_statistics) General statistics on the calculation result. |
additional_attributes (object) or nullable (null) Default: null Additional attributes. | |
Array of objects (entity_warning_list) [ 0 .. 15001 ] items Warning list. | |
object (unplanned_items) Information about unplanned essences. | |
object (removed_items) Information about removed essences. | |
| calculation_progress required | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Calculation progress as a percentage. The progress displays the current number of completed steps. |
required | object (calculation_info) Calculation information. |
required | object (tracedata) Data for request tracing. |
required | Array of objects (trip_list) [ 0 .. 15001 ] items unique Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a change in the states of the performer. |
required | object (plan_statistics) General statistics on the calculation result. |
additional_attributes (object) or nullable (null) Default: null Additional attributes. | |
Array of objects (entity_warning_list) [ 0 .. 15001 ] items Warning list. | |
object (unplanned_items) Information about unplanned essences. | |
object (removed_items) Information about removed essences. | |
| calculation_progress required | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Calculation progress as a percentage. The progress displays the current number of completed steps. |
required | object (calculation_info) Calculation information. |
{- "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": "2026-04-01T11:50:15.123Z"
}, - "trips": [
- {
- "key": "018fcd54-adda-4463-8a24-0f253264223f-performer_1_shift",
- "performer": {
- "performer_key": "performer_1",
- "shift_key": "performer_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T05:40:11Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T05:40:11Z"
}
}, - "states": [
- {
- "time": "2026-04-08T04:42:23Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T04:42:23Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_1",
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T04:42:23Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-08T04:42:23Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_2",
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T04:42:23Z",
- "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": "2026-04-08T04:42:23Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T04:42:23Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:00:00Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:00:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:00:00Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_2",
- "demand_key": "demand_2_drop",
- "event_key": "demand_2_drop_event",
- "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-08T05:10:00Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:13:23Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:13:23Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:13:23Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_3",
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:28:23Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:28:23Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:28:23Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:11Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:11Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:11Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_1",
- "demand_key": "demand_1_drop",
- "event_key": "demand_1_drop_event",
- "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:40:11Z",
- "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"
}
], - "attributes": [ ]
}
], - "name": "1-HVFB",
- "waitlist": [ ],
- "attributes": [ ]
}
], - "statistics": {
- "total_statistics": {
- "cost": 5547.805,
- "reward": 3000.3,
- "profit": 0,
- "measurements": {
- "time_window": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T05:40:11Z"
}, - "driving_time": "PT22M48S",
- "waiting_time": "PT0S",
- "working_time": "PT35M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT57M48S",
- "distance": 7980
}, - "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": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0.007,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "average_speed": 7.98,
- "round_trips_count": 1
}, - "trips_statistics": [
- {
- "trip_key": "018fcd54-adda-4463-8a24-0f253264223f-performer_1_shift",
- "general_statistics": {
- "cost": 5547.805,
- "reward": 3000.3,
- "profit": -2547.505,
- "measurements": {
- "time_window": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T05:40:11Z"
}, - "driving_time": "PT22M48S",
- "waiting_time": "PT0S",
- "working_time": "PT35M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT57M48S",
- "distance": 7980
}, - "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": 7.98,
- "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": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T04:42:23Z"
}
}, - {
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "demand_time_window": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T04:42:23Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T04:42:23Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T04:42:23Z"
}, - "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": "2026-04-08T05:00:00Z",
- "to": "2026-04-08T05:10:00Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T05:00:00Z",
- "to": "2026-04-08T05:10:00Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T05:10:00Z"
}, - "driving_time": "PT17M37S",
- "waiting_time": "PT0S",
- "working_time": "PT10M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT27M37S",
- "distance": 6164
}, - "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_3",
- "stop_demands": [
- {
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "demand_time_window": {
- "from": "2026-04-08T05:13:23Z",
- "to": "2026-04-08T05:28:23Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T05:13:23Z",
- "to": "2026-04-08T05:28:23Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T05:10:00Z",
- "to": "2026-04-08T05:28:23Z"
}, - "driving_time": "PT3M23S",
- "waiting_time": "PT0S",
- "working_time": "PT15M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT18M23S",
- "distance": 1185
}, - "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": 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": 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": "2026-04-08T05:30:11Z",
- "to": "2026-04-08T05:40:11Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T05:30:11Z",
- "to": "2026-04-08T05:40:11Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T05:28:23Z",
- "to": "2026-04-08T05:40:11Z"
}, - "driving_time": "PT1M48S",
- "waiting_time": "PT0S",
- "working_time": "PT10M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT11M48S",
- "distance": 631
}, - "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
}
}
}
]
}
], - "locations_statistics": [ ],
- "task_statistics": {
- "planning_horizon": {
- "from": "2026-04-07T21:00:00Z",
- "to": "2026-04-08T21:00:59Z"
}
}, - "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
}
}
}
}, - "calculation_progress": 100,
- "calculation_info": {
- "status": "FINISHED_IN_TIME",
- "result_version": 106,
- "preparing_time": "PT0S",
- "business_validation_time": "PT0S",
- "math_validation_time": "PT0S",
- "waiting_time": "PT3.04S",
- "calculation_time": "PT1.012S"
}, - "warnings": [ ],
- "unplanned_items": {
- "order_keys": [ ],
- "order_keys_count": 0,
- "performer_keys": [ ],
- "performer_keys_count": 0,
- "transport_keys": [ ],
- "transport_keys_count": 0,
- "hardlink_keys": [ ],
- "hardlink_keys_count": 0
}
}Removal of the planning result by the calculation identifier.
| process_code required | string <uuid> (process_code) Example: 11111111-2222-3333-4444-555555555555 Unique process identifier. |
{- "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": "2026-04-28T17:13:27.945583194Z"
}, - "message": "logical error detail",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}Check data before using.
Data for validation.
required | Array of objects (location_list_required) [ 1 .. 15001 ] items unique List of locations used for orders and shifts. |
required | Array of objects (order_list_required) [ 1 .. 15001 ] items unique List of orders that need to be completed. |
required | Array of objects (performer_list_required) [ 1 .. 15001 ] items unique Available performers list. The performer fulfills orders using transport. |
required | Array of objects (transport_list_required) [ 1 .. 15001 ] items unique Available transports list. Transport is used by the trip performer to fulfill orders. |
Array of objects (hardlink_list) [ 0 .. 15001 ] items unique Assignments list. | |
object (plan_settings) Planning settings. | |
Array of objects (routing_transport_matrix_list) [ 0 .. 16 ] items unique List of matrices of times and distances for each type of transport that are indicated in the data.
The matrix should describe all locations for each type of transport from the data.
When specifying an external routing matrix | |
| dataset_name | string (dataset_name) [ 0 .. 512 ] characters Example: "custom_dataset_one" The name of the dataset. A technical field that does not affect calculation. |
required | object (tracedata) Data for request tracing. |
required | Array of objects (entity_warning_list) [ 0 .. 15001 ] items Warning list. |
{- "locations": [
- {
- "key": "location_client_1",
- "geopoint": {
- "latitude": 35.7048259,
- "longitude": 139.7297071
}
}, - {
- "key": "location_client_2",
- "geopoint": {
- "latitude": 35.71861,
- "longitude": 139.7190533
}
}, - {
- "key": "location_client_3",
- "geopoint": {
- "latitude": 35.7099049,
- "longitude": 139.7265958
}
}, - {
- "key": "location_storage",
- "geopoint": {
- "latitude": 35.7042346,
- "longitude": 139.6531996
}
}
], - "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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-08T07:00:00+00:00"
}
}
]
}
]
}
], - "performers": [
- {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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
}
}
]
}
], - "plan_settings": {
- "trips_settings": {
- "configuration": "optimize_distance"
}, - "geo_settings": {
- "toll_roads": true,
- "traffic_jams": false
}
}
}{- "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_validation",
- "time": "2026-04-01T11:50:15.123Z"
}, - "warnings": [
- {
- "type": "NO_AVAILABLE_TRANSPORT",
- "entities": [
- {
- "entity_key": "ord0001",
- "entity_type": "ORDER"
}
]
}
]
}Cleaning up data for planning before calculation - entities that cannot participate in planning are removed from the original dataset:
remove_locations flag)| remove_locations | boolean Default: false Example: remove_locations=true Flag responsible for deleting a location when cleaning data. If |
Data for refine.
required | Array of objects (location_list_required) [ 1 .. 15001 ] items unique List of locations used for orders and shifts. |
required | Array of objects (order_list_required) [ 1 .. 15001 ] items unique List of orders that need to be completed. |
required | Array of objects (performer_list_required) [ 1 .. 15001 ] items unique Available performers list. The performer fulfills orders using transport. |
required | Array of objects (transport_list_required) [ 1 .. 15001 ] items unique Available transports list. Transport is used by the trip performer to fulfill orders. |
Array of objects (hardlink_list) [ 0 .. 15001 ] items unique Assignments list. | |
object (plan_settings) Planning settings. | |
Array of objects (routing_transport_matrix_list) [ 0 .. 16 ] items unique List of matrices of times and distances for each type of transport that are indicated in the data.
The matrix should describe all locations for each type of transport from the data.
When specifying an external routing matrix | |
| dataset_name | string (dataset_name) [ 0 .. 512 ] characters Example: "custom_dataset_one" The name of the dataset. A technical field that does not affect calculation. |
required | object (tracedata) Data for request tracing. |
required | object (plan_task) Task for planning |
Array of objects (entity_warning_list) [ 0 .. 15001 ] items Warning list. | |
object (removed_items) Information about removed essences. |
{- "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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-08T07:00:00+00:00"
}
}
]
}
]
}
], - "performers": [
- {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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
}
}
]
}
], - "plan_settings": {
- "trips_settings": {
- "configuration": "optimize_distance"
}, - "geo_settings": {
- "toll_roads": true,
- "traffic_jams": false
}
}
}{- "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_replan_calculation",
- "time": "2026-04-28T17:06:33.856Z"
}, - "plan_task": {
- "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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-08T07:00:00+00:00"
}
}
]
}
]
}
], - "performers": [
- {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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
}
}
]
}
], - "plan_settings": {
- "trips_settings": {
- "configuration": "optimize_distance"
}, - "geo_settings": {
- "toll_roads": true,
- "traffic_jams": false
}
}
}
}Calculation of statistics for existing trips
New request.
required | Array of objects (location_list_required) [ 1 .. 15001 ] items unique List of locations used for orders and shifts. |
required | Array of objects (order_list_required) [ 1 .. 15001 ] items unique List of orders that need to be completed. |
required | Array of objects (performer_list_required) [ 1 .. 15001 ] items unique Available performers list. The performer fulfills orders using transport. |
required | Array of objects (transport_list_required) [ 1 .. 15001 ] items unique Available transports list. Transport is used by the trip performer to fulfill orders. |
Array of objects (hardlink_list) [ 0 .. 15001 ] items unique Assignments list. | |
required | Array of objects (trip_list_required) [ 1 .. 15001 ] items unique Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a change in the states of the performer. |
object (plan_settings) Planning settings. | |
Array of objects (routing_transport_matrix_list) [ 0 .. 16 ] items unique List of matrices of times and distances for each type of transport that are indicated in the data.
The matrix should describe all locations for each type of transport from the data.
When specifying an external routing matrix | |
| dataset_name | string (dataset_name) [ 0 .. 512 ] characters Example: "custom_dataset_one" The name of the dataset. A technical field that does not affect calculation. |
required | object (tracedata) Data for request tracing. |
required | Array of objects (trip_list) [ 0 .. 15001 ] items unique Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a change in the states of the performer. |
required | object (plan_statistics) General statistics on the calculation result. |
additional_attributes (object) or nullable (null) Default: null Additional attributes. | |
Array of objects (entity_warning_list) [ 0 .. 15001 ] items Warning list. | |
object (unplanned_items) Information about unplanned essences. | |
object (removed_items) Information about removed essences. | |
| calculation_progress required | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Calculation progress as a percentage. The progress displays the current number of completed steps. |
required | object (calculation_info) Calculation information. |
{- "locations": [
- {
- "key": "performer_1_current_location",
- "geopoint": {
- "latitude": 55.720292,
- "longitude": 37.625994
}
}, - {
- "key": "unused_location",
- "geopoint": {
- "latitude": 55.512292,
- "longitude": 37.915934
}
}, - {
- "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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-08T07:00:00+00:00"
}
}
]
}
]
}
], - "performers": [
- {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "trip_for_performer_1",
- "performer": {
- "performer_key": "performer_1",
- "shift_key": "performer_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "states": [
- {
- "time": "2026-04-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-08T05:30:52Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:52Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-08T05:53:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}
], - "waitlist": [ ],
- "attributes": [ ]
}
]
}{- "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": "2026-04-01T11:50:15.123Z"
}, - "trips": [
- {
- "key": "018fcd54-adda-4463-8a24-0f253264223f-performer_1_shift",
- "performer": {
- "performer_key": "performer_1",
- "shift_key": "performer_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T05:40:11Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T05:40:11Z"
}
}, - "states": [
- {
- "time": "2026-04-08T04:42:23Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T04:42:23Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_1",
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T04:42:23Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-08T04:42:23Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_2",
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T04:42:23Z",
- "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": "2026-04-08T04:42:23Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T04:42:23Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:00:00Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:00:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:00:00Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_2",
- "demand_key": "demand_2_drop",
- "event_key": "demand_2_drop_event",
- "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-08T05:10:00Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:13:23Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:13:23Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:13:23Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_3",
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:28:23Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:28:23Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:28:23Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:11Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:11Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:11Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_1",
- "demand_key": "demand_1_drop",
- "event_key": "demand_1_drop_event",
- "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:40:11Z",
- "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"
}
], - "attributes": [ ]
}
], - "name": "1-HVFB",
- "waitlist": [ ],
- "attributes": [ ]
}
], - "statistics": {
- "total_statistics": {
- "cost": 5547.805,
- "reward": 3000.3,
- "profit": 0,
- "measurements": {
- "time_window": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T05:40:11Z"
}, - "driving_time": "PT22M48S",
- "waiting_time": "PT0S",
- "working_time": "PT35M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT57M48S",
- "distance": 7980
}, - "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": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0.007,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "average_speed": 7.98,
- "round_trips_count": 1
}, - "trips_statistics": [
- {
- "trip_key": "018fcd54-adda-4463-8a24-0f253264223f-performer_1_shift",
- "general_statistics": {
- "cost": 5547.805,
- "reward": 3000.3,
- "profit": -2547.505,
- "measurements": {
- "time_window": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T05:40:11Z"
}, - "driving_time": "PT22M48S",
- "waiting_time": "PT0S",
- "working_time": "PT35M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT57M48S",
- "distance": 7980
}, - "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": 7.98,
- "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": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T04:42:23Z"
}
}, - {
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "demand_time_window": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T04:42:23Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T04:42:23Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T04:42:23Z"
}, - "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": "2026-04-08T05:00:00Z",
- "to": "2026-04-08T05:10:00Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T05:00:00Z",
- "to": "2026-04-08T05:10:00Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T04:42:23Z",
- "to": "2026-04-08T05:10:00Z"
}, - "driving_time": "PT17M37S",
- "waiting_time": "PT0S",
- "working_time": "PT10M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT27M37S",
- "distance": 6164
}, - "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_3",
- "stop_demands": [
- {
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "demand_time_window": {
- "from": "2026-04-08T05:13:23Z",
- "to": "2026-04-08T05:28:23Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T05:13:23Z",
- "to": "2026-04-08T05:28:23Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T05:10:00Z",
- "to": "2026-04-08T05:28:23Z"
}, - "driving_time": "PT3M23S",
- "waiting_time": "PT0S",
- "working_time": "PT15M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT18M23S",
- "distance": 1185
}, - "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": 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": 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": "2026-04-08T05:30:11Z",
- "to": "2026-04-08T05:40:11Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T05:30:11Z",
- "to": "2026-04-08T05:40:11Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T05:28:23Z",
- "to": "2026-04-08T05:40:11Z"
}, - "driving_time": "PT1M48S",
- "waiting_time": "PT0S",
- "working_time": "PT10M",
- "break_time": "PT0S",
- "rest_time": "PT0S",
- "arriving_time": "PT0S",
- "departure_time": "PT0S",
- "total_time": "PT11M48S",
- "distance": 631
}, - "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
}
}
}
]
}
], - "locations_statistics": [ ],
- "task_statistics": {
- "planning_horizon": {
- "from": "2026-04-07T21:00:00Z",
- "to": "2026-04-08T21:00:59Z"
}
}, - "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
}
}
}
}, - "calculation_progress": 100,
- "calculation_info": {
- "status": "FINISHED_IN_TIME",
- "result_version": 106,
- "preparing_time": "PT0S",
- "business_validation_time": "PT0S",
- "math_validation_time": "PT0S",
- "waiting_time": "PT3.04S",
- "calculation_time": "PT1.012S"
}, - "warnings": [ ],
- "unplanned_items": {
- "order_keys": [ ],
- "order_keys_count": 0,
- "performer_keys": [ ],
- "performer_keys_count": 0,
- "transport_keys": [ ],
- "transport_keys_count": 0,
- "hardlink_keys": [ ],
- "hardlink_keys_count": 0
}
}Trip actualization — updating the planned execution time of orders, taking facts into account and without changing the visiting order.
Actualization runs in three stages — validation, applying facts, and planning the times of the unfinished trip states.
To get the result of cleansing and applying facts to the original task, use the data cleansing function.
The trips obtained as a result of actualization do not change performers, transport, or the order of order execution; they contain only the work that is left to be done.
Orders that cannot be performed remain assigned to the performer and end up in the waitlist.
Accounting for existing trips:
hardlink assignments — i.e. the performer's and transport's shifts assigned to a trip cannot be used in other trips.precedence_in_trip; if these demands already had an execution order specified — it will be overwritten.Accounting for the current time:
actualize_settings.current_time is not specified in the data — the time the request is received by the server is used.actualize_settings.max_delay_duration is added to the right boundary of all events' and shifts' time windows.Accounting for facts:
actualize_settings.current_time (by the time field) are taken into account; how much earlier than the current time the fact occurred is not relevant.time field is taken into account.Accounting for the location-change fact NEW_LOCATION:
locations must contain a location (existing or new) that describes the performer's new location.start_location_key is changed for both the performer and the transport.Accounting for the order-completion fact ORDER_DONE:
Accounting for facts about the start of work on a demand DEMAND_START:
DEMAND_START fact is allowed (it is closed by a DEMAND_DONE fact) — since a performer can only perform one demand at a moment in time.DEMAND_START fact and actualize_settings.current_time).Accounting for facts of partial order completion DEMAND_DONE:
ORDER_DONE fact).WORK-type demand has been completed — the demand is removed from the order.DROP-type demand has been completed — the demand and its cargos, as well as the matching PICKUP-type demand, are removed from the order.DROP_FROM_BOX-type demand has been completed — the demand and its cargo are removed from the order.PICKUP-type demand of the order has been completed — the matching DROP-type demands will be transformed into DROP_FROM_BOX-type demands.PICKUP_TO_BOX-type demand has been completed — the demand and the cargo are removed and the corresponding box's capacity of the transport is decreased (no compatibility changes are made).Start updating existing trips - after loading and checking the data, the calculation identifier process_code is returned.
Using process_code you can find out calculation state and get result,
and also cancel calculation and delete temporary data (otherwise they will be automatically deleted according to the ttl specified in the calculation settings).
An actualize task can be transformed into a planning task using data processing.
Starting the asynchronous actualize process.
required | Array of objects (location_list_required) [ 1 .. 15001 ] items unique List of locations used for orders and shifts. |
required | Array of objects (order_list_required) [ 1 .. 15001 ] items unique List of orders that need to be completed. |
required | Array of objects (performer_list_required) [ 1 .. 15001 ] items unique Available performers list. The performer fulfills orders using transport. |
required | Array of objects (transport_list_required) [ 1 .. 15001 ] items unique Available transports list. Transport is used by the trip performer to fulfill orders. |
required | Array of objects (trip_list_required) [ 1 .. 15001 ] items unique Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a change in the states of the performer. |
Array of objects (fact_list) [ 0 .. 15001 ] items unique Trip list. A fact is an event that has occurred that affects further trip operations. | |
Array of objects (routing_transport_matrix_list) [ 0 .. 16 ] items unique List of matrices of times and distances for each type of transport that are indicated in the data.
The matrix should describe all locations for each type of transport from the data.
When specifying an external routing matrix | |
object (plan_settings) Planning settings. | |
object (actualize_settings) Actualize settings. | |
| dataset_name | string (dataset_name) [ 0 .. 512 ] characters Example: "custom_dataset_one" The name of the dataset. A technical field that does not affect calculation. |
required | object (tracedata) Data for request tracing. |
| process_code required | string <uuid> (process_code) Example: "11111111-2222-3333-4444-555555555555" Process code - calculation identifier. |
{- "locations": [
- {
- "key": "performer_1_current_location",
- "geopoint": {
- "latitude": 55.720292,
- "longitude": 37.625994
}
}, - {
- "key": "unused_location",
- "geopoint": {
- "latitude": 55.512292,
- "longitude": 37.915934
}
}, - {
- "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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-08T07:00:00+00:00"
}
}
]
}
]
}
], - "performers": [
- {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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
}
}
]
}
], - "facts": [
- {
- "key": "fact_01",
- "type": "NEW_LOCATION",
- "time": "2026-04-07T22:00:00Z",
- "trip_key": "trip_for_performer_1",
- "performer_key": "performer_1",
- "location_key": "performer_1_current_location"
}
], - "trips": [
- {
- "key": "trip_for_performer_1",
- "performer": {
- "performer_key": "performer_1",
- "shift_key": "performer_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "states": [
- {
- "time": "2026-04-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-08T05:30:52Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:52Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-08T05:53:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}
], - "waitlist": [ ],
- "attributes": [ ]
}
], - "actualize_settings": {
- "current_time": "2026-04-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}
}{- "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": "2026-04-21T09:30:00+03:00"
}, - "process_code": "11111111-2222-3333-4444-555555555555"
}Sync method for trips actualization.
Use only for testing and manual plannings.
For production use async method.
New request for actualization.
required | Array of objects (location_list_required) [ 1 .. 15001 ] items unique List of locations used for orders and shifts. |
required | Array of objects (order_list_required) [ 1 .. 15001 ] items unique List of orders that need to be completed. |
required | Array of objects (performer_list_required) [ 1 .. 15001 ] items unique Available performers list. The performer fulfills orders using transport. |
required | Array of objects (transport_list_required) [ 1 .. 15001 ] items unique Available transports list. Transport is used by the trip performer to fulfill orders. |
required | Array of objects (trip_list_required) [ 1 .. 15001 ] items unique Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a change in the states of the performer. |
Array of objects (fact_list) [ 0 .. 15001 ] items unique Trip list. A fact is an event that has occurred that affects further trip operations. | |
Array of objects (routing_transport_matrix_list) [ 0 .. 16 ] items unique List of matrices of times and distances for each type of transport that are indicated in the data.
The matrix should describe all locations for each type of transport from the data.
When specifying an external routing matrix | |
object (plan_settings) Planning settings. | |
object (actualize_settings) Actualize settings. | |
| dataset_name | string (dataset_name) [ 0 .. 512 ] characters Example: "custom_dataset_one" The name of the dataset. A technical field that does not affect calculation. |
required | object (tracedata) Data for request tracing. |
required | Array of objects (trip_list) [ 0 .. 15001 ] items unique Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a change in the states of the performer. |
required | object (plan_statistics) General statistics on the calculation result. |
additional_attributes (object) or nullable (null) Default: null Additional attributes. | |
Array of objects (entity_warning_list) [ 0 .. 15001 ] items Warning list. | |
object (unplanned_items) Information about unplanned essences. | |
object (removed_items) Information about removed essences. | |
| calculation_progress required | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Calculation progress as a percentage. The progress displays the current number of completed steps. |
required | object (calculation_info) Calculation information. |
{- "locations": [
- {
- "key": "performer_1_current_location",
- "geopoint": {
- "latitude": 55.720292,
- "longitude": 37.625994
}
}, - {
- "key": "unused_location",
- "geopoint": {
- "latitude": 55.512292,
- "longitude": 37.915934
}
}, - {
- "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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-08T07:00:00+00:00"
}
}
]
}
]
}
], - "performers": [
- {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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
}
}
]
}
], - "facts": [
- {
- "key": "fact_01",
- "type": "NEW_LOCATION",
- "time": "2026-04-07T22:00:00Z",
- "trip_key": "trip_for_performer_1",
- "performer_key": "performer_1",
- "location_key": "performer_1_current_location"
}
], - "trips": [
- {
- "key": "trip_for_performer_1",
- "performer": {
- "performer_key": "performer_1",
- "shift_key": "performer_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "states": [
- {
- "time": "2026-04-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-08T05:30:52Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:52Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-08T05:53:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}
], - "waitlist": [ ],
- "attributes": [ ]
}
], - "actualize_settings": {
- "current_time": "2026-04-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}
}{- "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_actualize_calculation",
- "time": "2026-04-28T17:06:33.856Z"
}, - "trips": [
- {
- "key": "d56f86e9-c50a-40d3-b5ef-616eacc98db0-performer_1_shift",
- "performer": {
- "performer_key": "performer_1",
- "shift_key": "performer_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-08T05:53:49Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-08T05:53:49Z"
}
}, - "states": [
- {
- "time": "2026-04-08T04:39:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T04:39:34Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_2",
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-08T04:39:34Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_1",
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-08T04:39:34Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T04:39:34Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:00:00Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:00:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:00:00Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_2",
- "demand_key": "demand_2_drop",
- "event_key": "demand_2_drop_event",
- "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-08T05:10:00Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:20:56Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:20:56Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:20:56Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_1",
- "demand_key": "demand_1_drop",
- "event_key": "demand_1_drop_event",
- "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:56Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:56Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:49Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:49Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:49Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_3",
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:53:49Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}
], - "name": "1-HVFB",
- "waitlist": [ ],
- "attributes": [ ]
}
], - "statistics": {
- "total_statistics": {
- "cost": 6795.37,
- "reward": 3000.3,
- "profit": 0,
- "measurements": {
- "time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-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": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0.007,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "average_speed": 34.037,
- "round_trips_count": 1
}, - "trips_statistics": [
- {
- "trip_key": "d56f86e9-c50a-40d3-b5ef-616eacc98db0-performer_1_shift",
- "general_statistics": {
- "cost": 6795.37,
- "reward": 3000.3,
- "profit": -3795.07,
- "measurements": {
- "time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-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": 34.037,
- "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_2_pickup",
- "event_key": "demand_2_pickup_event",
- "demand_time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-08T04:39:34Z"
}
}, - {
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "demand_time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-08T04:39:34Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-08T04:39:34Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-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": "2026-04-08T05:00:00Z",
- "to": "2026-04-08T05:10:00Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T05:00:00Z",
- "to": "2026-04-08T05:10:00Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-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": "2026-04-08T05:20:56Z",
- "to": "2026-04-08T05:30:56Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T05:20:56Z",
- "to": "2026-04-08T05:30:56Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T05:10:00Z",
- "to": "2026-04-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": "2026-04-08T05:38:49Z",
- "to": "2026-04-08T05:53:49Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T05:38:49Z",
- "to": "2026-04-08T05:53:49Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T05:30:56Z",
- "to": "2026-04-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
}
}
}
]
}
], - "locations_statistics": [ ],
- "task_statistics": {
- "planning_horizon": {
- "from": "2026-04-07T21:00:00Z",
- "to": "2026-04-08T21:00:59Z"
}
}, - "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
}
}
}
}, - "calculation_progress": 100,
- "calculation_info": {
- "status": "FINISHED_IN_TIME",
- "result_version": 106,
- "preparing_time": "PT0S",
- "business_validation_time": "PT0S",
- "math_validation_time": "PT0S",
- "waiting_time": "PT4.022S",
- "calculation_time": "PT1.012S"
}, - "warnings": [ ],
- "unplanned_items": {
- "order_keys": [ ],
- "order_keys_count": 0,
- "performer_keys": [ ],
- "performer_keys_count": 0,
- "transport_keys": [ ],
- "transport_keys_count": 0,
- "hardlink_keys": [ ],
- "hardlink_keys_count": 0
}
}Cancel calculation by the calculation identifier.
| process_code required | string <uuid> (process_code) Example: 11111111-2222-3333-4444-555555555555 Unique process identifier. |
{- "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": "2026-04-28T17:13:27.945583194Z"
}, - "message": "logical error detail",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}Read calculation state by the calculation identifier.
| process_code required | string <uuid> (process_code) Example: 11111111-2222-3333-4444-555555555555 Unique process identifier. |
required | object (tracedata) Data for request tracing. |
| calculation_progress required | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Calculation progress as a percentage. The progress displays the current number of completed steps. |
required | object (calculation_info) Calculation information. |
required | object (tracedata) Data for request tracing. |
| calculation_progress required | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Calculation progress as a percentage. The progress displays the current number of completed steps. |
required | object (calculation_info) Calculation information. |
{- "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": "2026-04-21T09:30:00+03:00"
}, - "calculation_progress": 52,
- "calculation_info": {
- "status": "FINISHED_IN_TIME",
- "message": "detail error message",
- "result_version": 133,
- "preparing_time": "PT1H45M",
- "business_validation_time": "PT1H45M",
- "math_validation_time": "PT1H45M",
- "waiting_time": "PT1H45M",
- "calculation_time": "PT1H45M",
- "postprocessing_time": "PT1H45M"
}
}Getting the planning result based on the calculation identifier.
| process_code required | string <uuid> (process_code) Example: 11111111-2222-3333-4444-555555555555 Unique process identifier. |
required | object (tracedata) Data for request tracing. |
required | Array of objects (trip_list) [ 0 .. 15001 ] items unique Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a change in the states of the performer. |
required | object (plan_statistics) General statistics on the calculation result. |
additional_attributes (object) or nullable (null) Default: null Additional attributes. | |
Array of objects (entity_warning_list) [ 0 .. 15001 ] items Warning list. | |
object (unplanned_items) Information about unplanned essences. | |
object (removed_items) Information about removed essences. | |
| calculation_progress required | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Calculation progress as a percentage. The progress displays the current number of completed steps. |
required | object (calculation_info) Calculation information. |
required | object (tracedata) Data for request tracing. |
required | Array of objects (trip_list) [ 0 .. 15001 ] items unique Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a change in the states of the performer. |
required | object (plan_statistics) General statistics on the calculation result. |
additional_attributes (object) or nullable (null) Default: null Additional attributes. | |
Array of objects (entity_warning_list) [ 0 .. 15001 ] items Warning list. | |
object (unplanned_items) Information about unplanned essences. | |
object (removed_items) Information about removed essences. | |
| calculation_progress required | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Calculation progress as a percentage. The progress displays the current number of completed steps. |
required | object (calculation_info) Calculation information. |
{- "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_actualize_calculation",
- "time": "2026-04-28T17:06:33.856Z"
}, - "trips": [
- {
- "key": "d56f86e9-c50a-40d3-b5ef-616eacc98db0-performer_1_shift",
- "performer": {
- "performer_key": "performer_1",
- "shift_key": "performer_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-08T05:53:49Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-08T05:53:49Z"
}
}, - "states": [
- {
- "time": "2026-04-08T04:39:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T04:39:34Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_2",
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-08T04:39:34Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_1",
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-08T04:39:34Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T04:39:34Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:00:00Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:00:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:00:00Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_2",
- "demand_key": "demand_2_drop",
- "event_key": "demand_2_drop_event",
- "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-08T05:10:00Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:20:56Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:20:56Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:20:56Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_1",
- "demand_key": "demand_1_drop",
- "event_key": "demand_1_drop_event",
- "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:56Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:56Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:49Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:49Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:49Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_3",
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:53:49Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}
], - "name": "1-HVFB",
- "waitlist": [ ],
- "attributes": [ ]
}
], - "statistics": {
- "total_statistics": {
- "cost": 6795.37,
- "reward": 3000.3,
- "profit": 0,
- "measurements": {
- "time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-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": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0.007,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "average_speed": 34.037,
- "round_trips_count": 1
}, - "trips_statistics": [
- {
- "trip_key": "d56f86e9-c50a-40d3-b5ef-616eacc98db0-performer_1_shift",
- "general_statistics": {
- "cost": 6795.37,
- "reward": 3000.3,
- "profit": -3795.07,
- "measurements": {
- "time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-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": 34.037,
- "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_2_pickup",
- "event_key": "demand_2_pickup_event",
- "demand_time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-08T04:39:34Z"
}
}, - {
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "demand_time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-08T04:39:34Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-08T04:39:34Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-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": "2026-04-08T05:00:00Z",
- "to": "2026-04-08T05:10:00Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T05:00:00Z",
- "to": "2026-04-08T05:10:00Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-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": "2026-04-08T05:20:56Z",
- "to": "2026-04-08T05:30:56Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T05:20:56Z",
- "to": "2026-04-08T05:30:56Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T05:10:00Z",
- "to": "2026-04-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": "2026-04-08T05:38:49Z",
- "to": "2026-04-08T05:53:49Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T05:38:49Z",
- "to": "2026-04-08T05:53:49Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T05:30:56Z",
- "to": "2026-04-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
}
}
}
]
}
], - "locations_statistics": [ ],
- "task_statistics": {
- "planning_horizon": {
- "from": "2026-04-07T21:00:00Z",
- "to": "2026-04-08T21:00:59Z"
}
}, - "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
}
}
}
}, - "calculation_progress": 100,
- "calculation_info": {
- "status": "FINISHED_IN_TIME",
- "result_version": 106,
- "preparing_time": "PT0S",
- "business_validation_time": "PT0S",
- "math_validation_time": "PT0S",
- "waiting_time": "PT4.022S",
- "calculation_time": "PT1.012S"
}, - "warnings": [ ],
- "unplanned_items": {
- "order_keys": [ ],
- "order_keys_count": 0,
- "performer_keys": [ ],
- "performer_keys_count": 0,
- "transport_keys": [ ],
- "transport_keys_count": 0,
- "hardlink_keys": [ ],
- "hardlink_keys_count": 0
}
}Removal of the planning result by the calculation identifier.
| process_code required | string <uuid> (process_code) Example: 11111111-2222-3333-4444-555555555555 Unique process identifier. |
{- "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": "2026-04-28T17:13:27.945583194Z"
}, - "message": "logical error detail",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}Check data before using.
Data for validation.
required | Array of objects (location_list_required) [ 1 .. 15001 ] items unique List of locations used for orders and shifts. |
required | Array of objects (order_list_required) [ 1 .. 15001 ] items unique List of orders that need to be completed. |
required | Array of objects (performer_list_required) [ 1 .. 15001 ] items unique Available performers list. The performer fulfills orders using transport. |
required | Array of objects (transport_list_required) [ 1 .. 15001 ] items unique Available transports list. Transport is used by the trip performer to fulfill orders. |
required | Array of objects (trip_list_required) [ 1 .. 15001 ] items unique Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a change in the states of the performer. |
Array of objects (fact_list) [ 0 .. 15001 ] items unique Trip list. A fact is an event that has occurred that affects further trip operations. | |
Array of objects (routing_transport_matrix_list) [ 0 .. 16 ] items unique List of matrices of times and distances for each type of transport that are indicated in the data.
The matrix should describe all locations for each type of transport from the data.
When specifying an external routing matrix | |
object (plan_settings) Planning settings. | |
object (actualize_settings) Actualize settings. | |
| dataset_name | string (dataset_name) [ 0 .. 512 ] characters Example: "custom_dataset_one" The name of the dataset. A technical field that does not affect calculation. |
required | object (tracedata) Data for request tracing. |
required | Array of objects (entity_warning_list) [ 0 .. 15001 ] items Warning list. |
{- "locations": [
- {
- "key": "performer_1_current_location",
- "geopoint": {
- "latitude": 55.720292,
- "longitude": 37.625994
}
}, - {
- "key": "unused_location",
- "geopoint": {
- "latitude": 55.512292,
- "longitude": 37.915934
}
}, - {
- "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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-08T07:00:00+00:00"
}
}
]
}
]
}
], - "performers": [
- {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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
}
}
]
}
], - "facts": [
- {
- "key": "fact_01",
- "type": "NEW_LOCATION",
- "time": "2026-04-07T22:00:00Z",
- "trip_key": "trip_for_performer_1",
- "performer_key": "performer_1",
- "location_key": "performer_1_current_location"
}
], - "trips": [
- {
- "key": "trip_for_performer_1",
- "performer": {
- "performer_key": "performer_1",
- "shift_key": "performer_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "states": [
- {
- "time": "2026-04-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-08T05:30:52Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:52Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-08T05:53:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}
], - "waitlist": [ ],
- "attributes": [ ]
}
], - "actualize_settings": {
- "current_time": "2026-04-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}
}{- "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_validation",
- "time": "2026-04-01T11:50:15.123Z"
}, - "warnings": [
- {
- "type": "NO_AVAILABLE_TRANSPORT",
- "entities": [
- {
- "entity_key": "ord0001",
- "entity_type": "ORDER"
}
]
}
]
}Cleaning data for actualization before calculation:
actualize_settings.current_time are removed.As a result, a task for planning is returned.
| remove_locations | boolean Default: false Example: remove_locations=true Flag responsible for deleting a location when cleaning data. If |
Data for refine.
required | Array of objects (location_list_required) [ 1 .. 15001 ] items unique List of locations used for orders and shifts. |
required | Array of objects (order_list_required) [ 1 .. 15001 ] items unique List of orders that need to be completed. |
required | Array of objects (performer_list_required) [ 1 .. 15001 ] items unique Available performers list. The performer fulfills orders using transport. |
required | Array of objects (transport_list_required) [ 1 .. 15001 ] items unique Available transports list. Transport is used by the trip performer to fulfill orders. |
required | Array of objects (trip_list_required) [ 1 .. 15001 ] items unique Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a change in the states of the performer. |
Array of objects (fact_list) [ 0 .. 15001 ] items unique Trip list. A fact is an event that has occurred that affects further trip operations. | |
Array of objects (routing_transport_matrix_list) [ 0 .. 16 ] items unique List of matrices of times and distances for each type of transport that are indicated in the data.
The matrix should describe all locations for each type of transport from the data.
When specifying an external routing matrix | |
object (plan_settings) Planning settings. | |
object (actualize_settings) Actualize settings. | |
| dataset_name | string (dataset_name) [ 0 .. 512 ] characters Example: "custom_dataset_one" The name of the dataset. A technical field that does not affect calculation. |
required | object (tracedata) Data for request tracing. |
required | object (plan_task) Task for planning |
Array of objects (entity_warning_list) [ 0 .. 15001 ] items Warning list. | |
object (removed_items) Information about removed essences. |
{- "locations": [
- {
- "key": "performer_1_current_location",
- "geopoint": {
- "latitude": 55.720292,
- "longitude": 37.625994
}
}, - {
- "key": "unused_location",
- "geopoint": {
- "latitude": 55.512292,
- "longitude": 37.915934
}
}, - {
- "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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-08T07:00:00+00:00"
}
}
]
}
]
}
], - "performers": [
- {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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
}
}
]
}
], - "facts": [
- {
- "key": "fact_01",
- "type": "NEW_LOCATION",
- "time": "2026-04-07T22:00:00Z",
- "trip_key": "trip_for_performer_1",
- "performer_key": "performer_1",
- "location_key": "performer_1_current_location"
}
], - "trips": [
- {
- "key": "trip_for_performer_1",
- "performer": {
- "performer_key": "performer_1",
- "shift_key": "performer_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "states": [
- {
- "time": "2026-04-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-08T05:30:52Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:52Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-08T05:53:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}
], - "waitlist": [ ],
- "attributes": [ ]
}
], - "actualize_settings": {
- "current_time": "2026-04-07T22:30:00Z",
- "max_delay_duration": "PT1H"
}
}{- "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_replan_calculation",
- "time": "2026-04-28T17:06:33.856Z"
}, - "plan_task": {
- "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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-08T07:00:00+00:00"
}
}
]
}
]
}
], - "performers": [
- {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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
}
}
]
}
], - "plan_settings": {
- "trips_settings": {
- "configuration": "optimize_distance"
}, - "geo_settings": {
- "toll_roads": true,
- "traffic_jams": false
}
}
}
}Replanning — creating new trips on the basis of already existing trips, taking facts into account.
Replanning runs in several stages — validation, applying facts and creating planning constraints based on the existing trips, planning.
Depending on the replanning settings, the task can be reduced to planning (when everything is allowed: reorder: true, plan_new_orders: true, create_new_trips: true) or to actualization (when everything is forbidden: reorder: false, plan_new_orders: false, create_new_trips: false).
Orders that cannot be performed remain assigned to the performer and end up in the waitlist.
Accounting for existing trips, the current time and the order of applying facts — uses the logic from actualization, taking the chosen strategy into account:
| reorder | boolean Default: false Example: "true" Activate trip actions reorder. |
| plan_new_orders | boolean Default: false Example: "true" Ability to plan new orders into existing or new trips (if the |
| create_new_trips | boolean Default: false Example: "true" Activate new trips creation. |
{- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}Starting trip replanning - changing existing and creating new trips based on the facts and data about orders, performers and transport.
After loading and checking the data, the process_code is returned.
Using the process_code, you can find out calculation state and get result,
and also cancel calculation and delete temporary data (otherwise they will be automatically deleted according to the ttl specified in the calculation settings).
An replan task can be transformed into a plan task using data processing.
Launching the asynchronous replanning.
required | Array of objects (location_list_required) [ 1 .. 15001 ] items unique List of locations used for orders and shifts. |
required | Array of objects (order_list_required) [ 1 .. 15001 ] items unique List of orders that need to be completed. |
required | Array of objects (performer_list_required) [ 1 .. 15001 ] items unique Available performers list. The performer fulfills orders using transport. |
required | Array of objects (transport_list_required) [ 1 .. 15001 ] items unique Available transports list. Transport is used by the trip performer to fulfill orders. |
Array of objects (hardlink_list) [ 0 .. 15001 ] items unique Assignments list. | |
required | Array of objects (trip_list_required) [ 1 .. 15001 ] items unique Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a change in the states of the performer. |
Array of objects (fact_list) [ 0 .. 15001 ] items unique Trip list. A fact is an event that has occurred that affects further trip operations. | |
Array of objects (routing_transport_matrix_list) [ 0 .. 16 ] items unique List of matrices of times and distances for each type of transport that are indicated in the data.
The matrix should describe all locations for each type of transport from the data.
When specifying an external routing matrix | |
object (plan_settings) Planning settings. | |
object (actualize_settings) Actualize settings. | |
object (replan_settings) Replanning settings. | |
| dataset_name | string (dataset_name) [ 0 .. 512 ] characters Example: "custom_dataset_one" The name of the dataset. A technical field that does not affect calculation. |
required | object (tracedata) Data for request tracing. |
| process_code required | string <uuid> (process_code) Example: "11111111-2222-3333-4444-555555555555" Process code - calculation identifier. |
{- "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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-08T07:00:00+00:00"
}
}
]
}
]
}
], - "performers": [
- {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "states": [
- {
- "time": "2026-04-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-08T05:30:52Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:52Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-08T05:53:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}
], - "waitlist": [ ],
- "attributes": [ ]
}
]
}{- "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": "2026-04-21T09:30:00+03:00"
}, - "process_code": "11111111-2222-3333-4444-555555555555"
}Sync method for trips replanning.
Use only for testing and manual plannings.
For production use async method.
New replanning request.
required | Array of objects (location_list_required) [ 1 .. 15001 ] items unique List of locations used for orders and shifts. |
required | Array of objects (order_list_required) [ 1 .. 15001 ] items unique List of orders that need to be completed. |
required | Array of objects (performer_list_required) [ 1 .. 15001 ] items unique Available performers list. The performer fulfills orders using transport. |
required | Array of objects (transport_list_required) [ 1 .. 15001 ] items unique Available transports list. Transport is used by the trip performer to fulfill orders. |
Array of objects (hardlink_list) [ 0 .. 15001 ] items unique Assignments list. | |
required | Array of objects (trip_list_required) [ 1 .. 15001 ] items unique Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a change in the states of the performer. |
Array of objects (fact_list) [ 0 .. 15001 ] items unique Trip list. A fact is an event that has occurred that affects further trip operations. | |
Array of objects (routing_transport_matrix_list) [ 0 .. 16 ] items unique List of matrices of times and distances for each type of transport that are indicated in the data.
The matrix should describe all locations for each type of transport from the data.
When specifying an external routing matrix | |
object (plan_settings) Planning settings. | |
object (actualize_settings) Actualize settings. | |
object (replan_settings) Replanning settings. | |
| dataset_name | string (dataset_name) [ 0 .. 512 ] characters Example: "custom_dataset_one" The name of the dataset. A technical field that does not affect calculation. |
required | object (tracedata) Data for request tracing. |
required | Array of objects (trip_list) [ 0 .. 15001 ] items unique Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a change in the states of the performer. |
required | object (plan_statistics) General statistics on the calculation result. |
additional_attributes (object) or nullable (null) Default: null Additional attributes. | |
Array of objects (entity_warning_list) [ 0 .. 15001 ] items Warning list. | |
object (unplanned_items) Information about unplanned essences. | |
object (removed_items) Information about removed essences. | |
| calculation_progress required | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Calculation progress as a percentage. The progress displays the current number of completed steps. |
required | object (calculation_info) Calculation information. |
{- "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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-08T07:00:00+00:00"
}
}
]
}
]
}
], - "performers": [
- {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "states": [
- {
- "time": "2026-04-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-08T05:30:52Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:52Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-08T05:53:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}
], - "waitlist": [ ],
- "attributes": [ ]
}
]
}{- "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_replan_calculation",
- "time": "2026-04-28T17:06:33.856Z"
}, - "trips": [
- {
- "key": "d56f86e9-c50a-40d3-b5ef-616eacc98db0-performer_1_shift",
- "performer": {
- "performer_key": "performer_1",
- "shift_key": "performer_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-08T05:53:49Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-08T05:53:49Z"
}
}, - "states": [
- {
- "time": "2026-04-08T04:39:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T04:39:34Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_2",
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-08T04:39:34Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_1",
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-08T04:39:34Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T04:39:34Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:00:00Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:00:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:00:00Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_2",
- "demand_key": "demand_2_drop",
- "event_key": "demand_2_drop_event",
- "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-08T05:10:00Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:20:56Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:20:56Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:20:56Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_1",
- "demand_key": "demand_1_drop",
- "event_key": "demand_1_drop_event",
- "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:56Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:56Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:49Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:49Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:49Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_3",
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:53:49Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}
], - "name": "1-HVFB",
- "waitlist": [ ],
- "attributes": [ ]
}
], - "statistics": {
- "total_statistics": {
- "cost": 6795.37,
- "reward": 3000.3,
- "profit": 0,
- "measurements": {
- "time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-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": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0.007,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "average_speed": 34.037,
- "round_trips_count": 1
}, - "trips_statistics": [
- {
- "trip_key": "d56f86e9-c50a-40d3-b5ef-616eacc98db0-performer_1_shift",
- "general_statistics": {
- "cost": 6795.37,
- "reward": 3000.3,
- "profit": -3795.07,
- "measurements": {
- "time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-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": 34.037,
- "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_2_pickup",
- "event_key": "demand_2_pickup_event",
- "demand_time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-08T04:39:34Z"
}
}, - {
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "demand_time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-08T04:39:34Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-08T04:39:34Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-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": "2026-04-08T05:00:00Z",
- "to": "2026-04-08T05:10:00Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T05:00:00Z",
- "to": "2026-04-08T05:10:00Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-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": "2026-04-08T05:20:56Z",
- "to": "2026-04-08T05:30:56Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T05:20:56Z",
- "to": "2026-04-08T05:30:56Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T05:10:00Z",
- "to": "2026-04-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": "2026-04-08T05:38:49Z",
- "to": "2026-04-08T05:53:49Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T05:38:49Z",
- "to": "2026-04-08T05:53:49Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T05:30:56Z",
- "to": "2026-04-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
}
}
}
]
}
], - "locations_statistics": [ ],
- "task_statistics": {
- "planning_horizon": {
- "from": "2026-04-07T21:00:00Z",
- "to": "2026-04-08T21:00:59Z"
}
}, - "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
}
}
}
}, - "calculation_progress": 100,
- "calculation_info": {
- "status": "FINISHED_IN_TIME",
- "result_version": 106,
- "preparing_time": "PT0S",
- "business_validation_time": "PT0S",
- "math_validation_time": "PT0S",
- "waiting_time": "PT4.022S",
- "calculation_time": "PT1.012S"
}, - "warnings": [ ],
- "unplanned_items": {
- "order_keys": [ ],
- "order_keys_count": 0,
- "performer_keys": [ ],
- "performer_keys_count": 0,
- "transport_keys": [ ],
- "transport_keys_count": 0,
- "hardlink_keys": [ ],
- "hardlink_keys_count": 0
}
}Cancel calculation by the calculation identifier.
| process_code required | string <uuid> (process_code) Example: 11111111-2222-3333-4444-555555555555 Unique process identifier. |
{- "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": "2026-04-28T17:13:27.945583194Z"
}, - "message": "logical error detail",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}Read calculation state by the calculation identifier.
| process_code required | string <uuid> (process_code) Example: 11111111-2222-3333-4444-555555555555 Unique process identifier. |
required | object (tracedata) Data for request tracing. |
| calculation_progress required | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Calculation progress as a percentage. The progress displays the current number of completed steps. |
required | object (calculation_info) Calculation information. |
required | object (tracedata) Data for request tracing. |
| calculation_progress required | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Calculation progress as a percentage. The progress displays the current number of completed steps. |
required | object (calculation_info) Calculation information. |
{- "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": "2026-04-21T09:30:00+03:00"
}, - "calculation_progress": 52,
- "calculation_info": {
- "status": "FINISHED_IN_TIME",
- "message": "detail error message",
- "result_version": 133,
- "preparing_time": "PT1H45M",
- "business_validation_time": "PT1H45M",
- "math_validation_time": "PT1H45M",
- "waiting_time": "PT1H45M",
- "calculation_time": "PT1H45M",
- "postprocessing_time": "PT1H45M"
}
}Getting the replanning result based on the calculation identifier.
| process_code required | string <uuid> (process_code) Example: 11111111-2222-3333-4444-555555555555 Unique process identifier. |
required | object (tracedata) Data for request tracing. |
required | Array of objects (trip_list) [ 0 .. 15001 ] items unique Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a change in the states of the performer. |
required | object (plan_statistics) General statistics on the calculation result. |
additional_attributes (object) or nullable (null) Default: null Additional attributes. | |
Array of objects (entity_warning_list) [ 0 .. 15001 ] items Warning list. | |
object (unplanned_items) Information about unplanned essences. | |
object (removed_items) Information about removed essences. | |
| calculation_progress required | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Calculation progress as a percentage. The progress displays the current number of completed steps. |
required | object (calculation_info) Calculation information. |
required | object (tracedata) Data for request tracing. |
required | Array of objects (trip_list) [ 0 .. 15001 ] items unique Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a change in the states of the performer. |
required | object (plan_statistics) General statistics on the calculation result. |
additional_attributes (object) or nullable (null) Default: null Additional attributes. | |
Array of objects (entity_warning_list) [ 0 .. 15001 ] items Warning list. | |
object (unplanned_items) Information about unplanned essences. | |
object (removed_items) Information about removed essences. | |
| calculation_progress required | integer <int32> (calculation_progress) [ 0 .. 100 ] Example: "52" Calculation progress as a percentage. The progress displays the current number of completed steps. |
required | object (calculation_info) Calculation information. |
{- "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_replan_calculation",
- "time": "2026-04-28T17:06:33.856Z"
}, - "trips": [
- {
- "key": "d56f86e9-c50a-40d3-b5ef-616eacc98db0-performer_1_shift",
- "performer": {
- "performer_key": "performer_1",
- "shift_key": "performer_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-08T05:53:49Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-08T05:53:49Z"
}
}, - "states": [
- {
- "time": "2026-04-08T04:39:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T04:39:34Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_2",
- "demand_key": "demand_2_pickup",
- "event_key": "demand_2_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-08T04:39:34Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_1",
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-08T04:39:34Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T04:39:34Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:00:00Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:00:00Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:00:00Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_2",
- "demand_key": "demand_2_drop",
- "event_key": "demand_2_drop_event",
- "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-08T05:10:00Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_2",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:20:56Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:20:56Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:20:56Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_1",
- "demand_key": "demand_1_drop",
- "event_key": "demand_1_drop_event",
- "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:56Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:56Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:49Z",
- "flags": [
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:49Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:49Z",
- "flags": [
- "INSIDE_EVENT_HARD_WINDOW",
- "INSIDE_LOCATION",
- "AROUND_LOCATION",
- "INSIDE_LOCATION_WINDOW",
- "ON_DEMAND"
], - "order_key": "order_3",
- "demand_key": "demand_3_work",
- "event_key": "demand_3_work_event",
- "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:53:49Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}
], - "name": "1-HVFB",
- "waitlist": [ ],
- "attributes": [ ]
}
], - "statistics": {
- "total_statistics": {
- "cost": 6795.37,
- "reward": 3000.3,
- "profit": 0,
- "measurements": {
- "time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-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": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "max_transport_load": {
- "mass": 0.007,
- "volume": 0,
- "capacity_a": 0,
- "capacity_b": 0,
- "capacity_c": 0
}, - "average_speed": 34.037,
- "round_trips_count": 1
}, - "trips_statistics": [
- {
- "trip_key": "d56f86e9-c50a-40d3-b5ef-616eacc98db0-performer_1_shift",
- "general_statistics": {
- "cost": 6795.37,
- "reward": 3000.3,
- "profit": -3795.07,
- "measurements": {
- "time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-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": 34.037,
- "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_2_pickup",
- "event_key": "demand_2_pickup_event",
- "demand_time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-08T04:39:34Z"
}
}, - {
- "demand_key": "demand_1_pickup",
- "event_key": "demand_1_pickup_event",
- "demand_time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-08T04:39:34Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-08T04:39:34Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-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": "2026-04-08T05:00:00Z",
- "to": "2026-04-08T05:10:00Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T05:00:00Z",
- "to": "2026-04-08T05:10:00Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T04:39:34Z",
- "to": "2026-04-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": "2026-04-08T05:20:56Z",
- "to": "2026-04-08T05:30:56Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T05:20:56Z",
- "to": "2026-04-08T05:30:56Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T05:10:00Z",
- "to": "2026-04-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": "2026-04-08T05:38:49Z",
- "to": "2026-04-08T05:53:49Z"
}
}
], - "stop_time_window": {
- "from": "2026-04-08T05:38:49Z",
- "to": "2026-04-08T05:53:49Z"
}, - "measurements": {
- "time_window": {
- "from": "2026-04-08T05:30:56Z",
- "to": "2026-04-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
}
}
}
]
}
], - "locations_statistics": [ ],
- "task_statistics": {
- "planning_horizon": {
- "from": "2026-04-07T21:00:00Z",
- "to": "2026-04-08T21:00:59Z"
}
}, - "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
}
}
}
}, - "calculation_progress": 100,
- "calculation_info": {
- "status": "FINISHED_IN_TIME",
- "result_version": 106,
- "preparing_time": "PT0S",
- "business_validation_time": "PT0S",
- "math_validation_time": "PT0S",
- "waiting_time": "PT4.022S",
- "calculation_time": "PT1.012S"
}, - "warnings": [ ],
- "unplanned_items": {
- "order_keys": [ ],
- "order_keys_count": 0,
- "performer_keys": [ ],
- "performer_keys_count": 0,
- "transport_keys": [ ],
- "transport_keys_count": 0,
- "hardlink_keys": [ ],
- "hardlink_keys_count": 0
}
}Removal of the planning result by the calculation identifier.
| process_code required | string <uuid> (process_code) Example: 11111111-2222-3333-4444-555555555555 Unique process identifier. |
{- "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": "2026-04-28T17:13:27.945583194Z"
}, - "message": "logical error detail",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}Check data before using.
Data for validation.
required | Array of objects (location_list_required) [ 1 .. 15001 ] items unique List of locations used for orders and shifts. |
required | Array of objects (order_list_required) [ 1 .. 15001 ] items unique List of orders that need to be completed. |
required | Array of objects (performer_list_required) [ 1 .. 15001 ] items unique Available performers list. The performer fulfills orders using transport. |
required | Array of objects (transport_list_required) [ 1 .. 15001 ] items unique Available transports list. Transport is used by the trip performer to fulfill orders. |
Array of objects (hardlink_list) [ 0 .. 15001 ] items unique Assignments list. | |
required | Array of objects (trip_list_required) [ 1 .. 15001 ] items unique Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a change in the states of the performer. |
Array of objects (fact_list) [ 0 .. 15001 ] items unique Trip list. A fact is an event that has occurred that affects further trip operations. | |
Array of objects (routing_transport_matrix_list) [ 0 .. 16 ] items unique List of matrices of times and distances for each type of transport that are indicated in the data.
The matrix should describe all locations for each type of transport from the data.
When specifying an external routing matrix | |
object (plan_settings) Planning settings. | |
object (actualize_settings) Actualize settings. | |
object (replan_settings) Replanning settings. | |
| dataset_name | string (dataset_name) [ 0 .. 512 ] characters Example: "custom_dataset_one" The name of the dataset. A technical field that does not affect calculation. |
required | object (tracedata) Data for request tracing. |
required | Array of objects (entity_warning_list) [ 0 .. 15001 ] items Warning list. |
{- "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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-08T07:00:00+00:00"
}
}
]
}
]
}
], - "performers": [
- {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "states": [
- {
- "time": "2026-04-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-08T05:30:52Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:52Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-08T05:53:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}
], - "waitlist": [ ],
- "attributes": [ ]
}
]
}{- "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_validation",
- "time": "2026-04-01T11:50:15.123Z"
}, - "warnings": [
- {
- "type": "NO_AVAILABLE_TRANSPORT",
- "entities": [
- {
- "entity_key": "ord0001",
- "entity_type": "ORDER"
}
]
}
]
}Cleaning up data for re-planning before calculation:
actualize_settings.current_time are deleted.plan_new_orders: false is specified - all orders that are not in the specified trips are removed from the original task.create_new_trips: false is specified - all performers and transport that are not in the specified trips are removed from the original task, and unplanned shifts of performers and transport that are in the specified trips are also removed.As a result, a task for planning is returned.
| remove_locations | boolean Default: false Example: remove_locations=true Flag responsible for deleting a location when cleaning data. If |
Data for refine.
required | Array of objects (location_list_required) [ 1 .. 15001 ] items unique List of locations used for orders and shifts. |
required | Array of objects (order_list_required) [ 1 .. 15001 ] items unique List of orders that need to be completed. |
required | Array of objects (performer_list_required) [ 1 .. 15001 ] items unique Available performers list. The performer fulfills orders using transport. |
required | Array of objects (transport_list_required) [ 1 .. 15001 ] items unique Available transports list. Transport is used by the trip performer to fulfill orders. |
Array of objects (hardlink_list) [ 0 .. 15001 ] items unique Assignments list. | |
required | Array of objects (trip_list_required) [ 1 .. 15001 ] items unique Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a change in the states of the performer. |
Array of objects (fact_list) [ 0 .. 15001 ] items unique Trip list. A fact is an event that has occurred that affects further trip operations. | |
Array of objects (routing_transport_matrix_list) [ 0 .. 16 ] items unique List of matrices of times and distances for each type of transport that are indicated in the data.
The matrix should describe all locations for each type of transport from the data.
When specifying an external routing matrix | |
object (plan_settings) Planning settings. | |
object (actualize_settings) Actualize settings. | |
object (replan_settings) Replanning settings. | |
| dataset_name | string (dataset_name) [ 0 .. 512 ] characters Example: "custom_dataset_one" The name of the dataset. A technical field that does not affect calculation. |
required | object (tracedata) Data for request tracing. |
required | object (plan_task) Task for planning |
Array of objects (entity_warning_list) [ 0 .. 15001 ] items Warning list. | |
object (removed_items) Information about removed essences. |
{- "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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-08T07:00:00+00:00"
}
}
]
}
]
}
], - "performers": [
- {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "states": [
- {
- "time": "2026-04-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-08T05:30:52Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:52Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-08T05:53:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}
], - "waitlist": [ ],
- "attributes": [ ]
}
]
}{- "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_replan_calculation",
- "time": "2026-04-28T17:06:33.856Z"
}, - "plan_task": {
- "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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-08T07:00:00+00:00"
}
}
]
}
]
}
], - "performers": [
- {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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
}
}
]
}
], - "plan_settings": {
- "trips_settings": {
- "configuration": "optimize_distance"
}, - "geo_settings": {
- "toll_roads": true,
- "traffic_jams": false
}
}
}
}Description of the VRt.Universal XLSX format for data import/export.
This format is a complete representation of the JSON data model and is used for:
Below is a description of each sheet separately; bold highlights the keys.
Sheet name info.
| Name | Description |
|---|---|
| api_version | Universal API version at the time of XLSX generation |
| timezone | Time zone in which all times in the data are specified |
| docs_ru | Link to the documentation (RU) |
| docs_en | Link to the documentation (EN) |
Sheet name locations.
List of locations used in orders and shifts.
| Name | Description | Note |
|---|---|---|
| key | Location key, unique identifier | Unique key within the calculation |
| departure_duration | Time to depart from the location, time interval | |
| geopoint.latitude | Geographic latitude in degrees | |
| geopoint.longitude | Geographic longitude in degrees | |
| timetable.work_windows.from | Start of the location's work time window | Required if to is specified. If the list is empty or not specified, the location operates without time restrictions. |
| timetable.work_windows.to | End of the location's work time window | Required if from is specified. If the list is empty or not specified, the location operates without time restrictions. |
| compatibilities .transport_restrictions |
List of required restrictions on the transport | Used to check transport compatibility with the location. |
| attributes | Attributes used to specify auxiliary information | This data is not taken into account in planning. |
Object described:
| key required | string [ 1 .. 1024 ] characters Example: "location_01" Location key, unique identifier. |
required | object (geopoint) Geographical point. |
| arrival_duration | string <duration> (time_duration) [ 3 .. 16 ] characters ^P(?!$)((\d+Y)|(\d+\.\d+Y$))?((\d+M)|(\d+\.\d... Example: "PT1H45M" Time for driving up to the location (or waiting time at parking lot) according to ISO 8601 duration. |
| departure_duration | string <duration> (time_duration) [ 3 .. 16 ] characters ^P(?!$)((\d+Y)|(\d+\.\d+Y$))?((\d+M)|(\d+\.\d... Example: "PT1H45M" Time to leave the location according to ISO 8601 duration. |
Array of objects (location_timetable) [ 0 .. 30 ] items Location timetable - time windows of availability and capacity restrictions. If the list is empty or not specified, the location works without restrictions. | |
location_compatibilities (object) or nullable (null) Default: null Compatibilities of the location with transport. | |
| name | string (name) [ 0 .. 128 ] characters Example: "X1-ABC" Name, information field. |
| address | string or null [ 1 .. 1024 ] characters Default: null Example: "24th Line V.O., 15/2, building A, St. Petersburg, 199106" Full location address. |
Array of objects (attributes) [ 0 .. 250 ] items unique Attributes. Used to add service information. |
{- "key": "location_01",
- "geopoint": {
- "latitude": 55.692789,
- "longitude": 37.554554
}, - "arrival_duration": "PT1H45M",
- "departure_duration": "PT1H45M",
- "timetable": [ ],
- "compatibilities": null,
- "name": "X1-ABC",
- "address": "24th Line V.O., 15/2, building A, St. Petersburg, 199106",
- "attributes": [ ]
}Sheet name performers.
List of available performers.
| Name | Description | Note |
|---|---|---|
| key | Performer key, unique identifier | |
| own_transport_type | Transport type | If not specified, defaults to CAR. |
| shifts.key | Shift key, unique identifier | |
| shifts.start_location_key | Start location key | If the key is not specified — the performer's path starts at the first order. |
| shifts.finish_location_key | Finish location key | If the key is not specified — the performer's path finishes at the last order. |
| shifts.max_locations | Limit on the number of unique locations in a single trip, including the start and finish locations | If the parameter is not specified or is null — the number of locations is not limited. |
| shifts.max_stops | Limit on the number of stops in a single trip, including the start and finish locations | If the parameter is not specified or is null — the number of stops is not limited. |
| shifts.attributes | Attributes. Used to specify auxiliary information | This data is not taken into account in planning. |
| shifts.availability_time.from | Start of the shift's time window | During which the performer can perform work at locations and travel between locations. |
| shifts.availability_time.to | End of the shift's time window | During which the performer can perform work at locations and travel between locations. |
| shifts.working_time.from | Start of the working time window | During which the performer can perform work at locations; must be inside the shift's time window. |
| shifts.working_time.to | End of the working time window | During which the performer can perform work at locations; must be inside the shift's time window. |
| shifts.tariff .cost_per_shift |
Price for using the shift, monetary unit | Default: 0.001 |
| shifts.tariff .max_penalty_cost |
Maximum sum of penalties the performer can incur within this shift, monetary unit. | If the sum is not specified or is null — the performer cannot violate constraints. |
| shifts.tariff .constraints.stage_length |
Length of the paid period, time interval | Default: 525960 |
| shifts.tariff .constraints.cost_per_unit |
Cost within the paid period, monetary unit per second of work | Default: 0.001 |
| shifts.work_and_rest_rules .first_break .max_work_duration_sum |
Total work time after which a break must be taken | |
| shifts.work_and_rest_rules .first_break .duration |
Break duration | |
| compatibilities .performer_features |
List of the performer's features | Used to check the performer's compatibility with orders and transport. |
| compatibilities .transport_restrictions |
List of required restrictions on the transport | Used to check the performer's compatibility with the transport. |
| limits.max_work_shifts | Limit on the performer's workload | Limit on the number of the performer's shifts in a single planning run. |
| attributes | Attributes used to specify auxiliary information | This data is not taken into account in planning. |
Object described:
| key required | string [ 1 .. 1024 ] characters Example: "performer0001" Performer's key, unique identifier. |
required | Array of objects (performer_shift) [ 1 .. 15001 ] items unique List of working shifts of performer. |
| own_transport_type | string (transport_type) Default: "CAR" Enum: "CAR" "TRUCK_1500" "TRUCK_3000" … 13 more Example: "CAR" The type of personal transport that the performer will use to get to his assigned work transport. |
performer_compatibilities (object) or nullable (null) Default: null Compatibilities of the performer with transport and orders. | |
performer_limits (object) or nullable (null) Default: null Limitation on the performer's workload. | |
| name | string (name) [ 0 .. 128 ] characters Example: "X1-ABC" Name, information field. |
Array of objects (attributes) [ 0 .. 250 ] items unique Attributes. Used to add service information. |
{- "key": "performer0001",
- "shifts": [
- {
- "key": "shift01",
- "availability_time": {
- "from": "2026-04-21T09:30:00+03:00",
- "to": "2026-04-21T19:45:00Z"
}, - "working_time": {
- "from": "2026-04-21T09:30:00+03:00",
- "to": "2026-04-21T19:45:00Z"
}, - "start_location_key": "start_location_01",
- "finish_location_key": "finish_location_01",
- "max_locations": 15,
- "max_stops": 15,
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": "P1DT8H30M20S",
- "cost_per_unit": 5.05
}
], - "max_penalty_cost": 2000
}, - "work_and_rest_rules": null,
- "name": "X1-ABC",
- "attributes": [ ]
}
], - "own_transport_type": "CAR",
- "compatibilities": null,
- "limits": null,
- "name": "X1-ABC",
- "attributes": [ ]
}Sheet name transports.
List of available transport.
| Name | Description | Note |
|---|---|---|
| key | Transport key, unique identifier | |
| transport_type | Transport type | If not specified, defaults to CAR |
| boxes.key | List of transport boxes that can hold cargo | Required if the task contains orders with PICKUP and DROP demands |
| shifts.key | Shift key, unique identifier | |
| shifts.start_location_key | Start location key | If the key is not specified — the transport's path starts at the first order |
| shifts.finish_location_key | Finish location key | If the key is not specified — the transport's path finishes at the last order |
| shifts.attributes | Attributes. Used to specify auxiliary information | This data is not taken into account in planning |
| shifts.availability_time.from | Start of the shift's time window | During which the transport can travel between locations and be used by the performer for work at locations |
| shifts.availability_time.to | End of the shift's time window | During which the transport can travel between locations and be used by the performer for work at locations |
| shifts.tariff .cost_per_shift |
Price for using the shift, monetary unit | Default: 0.001 |
| shifts.tariff .max_penalty_cost |
Maximum sum of penalties | Default: 0. The transport can incur this within the shift, monetary unit. If the sum is not specified or is null — the transport cannot violate constraints. |
| shifts.tariff .constraints.stage_length |
Length of the paid part of the path, in meters | Default: 100000000 |
| shifts.tariff .constraints.cost_per_unit |
Cost within the paid part of the path | Monetary unit per meter. Default: 0.001 |
| shifts.tariff .transportation_cost.mass |
Cost of moving 1 unit of cargo mass per 1 meter | In conventional monetary units |
| shifts.tariff .transportation_cost.volume |
Cost of moving 1 unit of cargo volume per 1 meter | In conventional monetary units |
| shifts.tariff .transportation_cost.capacity_a |
Cost of moving 1 unit of additional cargo parameter A per 1 meter | In conventional monetary units |
| shifts.tariff .transportation_cost.capacity_b |
Cost of moving 1 unit of additional cargo parameter B per 1 meter | In conventional monetary units |
| shifts.tariff .transportation_cost.capacity_c |
Cost of moving 1 unit of additional cargo parameter C per 1 meter | In conventional monetary units |
| compatibilities .transport_features |
List of the transport's features | Used to check transport compatibility with locations and performers |
| compatibilities .performer_restrictions |
List of the transport's restrictions on the performer | Used to check compatibility with the performer |
| limits.max_boxes | Limit on the maximum number of transport boxes used in a single trip | If the parameter is not specified or is null — the number of boxes is not limited. The limit must not exceed the number of boxes |
| limits.max_capacity.mass | Parameter additionally limits the maximum possible transport load by mass summed across all boxes | Mass in kilograms; applicable only if the transport has more than one box; the parameter must not be less than the capacity of any box. |
| limits.max_capacity.volume | Parameter additionally limits the maximum possible transport load by volume summed across all boxes | Volume in cubic meters; applicable only if the transport has more than one box; the parameter must not be less than the capacity of any box. |
| limits.max_capacity.capacity_a | Parameter additionally limits the maximum possible transport load by additional parameter A summed across all boxes | Additional capacity parameter (A) for measuring cargo and boxes in alternative units. For example, to count cargo in pieces (this parameter equals one for cargo, and equals the maximum number of cargos that fit for a box). |
| limits.max_capacity.capacity_b | Parameter additionally limits the maximum possible transport load by additional parameter B summed across all boxes | Additional capacity parameter (B) for measuring cargo and boxes in alternative units. |
| limits.max_capacity.capacity_c | Parameter additionally limits the maximum possible transport load by additional parameter C summed across all boxes | Additional capacity parameter (C) for measuring cargo and boxes in alternative units. |
| attributes | Attributes used to specify auxiliary information | This data is not taken into account in planning. |
Object described:
| key required | string [ 1 .. 1024 ] characters Example: "transport001" Transport key, unique identifier. |
required | Array of objects (transport_shift) [ 1 .. 15001 ] items unique List of working shifts of transport. |
| transport_type | string (transport_type) Default: "CAR" Enum: "CAR" "TRUCK_1500" "TRUCK_3000" … 13 more Example: "CAR" Transport types:
Permissible weight is the weight of the equipped transport with cargo and driver, set by the manufacturer as the maximum allowable. |
Array of objects (box) [ 0 .. 100 ] items Default: [] A list of transport boxes that can accommodate the cargo. | |
transport_compatibilities (object) or nullable (null) Default: null Compatibilities of the transport with performers and locations. | |
transport_limits (object) or nullable (null) Default: null Transport load limits. | |
| name | string (name) [ 0 .. 128 ] characters Example: "X1-ABC" Name, information field. |
Array of objects (attributes) [ 0 .. 250 ] items unique Attributes. Used to add service information. |
{- "key": "transport001",
- "shifts": [
- {
- "key": "shift01",
- "availability_time": {
- "from": "2026-04-21T09:30:00+03:00",
- "to": "2026-04-21T19:45:00Z"
}, - "start_location_key": "start_location_01",
- "finish_location_key": "finish_location_01",
- "tariff": {
- "cost_per_shift": 2000,
- "constraints": [
- {
- "stage_length": 200000,
- "cost_per_unit": 5.05
}
], - "transportation_cost": null
}, - "name": "X1-ABC",
- "attributes": [ ]
}
], - "transport_type": "CAR",
- "boxes": [ ],
- "compatibilities": null,
- "limits": null,
- "name": "X1-ABC",
- "attributes": [ ]
}Sheet name transports.boxes.
List of transport boxes that can hold cargo.
The table is required if the calculation contains orders with PICKUP and DROP demands.
In the description of the boxes, the fields that describe cargo are required.
| Name | Description | Note |
|---|---|---|
| key | Box key | Unique identifier; used to identify the placement of cargo across boxes. |
| capacity.mass | Mass, kg | Mass limit that the box can hold at any single moment |
| capacity.volume | Volume, m³ | Volume limit that the box can hold at any single moment |
| capacity.capacity_a | Additional capacity parameter (A) | For measuring cargo and boxes in alternative units. For example, to count cargo in pieces (this parameter equals one for cargo, and equals the maximum number of cargos that fit for a box). |
| capacity.capacity_b | Additional capacity parameter (B) | For measuring cargo and boxes in alternative units. |
| capacity.capacity_c | Additional capacity parameter (C) | For measuring cargo and boxes in alternative units. |
| compatibilities .width |
Width in meters | |
| compatibilities .height |
Height in meters | |
| compatibilities .length |
Length in meters | |
| compatibilities .box_features |
List of the box's features | Used to evaluate whether cargo can be transported in this box |
| limits .max_one_cargo_capacity.mass |
Mass in kilograms | Limit on capacity fields for a single cargo |
| limits .max_one_cargo_capacity.volume |
Volume in cubic meters | Limit on capacity fields for a single cargo |
| limits .max_one_cargo_capacity.capacity_a |
Additional capacity parameter (A) | Limit on capacity fields for a single cargo |
| limits .max_one_cargo_capacity.capacity_b |
Additional capacity parameter (B) | Limit on capacity fields for a single cargo |
| limits .max_one_cargo_capacity.capacity_c |
Additional capacity parameter (C) | Limit on capacity fields for a single cargo |
Object described:
| key required | string [ 1 .. 1024 ] characters Example: "box01" Unique box key used to identify the cargo placement in boxes. |
capacity (object) or nullable (null) Default: null The box capacity, which limits the maximum amount for all | |
box_limits (object) or nullable (null) Default: null Box limits. | |
Array of objects (attributes) [ 0 .. 250 ] items unique Attributes. Used to add service information. |
{- "key": "box01",
- "capacity": null,
- "compatibilities": null,
- "limits": null,
- "attributes": [ ]
}Sheet name orders.
List of orders.
| Name | Description | Note |
|---|---|---|
| key | Order key | A repeated order key means demands belonging to the same order |
| cargos.key | List of cargos | Can contain a single cargo for DROP, a list for PICKUP, or be empty for WORK. |
| demands.key | Demand key, unique identifier | |
| demands.demand_type | Demand type | Loading — PICKUP, unloading — DROP, work at a location — WORK. |
| demands.target_cargos | List of cargo keys | For PICKUP, a single cargo key for DROP, an empty key for WORK |
| demands.precedence_in_trip | Priority within the trip | 0 — priority is not taken into account. Default: 0. |
| demands.precedence_in_order | Priority within the order | 0 — priority is not taken into account. Default: 0. |
| demands .possible_events.key |
Event key, unique identifier | Description of the time-window and locations object in which the demand can be performed |
| demands .possible_events.location_key |
Key of the location where this event is possible | |
| demands .possible_events.duration |
Event execution time | |
| demands .possible_events.reward |
Reward for performing this event | |
| demands .possible_events.hard_time_window.from |
Start of the hard time window | |
| demands .possible_events.hard_time_window.to |
End of the hard time window | |
| demands .possible_events.soft_time_window.from |
Start of the soft time window | |
| demands .possible_events.soft_time_window.to |
End of the soft time window | |
| demands .attributes |
Attributes. Used to specify auxiliary information | This data is not taken into account in planning. |
| compatibilities .order_features |
List of the order's features | |
| compatibilities .order_restrictions |
List of restrictions for an order performed in the same trip | |
| compatibilities .performer_restrictions |
List of required restrictions on the performer | Used to check the performer's compatibility with the order (work). |
| compatibilities .performer_blacklist |
List of features the performer must not have | Used to check the performer's compatibility with the order (work). This list must not overlap with performer_restrictions |
| attributes | Attributes used to specify auxiliary information | This data is not taken into account in planning. |
Object described:
| key required | string [ 1 .. 1024 ] characters Example: "order01" Order key, unique identifier. |
required | Array of objects (demand) [ 1 .. 1000 ] items unique Demands list. |
Array of objects (cargo_list) [ 0 .. 1000 ] items unique The list of cargoes referred to by the demands of this order. The list must be empty if all demands in the order are of type | |
order_compatibilities (object) or nullable (null) Default: null Compatibilities of the order with performers and other orders. | |
| name | string (name) [ 0 .. 128 ] characters Example: "X1-ABC" Name, information field. |
Array of objects (attributes) [ 0 .. 250 ] items unique Attributes. Used to add service information. |
{- "key": "order01",
- "demands": [
- {
- "key": "demand_1",
- "demand_type": "WORK",
- "target_cargos": [
- "cargo01"
], - "precedence_in_trip": 1,
- "precedence_in_order": 1,
- "possible_events": [
- {
- "key": "event_1",
- "location_key": "location_01",
- "duration": "PT1H45M",
- "reward": 199.9,
- "hard_time_window": {
- "from": "2026-04-21T09:30:00+03:00",
- "to": "2026-04-21T19:45:00Z"
}, - "soft_time_window": null,
- "attributes": [ ]
}
], - "name": "X1-ABC",
- "attributes": [ ]
}
], - "cargos": [ ],
- "compatibilities": null,
- "name": "X1-ABC",
- "attributes": [ ]
}Sheet name orders.cargos.
List of cargos. May contain a single cargo for DROP, a list for PICKUP, or be empty for WORK.
The table is not required if all demands have type WORK.
| Name | Description | Note |
|---|---|---|
| key | Cargo key, unique identifier | |
| capacity.mass | Mass in kilograms | |
| capacity.volume | Volume in cubic meters | |
| capacity.capacity_a | Additional capacity parameter (A) | For measuring cargo and boxes in alternative units. For example, to count cargo in pieces (this parameter equals one for cargo, and equals the maximum number of cargos that fit for a box). |
| capacity.capacity_b | Additional capacity parameter (B) | |
| capacity.capacity_c | Additional capacity parameter (C) | |
| compatibilities .width |
Width in meters | Used to check the cargo's fit into the transport's box by width. |
| compatibilities .height |
Height in meters | Used to check the cargo's fit into the transport's box by height. |
| compatibilities .length |
Length in meters | Used to check the cargo's fit into the transport's box by length. |
| compatibilities .rotation |
List of the object's rotation abilities | Rotation step is 90 degrees. If the list is empty — the object cannot be rotated. Allowed values: ALL, YAW, PITCH, ROLL |
| compatibilities .box_restrictions |
List of restrictions on the transport's box | |
| compatibilities .cargo_features |
List of the cargo's features | Used to check cargo compatibility with other cargos. Incompatible cargos cannot be in the same transport box at the same time |
| compatibilities .cargo_restrictions |
List of required restrictions on cargo | Used to check cargo compatibility with other cargos. Incompatible cargos cannot be in the same transport box at the same time |
Object described:
| key required | string [ 1 .. 1024 ] characters Example: "cargo01" Cargo key, unique identifier. |
capacity (object) or nullable (null) Default: null Cargo additive measures. | |
cargo_compatibilities (object) or nullable (null) Default: null Compatibilities of the cargo with the transport box and other cargos. | |
| target_box_key | string or null [ 1 .. 1024 ] characters Default: null Example: "box01" The key of the transport box in which the cargo is already located. Applicable only for cargo that is in the order with the type |
cargo_invoice (object) or nullable (null) Default: null Cargo invoice. | |
Array of objects (attributes) [ 0 .. 250 ] items unique Attributes. Used to add service information. |
{- "key": "cargo01",
- "capacity": null,
- "compatibilities": null,
- "target_box_key": "box01",
- "invoice": null,
- "attributes": [ ]
}Sheet name hardlinks.
List of hardlinks.
Object described:
| key required | string [ 1 .. 1024 ] characters Example: "group01" Hardlink key. |
required | Array of objects (hardlink_element) [ 2 .. 1000 ] items List of items in the assignment group. |
Array of objects (attributes) [ 0 .. 250 ] items unique Attributes. Used to add service information. |
{- "key": "group01",
- "links": [
- {
- "type": "ORDER",
- "entity_key": "ord0001"
}, - {
- "type": "ORDER",
- "entity_key": "ord0001"
}
], - "attributes": [ ]
}Sheet name trips.
List of trips.
Object described:
| key required | string [ 1 .. 1024 ] characters Example: "trip-0000-9999" Unique trip identifier. |
required | object (assigned_performer) Performer's shift assigned to the specified time ( |
required | object (assigned_transport) Transport's shift assigned to the specified time ( |
required | Array of objects (trip_state_list) [ 0 .. 15001 ] items List of performer's states. |
| waitlist | Array of strings (trip_waitlist) [ 0 .. 15001 ] items unique [ items [ 1 .. 1024 ] characters ] Example: ["order02"] List of order keys assigned to the performer, but not scheduled for a specific time and not taken into account in the transport load. |
| name | string (name) [ 0 .. 128 ] characters Example: "X1-ABC" Name, information field. |
Array of objects (attributes) [ 0 .. 250 ] items unique Attributes. Used to add service information. |
{- "key": "trip-0000-9999",
- "performer": {
- "performer_key": "performer0001",
- "shift_key": "performer0001_shift01",
- "shift_time": {
- "from": "2026-04-21T09:30:00+03:00",
- "to": "2026-04-21T19:45:00Z"
}
}, - "transport": {
- "transport_key": "transport001",
- "shift_key": "performer01",
- "shift_time": {
- "from": "2026-04-21T09:30:00+03:00",
- "to": "2026-04-21T19:45:00Z"
}
}, - "states": [
- {
- "time": "2026-04-21T09:30:00+03:00",
- "order_key": "order01",
- "demand_key": "demand01.1",
- "event_key": "event01",
- "location_key": "location_01",
- "roundtrip_key": "roundtrip_01",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "distance": 5200,
- "cost": 1231.1,
- "reward": 2343.3,
- "attributes": [ ]
}
], - "waitlist": [
- "order02"
], - "name": "X1-ABC",
- "attributes": [ ]
}Sheet name facts.
List of facts.
Object described:
| key required | string [ 1 .. 1024 ] characters Example: "fact_01" Fact key. |
| type required | string (fact_type) Enum: "NEW_LOCATION" "ORDER_DONE" "DEMAND_START" … 8 more Example: "NEW_LOCATION" Possible fact types:
|
| creation_date required | string <date-time> Example: "2026-04-21T09:30:00+03:00" Fact creation date and time in the ISO 8601 format. |
| reception_date | string or null <date-time> Default: null Example: "2026-04-21T09:33:00+03:00" Date and time of receipt of the fact by the server in the ISO 8601 format. |
| execution_date | string or null <date-time> Default: null Example: "2026-04-21T09:35:00+03:00" Date and time of execution the fact by the server in the ISO 8601 format. |
| status required | string (fact_status) Enum: "NEW" "APPLIED" "ERROR" Example: "APPLIED" Current fact status:
|
| status_detail | string or null [ 1 .. 1024 ] characters Default: null Example: "duplicate fact" Additional information about the fact status, used to clarify fact processing errors. |
| trip_key required | string [ 1 .. 1024 ] characters Example: "trip_01" The trip key to which the fact applies. |
fact_lore (object) or nullable (null) Default: null Additional data describing the fact. This field is required for the following fact types:
| |
Array of objects (attributes) [ 0 .. 250 ] items unique Attributes. Used to add service information. |
{- "key": "fact_01",
- "type": "NEW_LOCATION",
- "creation_date": "2026-04-21T09:30:00+03:00",
- "reception_date": "2026-04-21T09:33:00+03:00",
- "execution_date": "2026-04-21T09:35:00+03:00",
- "status": "APPLIED",
- "status_detail": "duplicate fact",
- "trip_key": "trip_01",
- "lore": null,
- "attributes": [ ]
}Sheet name plan_settings.
Plan settings.
Object described:
object (trips_settings) Trip creation settings. | |
object (geo_settings) Geodata usage settings. | |
object (calculation_settings) Calculation settings. | |
object (extension_settings) Settings for using external extensions to adjust calculations. |
{- "trips_settings": {
- "configuration": "optimize_distance",
- "expectations": {
- "trip_start_time_strategy": "LOWEST_COST",
- "problem_kind": "LONG_HAUL",
- "attributes": [ ]
}, - "assumptions": {
- "transport_speed_multipliers": [ ],
- "transport_capacity_multipliers": [ ],
- "disable_compatibility": true,
- "disable_capacity": true,
- "disable_location_limits": false,
- "same_order_time_window": true,
- "expand_shift_time_window": true
}, - "penalties": {
- "compatibilities": [ ],
- "max_locations_limits_penalty": 25000
}
}, - "geo_settings": {
- "geo_provider": "VRT",
- "toll_roads": false,
- "ferry_crossing": false,
- "traffic_jams": false,
- "flight_distance": true,
- "attributes": [ ]
}, - "calculation_settings": {
- "max_calculation_time": "PT12M35S",
- "max_waiting_time": "PT2H",
- "result_ttl": "PT4M30S",
- "result_timezone": 3,
- "treat_warnings_as_errors": true,
- "precision": 1
}, - "extension_settings": {
- "enable_extension": true,
- "request_timeout": "PT1M30S",
- "retry_attempts": 2,
- "retry_interval": "PT1M30S"
}
}Sheet name actualize_settings.
Actualize settings.
Object described:
| current_time | string or null <date-time> Default: null Example: "2026-04-21T09:30:00+03:00" Current date and time according to the ISO 8601. If not specified, the current time when the request was received by the server is taken. |
| max_delay_duration | string <duration> [ 3 .. 16 ] characters ^P(?!$)((\d+Y)|(\d+\.\d+Y$))?((\d+M)|(\d+\.\d... Default: "PT3H" Example: "PT1H30M" Acceptable delay. Affects the shift of the right boundaries of hard time windows of orders and time windows of work shifts of performers and transports. |
{- "current_time": "2026-04-21T09:30:00+03:00",
- "max_delay_duration": "PT1H30M"
}Sheet name replan_settings.
Replan settings.
Object described:
object (replan_strategy) Replan strategy. |
{- "replan_strategy": {
- "reorder": true,
- "plan_new_orders": true,
- "create_new_trips": true
}
}Sheet name total_statistics.
Total statistics.
Object described:
| cost required | number <double> [ 0 .. 1000000000000 ] Example: "1231.1" Total cost calculated based on the performer's and transport tariffs. |
| reward required | number <double> [ 0 .. 1000000000000 ] Example: "2343.3" The total reward for orders fulfillment. |
| profit required | number <double> [ -1000000000000 .. 1000000000000 ] Example: "1231.1" The total profit is equal to the difference between the total reward ( |
required | object (measurements) Measurements of times and distances for aggregate and individual trips:
|
| trips_count required | integer <int32> [ 0 .. 15001 ] Example: "250" The total number of planned trips. |
| performers_count required | integer <int32> [ 0 .. 15001 ] Example: "157" The total number of performers involved in orders fulfillment. |
| orders_count required | integer <int32> [ 0 .. 15001 ] Example: "1700" The total number of planned and assigned orders. |
| plan_orders_count required | integer <int32> [ 0 .. 15001 ] Example: "1003" The total number of planned orders. |
| waitlist_orders_count required | integer <int32> [ 0 .. 15001 ] Example: "697" The total number of assigned orders. |
| stops_count required | integer <int32> [ 0 .. 15001000 ] Example: "87" The total number of stops (non-unique locations). |
| locations_count required | integer <int32> [ 0 .. 15001000 ] Example: "45" The total number of unique locations within one trip. For general statistics - the sum of unique locations within each trip. |
required | object (capacity_statistics_sum) Total additive measures of the transported cargo. |
required | object (capacity_statistics_ratio) The ratio of the total additive measures of the transported cargo to the total capacity of the boxes. In fractions of a unit. It may be more than one. |
required | object (capacity_statistics_load) The ratio of the maximum load of boxes to the total capacity of boxes. In fractions of a unit. Cannot be greater than one. |
| average_speed required | number <double> [ 0 .. 1000000000000 ] Example: "43.1" Average speed is the ratio of the total distance to the total time of movement, km/h. |
| round_trips_count required | |
| average_roundtrip_distance required | number <double> [ 0 .. 1000000000000 ] Example: "23.4" Average mileage per roundtrip is the ratio of the total mileage per trip to the number of roundtrips, in meters. |
| average_roundtrip_time required | string <duration> (time_duration) [ 3 .. 16 ] characters ^P(?!$)((\d+Y)|(\d+\.\d+Y$))?((\d+M)|(\d+\.\d... Example: "PT1H45M" Average roundtrip time is the ratio of the total time to the number of roundtrips. |
Array of objects (attributes) [ 0 .. 250 ] items unique Attributes. Used to add service information. |
{- "cost": 1231.1,
- "reward": 2343.3,
- "profit": 1231.1,
- "measurements": {
- "time_window": {
- "from": "2026-04-21T09:30:00+03:00",
- "to": "2026-04-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": 5.5,
- "volume": 4.1,
- "capacity_a": 3.7,
- "capacity_b": 2.8,
- "capacity_c": 2.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,
- "average_roundtrip_distance": 23.4,
- "average_roundtrip_time": "PT1H45M",
- "attributes": [ ]
}Used for conversion of data to the VRt.Universal XLSX format.
| timezone | integer <int32> (timezone) [ -12 .. 12 ] Default: 0 Example: timezone=3 Target time zone. |
Conversion request to the XLSX.
Array of objects (location_list) [ 0 .. 15001 ] items unique List of locations used for orders and shifts. | |
Array of objects (order_list) [ 0 .. 15001 ] items unique List of orders that need to be completed. | |
Array of objects (performer_list) [ 0 .. 15001 ] items unique Available performers list. The performer fulfills orders using transport. | |
Array of objects (transport_list) [ 0 .. 15001 ] items unique Available transports list. Transport is used by the trip performer to fulfill orders. | |
Array of objects (hardlink_list) [ 0 .. 15001 ] items unique Assignments list. | |
Array of objects (trip_list) [ 0 .. 15001 ] items unique Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a change in the states of the performer. | |
Array of objects (fact_list) [ 0 .. 15001 ] items unique Trip list. A fact is an event that has occurred that affects further trip operations. | |
plan_statistics (object) or nullable (null) Default: null General statistics on the calculation result. | |
Array of objects (routing_transport_matrix_list) [ 0 .. 16 ] items unique List of matrices of times and distances for each type of transport that are indicated in the data.
The matrix should describe all locations for each type of transport from the data.
When specifying an external routing matrix | |
object (plan_settings) Planning settings. | |
object (replan_settings) Replanning settings. | |
object (actualize_settings) Actualize settings. | |
| dataset_name | string (dataset_name) [ 0 .. 512 ] characters Example: "custom_dataset_one" The name of the dataset. A technical field that does not affect calculation. |
File with data in XLSX format.
{- "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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-08T07:00:00+00:00"
}
}
]
}
]
}
], - "performers": [
- {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "states": [
- {
- "time": "2026-04-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-08T05:30:52Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:52Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-08T05:53:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}
], - "waitlist": [ ],
- "attributes": [ ]
}
]
}{- "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": "2026-04-28T17:13:27.945583194Z"
}, - "message": "logical error detail",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}Used for data conversion from the VRt.Universal XLSX format to the VRt.Universal JSON format.
Conversion request to the JSON format.
File with data in XLSX format.
Array of objects (location_list) [ 0 .. 15001 ] items unique List of locations used for orders and shifts. | |
Array of objects (order_list) [ 0 .. 15001 ] items unique List of orders that need to be completed. | |
Array of objects (performer_list) [ 0 .. 15001 ] items unique Available performers list. The performer fulfills orders using transport. | |
Array of objects (transport_list) [ 0 .. 15001 ] items unique Available transports list. Transport is used by the trip performer to fulfill orders. | |
Array of objects (hardlink_list) [ 0 .. 15001 ] items unique Assignments list. | |
Array of objects (trip_list) [ 0 .. 15001 ] items unique Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a change in the states of the performer. | |
Array of objects (fact_list) [ 0 .. 15001 ] items unique Trip list. A fact is an event that has occurred that affects further trip operations. | |
plan_statistics (object) or nullable (null) Default: null General statistics on the calculation result. | |
Array of objects (routing_transport_matrix_list) [ 0 .. 16 ] items unique List of matrices of times and distances for each type of transport that are indicated in the data.
The matrix should describe all locations for each type of transport from the data.
When specifying an external routing matrix | |
object (plan_settings) Planning settings. | |
object (replan_settings) Replanning settings. | |
object (actualize_settings) Actualize settings. | |
| dataset_name | string (dataset_name) [ 0 .. 512 ] characters Example: "custom_dataset_one" The name of the dataset. A technical field that does not affect calculation. |
{- "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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-08T07:00:00+00:00"
}
}
]
}
]
}
], - "performers": [
- {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "states": [
- {
- "time": "2026-04-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-08T05:30:52Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:52Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-08T05:53:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}
], - "waitlist": [ ],
- "attributes": [ ]
}
]
}Used for conversion of input data to the THRIFT format.
Conversion request to the THRIFT.
Array of objects (location_list) [ 0 .. 15001 ] items unique List of locations used for orders and shifts. | |
Array of objects (order_list) [ 0 .. 15001 ] items unique List of orders that need to be completed. | |
Array of objects (performer_list) [ 0 .. 15001 ] items unique Available performers list. The performer fulfills orders using transport. | |
Array of objects (transport_list) [ 0 .. 15001 ] items unique Available transports list. Transport is used by the trip performer to fulfill orders. | |
Array of objects (hardlink_list) [ 0 .. 15001 ] items unique Assignments list. | |
Array of objects (trip_list) [ 0 .. 15001 ] items unique Trip list. A trip is a set of works planned to be performed by a specific performer on a specific transport, expressed through a change in the states of the performer. | |
Array of objects (fact_list) [ 0 .. 15001 ] items unique Trip list. A fact is an event that has occurred that affects further trip operations. | |
plan_statistics (object) or nullable (null) Default: null General statistics on the calculation result. | |
Array of objects (routing_transport_matrix_list) [ 0 .. 16 ] items unique List of matrices of times and distances for each type of transport that are indicated in the data.
The matrix should describe all locations for each type of transport from the data.
When specifying an external routing matrix | |
object (plan_settings) Planning settings. | |
object (replan_settings) Replanning settings. | |
object (actualize_settings) Actualize settings. | |
| dataset_name | string (dataset_name) [ 0 .. 512 ] characters Example: "custom_dataset_one" The name of the dataset. A technical field that does not affect calculation. |
File with data in text format.
{- "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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T05:00:00+00:00",
- "to": "2026-04-08T07:00:00+00:00"
}
}
]
}
]
}
], - "performers": [
- {
- "key": "performer_1",
- "shifts": [
- {
- "key": "performer_1_shift",
- "availability_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-08T20:59:59+00:00"
}, - "working_time": {
- "from": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-07T21:00:00+00:00",
- "to": "2026-04-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": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "transport": {
- "transport_key": "transport_1",
- "shift_key": "transport_1_shift",
- "shift_time": {
- "from": "2026-04-08T04:38:34Z",
- "to": "2026-04-08T05:53:39Z"
}
}, - "states": [
- {
- "time": "2026-04-08T04:38:34Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_storage",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-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": "2026-04-08T05:10:00Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [
- {
- "box_key": "box_1",
- "cargo_key": "order_1_cargos",
- "cargo_action_type": "ADD"
}
], - "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-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": "2026-04-08T05:30:52Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_1",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:30:52Z",
- "flags": [
- "RELOCATING"
], - "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-08T05:38:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}, - {
- "time": "2026-04-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": "2026-04-08T05:53:39Z",
- "flags": [
- "INSIDE_LOCATION",
- "AROUND_LOCATION"
], - "location_key": "location_client_3",
- "cargo_actions": [ ],
- "attributes": [ ]
}
], - "waitlist": [ ],
- "attributes": [ ]
}
]
}{- "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": "2026-04-28T17:13:27.945583194Z"
}, - "message": "logical error detail",
- "schema_errors": [ ],
- "logical_errors": [
- {
- "type": "UNIQUE_IDS_VIOLATION",
- "entities": [
- {
- "entity_key": "order_1",
- "entity_type": "ORDER"
}
]
}
], - "warnings": [ ]
}Checking the service availability.
| health required | number <double> [ 0 .. 1 ] Example: "0.999" The current health indicator of the service.
|
{- "health": 0.999
}Getting the service version.
| major required | integer <int32> [ 1 .. 100 ] Example: "7" Product version. Within a single version, compatibility of common data structures between services is guaranteed. A version change indicates changes that are incompatible with previous versions of the product (and all services). |
| minor required | integer <int32> [ 0 .. 111 ] Example: "15" Minor version of the service. A version change indicates new functionality. The update is backward compatible with the major version of the service. |
| build required | string [ 1 .. 64 ] characters Example: "3754RC" Build version. |
{- "major": 7,
- "minor": 15,
- "build": "3754RC"
}Getting the file with this service documentation.
| filename required | string [ 6 .. 128 ] characters Example: file_en.html File name. |
File with data in HTML format.
{- "resource_key": "resource_key_one",
- "detail": null
}