This part of the code example explains how to create and optimise a route considering different capacity configurations of the loading area of vehicles.
You can specify the following:
- Capacity configuration of the vehicle
- The setting, where a switch between different configurations can be made
- Customer locations
Note: In this code sample a maximum of 10 customer locations are allowed. - Transports with several quantities to be picked up from, or delivered to, the customer
All the specifications are automatically inserted into the request body on the right side of the JSON representation.
Note:
- For more information about usage of capacities refer to capacities and alternative capacities concept.
- To delete the previously created plan, use the code sample Route optimisation - Delete plan.