This code sample describes how to calculate a route and request a routeId in the response.You can use the returned routeId to, for example, Recalculate the Route with Events.