EditAction
The concrete action to perform. The specific fields depend on the 'action_type'.
The concrete action to perform. The specific fields depend on the 'action_type'.
Possible values: [vehicle_reorder_nodes, vehicle_assign_booking, vehicle_unassign_bookings, vehicle_complex_rearrange, invalidate_bookings, invalidate_vehicles, delete_vehicles, vehicle_assign_booking_list, vehicle_shift_nodes]
- vehicle_reorder_nodes
- vehicle_assign_booking
- vehicle_unassign_bookings
- vehicle_complex_rearrange
- invalidate_bookings
- invalidate_vehicles
- delete_vehicles
- vehicle_assign_booking_list
- vehicle_shift_nodes
Vehicle agent_id.
List of UIDs of nodes which define the new route of a vehicle
Enable or disable strict checking of time window constraints.
trueNon-negative value defines time interval in seconds which will be used to group upcoming nodes. Negative then grouping is disabled.
-1Vehicle agent_id.
The UID of the booking being assigned.
Enable or disable strict checking of capacity constraint.
falseEnable or disable strict checking of time windows constraints.
trueOptional 0-based index of the desired pickup location in the new route. The position will be optimized otherwise.
Possible values: >= 0
Optional 0-based index of the desired dropoff location in the new route. The position will be optimized otherwise.
Possible values: >= 0
Unassign all bookings from each specified vehicle.
[]List of bookings uids to unassign.
[]Non-negative value defines time interval in seconds which will be used to group upcoming nodes. Negative then grouping is disabled.
-1If set to true and certain bookings can not be unassigned, e.g. because they contain upcoming nodes, have wrong status, etc then these bookings are skipped and other bookings are inserted. The UIDs of the failed bookings and nodes will be reported in details["rejected_bookings"] and details["rejected_nodes"] of the response object.
falseA dictionary containing vehicles' new routes. The key is vehicle's agent_id (UUID string), the value describes the route.
Enable or disable strict checking of time windows constraints.
trueList of uids of the bookings to be invalidated.
List of uids of the vehicles to be invalidated.
If true then assigned point nodes will be removed.
trueList of uids of the vehicles to be deleted.
Vehicle agent_id.
The list of UIDs of the bookings being assigned.
Enable or disable strict checking of capacity constraint.
falseEnable or disable strict checking of time windows constraints.
trueOptional 0-based index of a node before which all unassigned pickups will be assigned, otherwise optimized
Possible values: >= 0
Optional UID of a node before which to insert all pickups. Conflicts with pickup_insert_before.
Optional 0-based index of a node after which all unassigned dropoffs will be assigned, otherwise optimized
Possible values: >= 0
Optional UID of a node after which to insert all dropoffs. Conflicts with dropoff_insert_after.
Non-negative value defines time interval in seconds which will be used to group upcoming nodes. Negative then grouping is disabled.
-1If true, skip bookings that cannot be inserted and report them in the details.
falsevehicles objectrequired
A dictionary containing agent_id as a key and shift context object as a value. Multiple vehicles can be specified.
property name* object
New timestamp of the heading node.
Use this node as a heading node. If not specified or null, then first assigned node is used.
nullIf set to true and certain vehicles can not be processed then they are skipped. The UIDs of the failed vehicles will be reported in details["rejected_vehicles"].
false{
"action_type": "string",
"agent_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"node_uid_new_sequence": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"strict_time_windows": true,
"node_grouping_threshold": -1
}