Request Body
The Send Request button submits the updated plan. If the request is successful, a response with a unique ID will be generated.
Waiting for response...
The Route Optimization API is an asynchronous API. Therefore, the created plan must be first optimized via the endpoint "Optimize plan", afterwards it is possible to get the plan via the endpoint "Get plan". For convenience in this code sample, you can also see the response from the Get Plan endpoint without doing the extra steps. However, mind that to use the API, you also need the steps mentioned. For more information about asynchronous API see the code sample "How to create a plan". Similarly, to delete the previously created plan, use the unique plan id from the response and the code sample "Delete a plan".
NOTE: Make sure to call "Optimize plan" endpoint with considerTransportPriorities query parameter set to true for transport priorities to be considered!
Waiting for response...
You can alternatively choose one of the following samples in your preferred language to send a Create Plan request:
// C#
// JavaScript
// Python
// Java
// PowerShell