Dispatch plans

Start Dispatch Plan Optimization

Queue a run that re-solves a snapshot plan's routes on their own trucks. Nothing changes until the run is taken; the lease is not held while it runs. Fails with 409 PLAN_LEASE_HELD (naming heldBy) while anyone has the plan open in the Planner, and with 409 PLAN_REVISION_STALE (naming currentRevision) when the plan changed since expectedRevision.

post/v1/plans/{planId}/optimizations

Request

  • Base URL
    https://api.sandbox.usenash.com
  • Auth
    none declared

Path parameters

planIdstring required

Request body

expectedRevisioninteger required

The revision of the plan you last read.

Response

Accepted

activityIdstring required

Poll it until it is succeeded or failed, and take a succeeded one.

Changes

No recorded changes to this operation across all 1 revision of this API.