Added functionality to get the route detail