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

Mark booking as failed to be picked up

POST 

/api/v2/microservices/fail_to_board

This endpoint can be used to mark the booking as failed to pickup. What happens to the booking's nodes depends on the simulation's data.cancellation_strategy:

  • remove (default): the nodes are removed from the vehicle route.
  • keep: the nodes are replaced with point nodes.
  • keep_failed_remove_cancelled: for a failed-to-board booking the nodes are kept as point nodes; for a cancelled booking they are removed.
  • ignore_failed_remove_cancelled: this call has no effect. The booking stays assigned, its nodes stay on the route unchanged, and no fail_to_board state is set, so the driver can still pick the passenger up. A cancellation by the passenger removes the nodes, as with remove.

Request​