POST
Time window
Choose a time window for the availability of the driver and all transports:
08:00
00:0001:0002:0003:0004:0005:0006:0007:0008:0009:0010:0011:0012:0013:0014:0015:0016:0017:0018:0019:0020:0021:0022:0023:0024:00
20:00
00:0001:0002:0003:0004:0005:0006:0007:0008:0009:0010:0011:0012:0013:0014:0015:0016:0017:0018:0019:0020:0021:0022:0023:0024:00
Profile
Choose a profile by using the drop-down list:
EUR_TRAILER_TRUCK
EUR_TRAILER_TRUCK EUR_TRUCK_40T EUR_TRUCK_11_99T EUR_TRUCK_7_49T EUR_VAN EUR_CAR EUR_TLN_TRUCK_40T EUR_TLN_TRUCK_20T EUR_TLN_TRUCK_11_99T EUR_TLN_VAN USA_1_PICKUP USA_5_DELIVERY USA_8_SEMITRAILER_5AXLE AUS_LCV_LIGHT_COMMERCIAL AUS_MR_MEDIUM_RIGID AUS_HR_HEAVY_RIGID IMEA_TRUCK_40T IMEA_TRUCK_7_49T IMEA_VAN IMEA_CAR OSM_BICYCLE OSM_CARGO_BICYCLE EUR_OSM_CAR EUR_OSM_TRAILER_TRUCK IMEA_OSM_CAR
Depot location
Change the geographical location of the single depot location:
Customer location
Add additional customers by clicking in the map!
5
0 1 2 3 4 5 6 7 8 9
Request Body

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".

NOTE: Make sure to call "Optimize plan" endpoint with considerTransportPriorities query parameter set to true for transport priorities to be considered!

Waiting for response...

You can alternatively choose one of the following samples in your preferred language to send a Create Plan request:

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