...
- Generate a token for the session
- Create an empty routeplan, to get a fresh routePlanId (do this for each area that has it's own starting point)
- Create an empty file, to get a fresh fileId
- Generate a file (using our file-spec) and post it with the fresh fileId. Remember to fill out ORDER_ID (used as key when exporting optimized plans)
- Look for status: 'ok' or handle errors
...
Generate a token for the session
- Fetch the deliveries orders and extract the routename from there (for a given customerSystem and distribution-date)