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

Action: vehicle_assign_booking (Decommissioned)

Assign a single not assigned booking to a vehicle. DECOMMISSIONED.

action_typestringrequired

Action type identifier.

Constant value: vehicle_assign_booking
agent_idstring<uuid>required

Vehicle agent_id.

booking_uidstring<uuid>required

The UID of the booking 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_positioninteger

Optional 0-based index of the desired pickup location in the new route. The position will be optimized otherwise.

Possible values: >= 0

dropoff_positioninteger

Optional 0-based index of the desired dropoff location in the new route. The position will be optimized otherwise.

Possible values: >= 0

Action: vehicle_assign_booking (Decommissioned)
{
"action_type": "string",
"agent_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"booking_uid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"strict_capacity": false,
"strict_time_windows": true,
"pickup_position": 0,
"dropoff_position": 0
}