Initialize Vehicle Based Route Optimization

This section is related to Initialize Auto-Dispatch Route Optimization which requires you to be on a certain Onfleet subscription plan. Please see [email protected] for the availability of this feature.

Reserve for jobType:

NameTypeDescription


NameTypeDescription
optimizationTypestring
maxTasksPerRoutenumber
dateTime in Unix
timezonestring
modenumber
serviceTimenumber
tasksArray of Task Objects
teams
schedulingMethodnumber
routeStartstring
routeEndstring
maxViolationTimenumber
avoidTollsboolean
balanceRoutesboolean
allowMissingLinkedTasksboolean
createEndRouteTaskboolean
optimizationByVehicleObject
defaultScheduleObject

The distinguished part of this RO by API section

optimizationByVehicle Object:

NameTypeDescription