Search for content

Round Trip - Create a Plan

This part of the code sample explains how the request has to look to create a simple plan for a round trip containing a vehicle, transport and the related locations.

You can specify the following:

  • The time window for the planning horizon and all locations.
  • 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 of the JSON representation.

To optimise the plan in the next step, copy the plan ID from the response into the code example Round Trip - Optimise the Plan.

To delete the previously created plan, use the code sample Round Trip - Delete a Plan.