Search for content

Transport priorities

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

You can specify the following:

  • The time window for the availability of the driver and all transport.
  • 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 of the JSON representation.

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

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