Search for content

Sequence Optimization - Create and Optimize a Sequence

This part of the code sample explains how to create and optimize a sequence.

You can specify the following:

  • Time window for the availability of the driver and all transports.
  • Reference profiles for the calculation.
  • Customer locations
    Note: In this code sample a maximum of 10 customer locations are allowed.

 

All the specifications are automatically inserted into the request body on the right side in the JSON representation.

To get the already optimized route of the sequence in the next step, copy the route ID from the response into the code example Sequence Optimization - Get Result of a Sequence.

To delete the previously created route, use the code sample Sequence Optimization - Delete the Sequence.