(Mind that if the break or daily rest fields are also specified, the most restrictive value will apply.)
Specify how long a break time should be and when a break is necessary.
Specify how long a rest period should be and when a is it necessary.
Limit the total driving/travel time of driver.
Add more customers by clicking on the map.
Request Body
The Send Request button submits the updated plan. If the request is successful, a response with a unique ID will be generated.
Waiting for response...
The Route Optimization API is an asynchronous API. Therefore, the created plan must be first optimized via the endpoint "Optimize plan", afterwards it is possible to get the plan via the endpoint "Get plan". For convenience in this code sample, you can also see the response from the Get Plan endpoint without doing the extra steps. However, mind that to use the API, you also need the steps mentioned. For more information about asynchronous API see the code sample "How to create a plan". Similarly, to delete the previously created plan, use the unique plan id from the response and the code sample "Delete a plan".
Waiting for response...
Stop id | Time passed on the way to stop | Time passed at the stop |
---|
You can alternatively choose one of the following samples in your preferred language to send a Get Plan request:
// C#
// JavaScript
// Python
// Java
// PowerShell