Retrieve Optimized Routes

Use the following GET API request to retrieve optimized route result using the unique job ID created in the POST request.

API Request
1
https://api.nextbillion.io/optimization/v2/result?id=<id>&key=<nextbillions_api_key>
API Response
1
{
2
"result": {
3
"code": 0,
4
"summary": "{...}",
5
"unassigned": "[...]",
6
"routes": "[...]"
7
},
8
"status": "Ok",
9
"message": ""
10
}

The optimized route can be visualized using the NextBillion.ai’s Route Planner Web App available in NextBillion.ai Cloud Console.

The following image visualizes the optimized routes in the Route Planner Web App interface.

Visualize optimized routes using NextBillion.ai Route Planner web application

© 2024 NextBillion.ai all rights reserved.