Rating the driver of a trip (Node.js)

In this use case, the user rates the driver of a trip. The rating is usually between 1 to 5. The mobility service sometimes asks for a reason why the user has provided a particular

Track an ongoing trip (Node.js)

In this use case, the user usually clicks on "Track Ride" or sometimes, the application automatically renders the tracking screen as part of the ride screen. Here the provider usually sends a tracking link to

Contact support of a provider agency (Node.js)

In this use case, the user wants to contact the customer support due to an issue with the fulfillment of the trip. Here the mobility service provider returns the details of its customer support. Code

Get latest trip updates (Node.js)

In this use case, the user receives the various updates of an ongoing trip Code snippets Client calls the BAP server to trigger status: router.post("/mobility/get_order_status", getOrderStatus); async function get_order_status({ body }, res) { try {

Selecting a mobility option and getting the updated quote for the same (Node.js)

In this use case, the user selects a mobility option and receives the fare for the same Code snippets Client calls the BAP server to trigger select: router.post("/mobility/select_mobility", selectMobility); async function selectMobility({ body }, res)

Applying an offer on a mobility service and getting discounted fare (Node.js)

In this use case, the user applies an offer on a mobility service and receives a discounted fare Code snippets Client calls the BAP server to trigger select: router.post("/mobility/apply_offer", applyOffer); async function applyOffer({ body },

Getting the schedule for a fixed-route, scheduled mobility service provider (example: Metro and Buses) (Node.js)

In this use case, the user views the schedule or time-table for a fixed route mobility service provider like a bus service, or a metro service Code snippets CODE

Viewing the services of a multi-mode mobility service provider (Node.js)

In this use case, the user usually clicks on a mobility service provider that offers transport services via multiple modes of transport to view the various services it offers. The mobility service provider, usually returns

Viewing the service of a single-mode mobility service provider (Node.js)

In this use case, the user usually clicks on a mobility service provider to view the service it offers. The mobility service provider, usually returns the details of the mobility service with its fare policy

Calculate the fare for a mobility service provider based on distance between a pickup and drop location (Node.js)

In this use case, the user provides his pickup and drop location to a mobility service provider to get the calculated fare Code snippets Client calls the BAP server to trigger search: router.post("/mobility/calculate_fare", calculateFare); async