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
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
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
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 {
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)
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 },
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
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
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
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
Recent Comments