Insert optimization legs
POST /optimization/legs
POST
/optimization/legs
Insert pre-calculated route legs with travel times into an optimization
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
id
required
Optimization job ID
string
legs
required
Array of route legs with travel times
Array<object>
object
start_location_id
required
ID of the starting location
string
end_location_id
required
ID of the ending location
string
time
required
Travel time in minutes between locations
number
Responses
Section titled “ Responses ”Legs inserted