Create Optimization Job with NextBillion.ai's Route Optimization API

Prepare and send the API request to NextBillion.ai Route Optimization API to create optimization jobs.

API Request

The following API request sends the retrieved and mapped data to the API endpoint.

1
curl --request POST \
2
--url 'https://api.nextbillion.io/optimization/v2?key=<nextbillion_api_key>'

API Response

The response will confirm the creation of optimization job.

1
{
2
"id": "1a3905c5163dfc4aa5267e85c177ef7a",
3
"message": "Optimization job created",
4
"status": "Ok"
5
}

© 2024 NextBillion.ai all rights reserved.