メインコンテンツまでスキップ

Action: vehicle_assign_booking_list

Assign a list of not assigned bookings to a vehicle.

action_typestringrequired

Action type identifier.

Constant value: vehicle_assign_booking_list
agent_idstring<uuid>required

Vehicle agent_id.

booking_uidsstring<uuid>[]required

The list of UIDs of the bookings being assigned.

strict_capacityboolean

Enable or disable strict checking of capacity constraint.

Default value: false
strict_time_windowsboolean

Enable or disable strict checking of time windows constraints.

Default value: true
pickup_insert_beforeinteger

Optional 0-based index of a node before which all unassigned pickups will be assigned, otherwise optimized

Possible values: >= 0

pickup_insert_before_uidstring<uuid>

Optional UID of a node before which to insert all pickups. Conflicts with pickup_insert_before.

dropoff_insert_afterinteger

Optional 0-based index of a node after which all unassigned dropoffs will be assigned, otherwise optimized

Possible values: >= 0

dropoff_insert_after_uidstring<uuid>

Optional UID of a node after which to insert all dropoffs. Conflicts with dropoff_insert_after.

node_grouping_thresholdinteger

Non-negative value defines time interval in seconds which will be used to group upcoming nodes. Negative then grouping is disabled.

Default value: -1
partial_successboolean

If true, skip bookings that cannot be inserted and report them in the details.

Default value: false
Action: vehicle_assign_booking_list
{
"action_type": "string",
"agent_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"booking_uids": [
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
],
"strict_capacity": false,
"strict_time_windows": true,
"pickup_insert_before": 0,
"pickup_insert_before_uid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"dropoff_insert_after": 0,
"dropoff_insert_after_uid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"node_grouping_threshold": -1,
"partial_success": false
}