Search for content

Transport priorities

This part of the code sample explains how to create and optimize a plan which takes into account priorities of given transports.

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.
  • Priorities of transports to specific customer locations

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

NOTE: In order to show the impact of transport priorities, the capacity of the vehicle was resticted to fit a maximum of three transports.

To delete an already existing plan, use the code sample Round trip - Delete a plan.