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

Booking states

Current state of the booking. States supported include:

  • new booking has been created but is not ready for opimization yet
  • prepared booking 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 pipeline
  • queued queued for calculation
  • calculation booking 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_calc booking has been cancelled by calculation pipeline
  • assigned bookings has been successfully optimized and has a vehicle assigned to it
  • rejected_by_system the optimization engine was not able to allocate a vhielce to fulfill the booking
  • enroute booking is currently being service by the vehicle (a vehicle has completed pick up for the booking)
  • sent_offer in case of on-deman operations, indicates that an offer to accepte the booking has been sent to the passenger
  • cancelled_by_user in case of passenger service indicates that a passenger has canelled the booking
  • pooling in case of JIT service, indicates that booking is awaiting for the passenger pooling to be completed
  • fail_to_board indicates 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_deliver indicates 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.
  • linked indicates 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:

  • new booking has been created but is not ready for opimization yet
  • prepared booking 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 pipeline
  • queued queued for calculation
  • calculation booking 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_calc booking has been cancelled by calculation pipeline
  • assigned bookings has been successfully optimized and has a vehicle assigned to it
  • rejected_by_system the optimization engine was not able to allocate a vhielce to fulfill the booking
  • enroute booking is currently being service by the vehicle (a vehicle has completed pick up for the booking)
  • sent_offer in case of on-deman operations, indicates that an offer to accepte the booking has been sent to the passenger
  • cancelled_by_user in case of passenger service indicates that a passenger has canelled the booking
  • pooling in case of JIT service, indicates that booking is awaiting for the passenger pooling to be completed
  • fail_to_board indicates 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_deliver indicates 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.
  • linked indicates 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"