POST
Working hours preset

(Mind that if the break or daily rest fields are also specified, the most restrictive value will apply.)

No Value
No Value EU_DRIVING_TIME_REGULATION_FOR_SINGLE_DAY EU_DRIVING_TIME_REGULATION_FOR_LONG_SINGLE_DAY EU_WORKING_TIME_DIRECTIVE_FOR_SINGLE_DAY EU_WORKING_TIME_DIRECTIVES_FOR_LONG_SINGLE_DAY EU_DRIVING_TIME_REGULATION_FOR_MULTIPLE_DAYS EU_DRIVING_TIME_REGULATION_FOR_MULTIPLE_SINGLE_DAYS EU_DRIVING_TIME_REGULATION_FOR_TEAM_AND_MULTIPLE_DAYS US_HOURS_OF_SERVICE_REGULATIONS_FOR_SINGLE_DAY US_HOURS_OF_SERVICE_REGULATIONS_FOR_SHORT_HAUL_AND_SINGLE_DAY US_HOURS_OF_SERVICE_REGULATIONS_FOR_MULTIPLE_DAYS US_HOURS_OF_SERVICE_REGULATIONS_FOR_MULTIPLE_SINGLE_DAYS US_HOURS_OF_SERVICE_REGULATIONS_FOR_SHORT_HAUL_AND_MULTIPLE_SINGLE_DAYS
Break rule

Specify how long a break time should be and when a break is necessary.

30 minutes
No Value 30 minutes 45 minutes one hour
4.5 hours
No Value 4.5 hours 5 hours 6 hours 7 hours 8 hours 9 hours 10 hours 11 hours
15 minutes
No Value 15 minutes 30 minutes
6 hours
No Value 4.5 hours 5 hours 6 hours 7 hours 8 hours 9 hours 10 hours 11 hours
Rest rule

Specify how long a rest period should be and when a is it necessary.

9 hours
No Value 9 hours 10 hours 11 hours
9 hours
No Value 9 hours 10 hours 11 hours 12 hours 13 hours
BETWEEN_TRIPS
BETWEEN_TRIPS ANYWHERE
11 hours
No Value 11 hours 12 hours 13 hours 14 hours
Maximum driving/travel time

Limit the total driving/travel time of driver.

Customers

Add more customers by clicking on the map.

1. Customer location
Request Body
Send Request

The Send Request button submits the updated plan. If the request is successful, a response with a unique ID will be generated.

Response of Create Plan request
Waiting for response...
A look at the optimized plan

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...
Route's time schedule (based on report for stop and report for way to stop)
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:

Request Sample
// C# 
// JavaScript 
// Python 
// Java 
// PowerShell