capabilities.work

Build Route Plan

A 3-step recipe with Onfleet. We can help you get access.

Recipe · 3 steps

Build Route Plan

with Onfleet · Last-Mile Delivery Operations Management

Create a route plan, add tasks to it, and confirm the assembled route.

  1. Create the route plan bound to the worker and start time.
  2. Append the ordered task ids to the route plan.
  3. Read the route plan back to confirm its tasks and state.
What you'll need to have ready
  • name: A human-readable name for the route plan.
  • startTime: The route start time in Unix milliseconds.
  • endTime: Optional route end time in Unix milliseconds.
  • worker: The worker id the route plan is assigned to.
  • tasks: The ordered list of task ids to add to the route plan.
For your developer

Arazzo workflow onfleet:build-route-plan, 3 operations: createRoutePlan → addTasksToRoutePlan → getRoutePlan. Specs on APIs.io.