Booking states
Current state of the booking. States supported include:
newbooking has been created but is not ready for opimization yetpreparedbooking has been created along with all required nodes and settings. It is ready to be optimized. This is a default state for a booking created via logistics or passenger pipelinequeuedqueued for calculationcalculationbooking is being optimized. Once optimization has been triggered the booking can remain in this state for an extneded preiod of time (while optimization is running)cancelled_in_calcbooking has been cancelled by calculation pipelineassignedbookings has been successfully optimized and has a vehicle assigned to itrejected_by_systemthe optimization engine was not able to allocate a vhielce to fulfill the bookingenroutebooking is currently being service by the vehicle (a vehicle has completed pick up for the booking)sent_offerin case of on-deman operations, indicates that an offer to accepte the booking has been sent to the passengercancelled_by_userin case of passenger service indicates that a passenger has canelled the bookingpoolingin case of JIT service, indicates that booking is awaiting for the passenger pooling to be completedfail_to_boardindicates that a vehicle was not able to pickup goods or a passnger failed to board. Usually means that this booking is ignored during subsequent calculations.fail_to_deliverindicates that the booking has been picked up but the vehicle couldn't deliver goods or passengers. The booking is not ignored in subsequent calculations since the vehicle still carries goods or passengers.linkedindicates that the booking has been linked to another booking as a part of pooling procedure for on demand optimization run when there is already another visit scheduled for the same location. See details here
stringBooking states (string)
Current state of the booking. States supported include:
newbooking has been created but is not ready for opimization yetpreparedbooking has been created along with all required nodes and settings. It is ready to be optimized. This is a default state for a booking created via logistics or passenger pipelinequeuedqueued for calculationcalculationbooking is being optimized. Once optimization has been triggered the booking can remain in this state for an extneded preiod of time (while optimization is running)cancelled_in_calcbooking has been cancelled by calculation pipelineassignedbookings has been successfully optimized and has a vehicle assigned to itrejected_by_systemthe optimization engine was not able to allocate a vhielce to fulfill the bookingenroutebooking is currently being service by the vehicle (a vehicle has completed pick up for the booking)sent_offerin case of on-deman operations, indicates that an offer to accepte the booking has been sent to the passengercancelled_by_userin case of passenger service indicates that a passenger has canelled the bookingpoolingin case of JIT service, indicates that booking is awaiting for the passenger pooling to be completedfail_to_boardindicates that a vehicle was not able to pickup goods or a passnger failed to board. Usually means that this booking is ignored during subsequent calculations.fail_to_deliverindicates that the booking has been picked up but the vehicle couldn't deliver goods or passengers. The booking is not ignored in subsequent calculations since the vehicle still carries goods or passengers.linkedindicates that the booking has been linked to another booking as a part of pooling procedure for on demand optimization run when there is already another visit scheduled for the same location. See details here
Possible values: [new, prepared, queued, calculation, cancelled_in_calc, assigned, rejected_by_system, enroute, completed, sent_offer, cancelled_by_user, pooling, fail_to_board, fail_to deliver, linked]
Booking states
"new"