Dispatch and Routing
Auto-assign Jobs
Use this endpoint to automatically assign jobs to workers.
This API endpoint allows for the automated assignment of a set of jobs to a specified group of workers.
REQUEST
Initiate a POST request to auto-assign jobs based on specified criteria.
Array of job IDs to be assigned.
Array of worker usernames for job assignment.
Assignment method: distance
, zones
, or size
.
Pickup capacity constraint for assignment.
Dropoff capacity constraint for assignment.
The specific day for assignment, format YYYYMMDD. Defaults to today (=0).
RESPONSE
Response detailing the assignment status of the jobs.
List of job IDs that were successfully assigned.
List of job IDs that could not be assigned.
A comprehensive list of all jobs considered during the assignment process.