Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Generate a token for the session
  • Repeat these steps for each transport company
    • 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

When the plan is optimized and published

...

(at a agreed time)

  • Generate a token for the session

  • Fetch the orders and extract the routename from there (for a given customerSystem and distribution-date)

After a distribution, fetch distribution-information about each order

  • Generate a token for the session
  • Fetch the orders with all distribution information , estimater time etc from there (for a given customerSystem and distribution-date)

When a customer wants to be deleted from your system (GDPR)

  • Assumes that you have a full history of the customer's orderIds
  • Generate a token for the session
  • Call "purgeOrders" given all the customer's orders (for a given customerSystem)

...