Return : JSON type – Routing

status OK, FAIL
err error message,
only in case of fail.
routes
rpoption route options(1:recommendation1 / 2:recommendation2 / 4:highway priority / 8:generalroad priority / 16:shortest distance / 32:free road(shortest time) / 64:exclude caronly / 256:free road(shortest distance) )
bounds Up and down diagonal vertex coordinates for gripping map mbr.
overview_polyline.points Google polyline coordinate information
points_count points_count point count
points points Display lines on a map using the[mapInstance.geometrydecode(points)]function
legs Detailed information of the route corresponding to the route option, and legs may come in plural according to the route option.(rpoption=3 : recommendation1,recommendation2)
start_location The beginning of the current path
end_location End point of current path
distance Total distance traveled in current path
duration Total time of the current route
via_waypoint Waypoint coordinates information on the current route
- Created only when waypoints are included in request information
steps Repeat section information of current route
instructions Name information of each section
roadcategory Road type of each section
roadname Road name of each section
maneuver Rotation information of each section
distance Movement distance of each section
duration Required time for each section