Getting Started
This guide provides an overview of the initial stages of using the Route4Me API, including creating your first optimization problem and managing your first routes.
Create an Optimization
Optimization refers to a collection of destinations that need to be visited.
An Optimization Problem, then, is a collection of destinations that need to be arranged into one or more routes to be visited. It considers all the addresses that need to be visited and all the constraints associated with each destination, address, and depot.
We recommend creating optimization problems with as many destinations as possible to allow the optimization engine to consider the entire problem set.
Optimization differs from a Route, which is a sequence of addresses that need to be visited by a single vehicle and driver within a fixed period. Solving an optimization problem results in one or more routes, which may recur in the future.
The primary way to define an address is through a latitude/longitude pair, which is also the most precise and reliable method. A street address is a close second.
So, to create your first optimization, you will need a set of addresses, each represented by a latitude/longitude pair or a street address.
This guide will use 15 addresses represented by latitude/longitude pairs. We'll leave the depot unspecified, and the system will assume it is the first destination in the list. Additionally, we will set the route_max_duration
to 30 minutes (1800 seconds). Replace the API key placeholder 11111111111111111111111111111111
with your API key, and this request will work:
curl --request POST \
--url 'https://api.route4me.com/api.v4/optimization_problem.php?api_key=11111111111111111111111111111111' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"parameters": {
"route_max_duration": 1800
},
"addresses": [
{
"lat": 52.373066,
"lng": 4.856445
},
{
"lat": 52.281774,
"lng": 4.828886
},
{
"lat": 52.355059,
"lng": 4.855051
},
{
"lat": 52.355059,
"lng": 4.855051
},
{
"lat": 52.351536,
"lng": 5.007007
},
{
"lat": 52.360651,
"lng": 4.993203
},
{
"lat": 52.375203,
"lng": 4.882226
},
{
"lat": 52.36068,
"lng": 4.855828
},
{
"lat": 52.371708,
"lng": 4.937041
},
{
"lat": 52.371708,
"lng": 4.937041
},
{
"lat": 52.357168,
"lng": 4.946456
},
{
"lat": 52.32816,
"lng": 4.961257
},
{
"lat": 52.38003,
"lng": 4.857972
},
{
"lat": 52.328816,
"lng": 4.95593
},
{
"lat": 52.329394,
"lng": 4.955335
}
]
}
OkHttpClient client = new OkHttpClient();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\"parameters\":{\"route_max_duration\":1799},\"addresses\":[{\"lat\":52.373066,\"lng\":4.856445},{\"lat\":52.281774,\"lng\":4.828886},{\"lat\":52.355059,\"lng\":4.855051},{\"lat\":52.355059,\"lng\":4.855051},{\"lat\":52.351536,\"lng\":5.007007},{\"lat\":52.360651,\"lng\":4.993203},{\"lat\":52.375203,\"lng\":4.882226},{\"lat\":52.36068,\"lng\":4.855828},{\"lat\":52.371708,\"lng\":4.937041},{\"lat\":52.371708,\"lng\":4.937041},{\"lat\":52.357168,\"lng\":4.946456},{\"lat\":52.32816,\"lng\":4.961257},{\"lat\":52.38003,\"lng\":4.857972},{\"lat\":52.328816,\"lng\":4.95593},{\"lat\":52.329394,\"lng\":4.955335}]}");
Request request = new Request.Builder()
.url("https://api.route4me.com/api.v4/optimization_problem.php?api_key=11111111111111111111111111111111")
.post(body)
.addHeader("accept", "application/json")
.addHeader("content-type", "application/json")
.build();
Response response = client.newCall(request).execute();
using RestSharp;
var options = new RestClientOptions("https://api.route4me.com/api.v4/optimization_problem.php?api_key=11111111111111111111111111111111");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("accept", "application/json");
request.AddJsonBody("{\"parameters\":{\"route_max_duration\":1799},\"addresses\":[{\"lat\":52.373066,\"lng\":4.856445},{\"lat\":52.281774,\"lng\":4.828886},{\"lat\":52.355059,\"lng\":4.855051},{\"lat\":52.355059,\"lng\":4.855051},{\"lat\":52.351536,\"lng\":5.007007},{\"lat\":52.360651,\"lng\":4.993203},{\"lat\":52.375203,\"lng\":4.882226},{\"lat\":52.36068,\"lng\":4.855828},{\"lat\":52.371708,\"lng\":4.937041},{\"lat\":52.371708,\"lng\":4.937041},{\"lat\":52.357168,\"lng\":4.946456},{\"lat\":52.32816,\"lng\":4.961257},{\"lat\":52.38003,\"lng\":4.857972},{\"lat\":52.328816,\"lng\":4.95593},{\"lat\":52.329394,\"lng\":4.955335}]}", false);
var response = await client.PostAsync(request);
Console.WriteLine("{0}", response.Content);
<?php
require_once('vendor/autoload.php');
$client = new \GuzzleHttp\Client();
$response = $client->request('POST', 'https://api.route4me.com/api.v4/optimization_problem.php?api_key=11111111111111111111111111111111', [
'body' => '{"parameters":{"route_max_duration":1800},"addresses":[{"lat":52.373066,"lng":4.856445},{"lat":52.281774,"lng":4.828886},{"lat":52.355059,"lng":4.855051},{"lat":52.355059,"lng":4.855051},{"lat":52.351536,"lng":5.007007},{"lat":52.360651,"lng":4.993203},{"lat":52.375203,"lng":4.882226},{"lat":52.36068,"lng":4.855828},{"lat":52.371708,"lng":4.937041},{"lat":52.371708,"lng":4.937041},{"lat":52.357168,"lng":4.946456},{"lat":52.32816,"lng":4.961257},{"lat":52.38003,"lng":4.857972},{"lat":52.328816,"lng":4.95593},{"lat":52.329394,"lng":4.955335}]}',
'headers' => [
'accept' => 'application/json',
'content-type' => 'application/json',
],
]);
echo $response->getBody();
import requests
url = "https://api.route4me.com/api.v4/optimization_problem.php?api_key=11111111111111111111111111111111"
payload = {
"parameters": { "route_max_duration": 1800 },
"addresses": [
{
"lat": 52.373066,
"lng": 4.856445
},
{
"lat": 52.281774,
"lng": 4.828886
},
{
"lat": 52.355059,
"lng": 4.855051
},
{
"lat": 52.355059,
"lng": 4.855051
},
{
"lat": 52.351536,
"lng": 5.007007
},
{
"lat": 52.360651,
"lng": 4.993203
},
{
"lat": 52.375203,
"lng": 4.882226
},
{
"lat": 52.36068,
"lng": 4.855828
},
{
"lat": 52.371708,
"lng": 4.937041
},
{
"lat": 52.371708,
"lng": 4.937041
},
{
"lat": 52.357168,
"lng": 4.946456
},
{
"lat": 52.32816,
"lng": 4.961257
},
{
"lat": 52.38003,
"lng": 4.857972
},
{
"lat": 52.328816,
"lng": 4.95593
},
{
"lat": 52.329394,
"lng": 4.955335
}
]
}
headers = {
"accept": "application/json",
"content-type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
const sdk = require('api')('@r4m/v1#1qz7y18lt75whhp');
sdk.auth('11111111111111111111111111111111');
sdk.postOptimization_problemPhp({
parameters: {route_max_duration: 1800},
addresses: [
{lat: 52.373066, lng: 4.856445},
{lat: 52.281774, lng: 4.828886},
{lat: 52.355059, lng: 4.855051},
{lat: 52.355059, lng: 4.855051},
{lat: 52.351536, lng: 5.007007},
{lat: 52.360651, lng: 4.993203},
{lat: 52.375203, lng: 4.882226},
{lat: 52.36068, lng: 4.855828},
{lat: 52.371708, lng: 4.937041},
{lat: 52.371708, lng: 4.937041},
{lat: 52.357168, lng: 4.946456},
{lat: 52.32816, lng: 4.961257},
{lat: 52.38003, lng: 4.857972},
{lat: 52.328816, lng: 4.95593},
{lat: 52.329394, lng: 4.955335}
]
})
.then(({ data }) => console.log(data))
.catch(err => console.error(err));
package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.route4me.com/api.v4/optimization_problem.php?api_key=11111111111111111111111111111111"
payload := strings.NewReader("{\"parameters\":{\"route_max_duration\":1800},\"addresses\":[{\"lat\":52.373066,\"lng\":4.856445},{\"lat\":52.281774,\"lng\":4.828886},{\"lat\":52.355059,\"lng\":4.855051},{\"lat\":52.355059,\"lng\":4.855051},{\"lat\":52.351536,\"lng\":5.007007},{\"lat\":52.360651,\"lng\":4.993203},{\"lat\":52.375203,\"lng\":4.882226},{\"lat\":52.36068,\"lng\":4.855828},{\"lat\":52.371708,\"lng\":4.937041},{\"lat\":52.371708,\"lng\":4.937041},{\"lat\":52.357168,\"lng\":4.946456},{\"lat\":52.32816,\"lng\":4.961257},{\"lat\":52.38003,\"lng\":4.857972},{\"lat\":52.328816,\"lng\":4.95593},{\"lat\":52.329394,\"lng\":4.955335}]}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("accept", "application/json")
req.Header.Add("content-type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
The response to this request will resemble the following:
{
"optimization_problem_id": "AA4062A4F594B5DB3837AC636279EE24",
"smart_optimization_id": null,
"user_errors": [],
"optimization_errors": [],
"state": 4,
"created_timestamp": 1709726799,
"scheduled_for": 1709708400,
"optimization_completed_timestamp": null,
"parameters": {
"is_upload": false,
"rt": false,
"route_name": "Wed, 06 Mar 2024 12:06:38 +0000 UTC",
"route_date": 1709683200,
"route_time": 25200,
"shared_publicly": false,
"disable_optimization": false,
"optimize": "Time",
"lock_last": false,
"vehicle_capacity": null,
"vehicle_max_cargo_weight": null,
"vehicle_max_cargo_volume": null,
"vehicle_max_distance_mi": null,
"subtour_max_revenue": null,
"distance_unit": "mi",
"travel_mode": "Driving",
"avoid": "",
"avoidance_zones": [],
"vehicle_id": null,
"driver_id": null,
"dev_lat": null,
"dev_lng": null,
"route_max_duration": 1800,
"route_email": null,
"store_route": true,
"metric": 4,
"algorithm_type": 100,
"member_id": 1053088,
"ip": 1602858388,
"dm": 12,
"dirm": 10,
"parts": 10,
"parts_min": 1,
"device_id": "",
"device_type": "web",
"first_drive_then_wait_between_stops": false,
"has_trailer": false,
"trailer_weight_t": null,
"limited_weight_t": null,
"weight_per_axle_t": null,
"truck_height": null,
"truck_width": null,
"truck_length": null,
"truck_hazardous_goods": "",
"truck_axles": 0,
"truck_toll_road_usage": null,
"truck_avoid_ferries": null,
"truck_hwy_only": null,
"truck_lcv": null,
"truck_borders": null,
"truck_side_street_adherence": null,
"truck_config": null,
"truck_dim_unit": null,
"truck_type": null,
"truck_weight": 0,
"optimization_quality": 1,
"override_addresses": {},
"max_tour_size": null,
"min_tour_size": 0,
"uturn": 1,
"leftturn": 1,
"rightturn": 1,
"route_time_multiplier": null,
"route_service_time_multiplier": null,
"optimization_engine": "2",
"is_dynamic_start_time": false,
"is_amp": true
},
"sent_to_background": false,
"addresses": [
{
"route_destination_id": 1100583657,
"alias": "",
"member_id": 1053088,
"address": "Stop #1",
"is_depot": true,
"timeframe_violation_state": null,
"timeframe_violation_time": 0,
"timeframe_violation_rate": 0,
"lat": 52.373066,
"lng": 4.856445,
"curbside_lat": 52.373066,
"curbside_lng": 4.856445,
"priority": null,
"route_id": null,
"original_route_id": null,
"route_name": null,
"optimization_problem_id": "AA4062A4F594B5DB3837AC636279EE24",
"sequence_no": 0,
"geocoded": false,
"preferred_geocoding": null,
"failed_geocoding": false,
"geocodings": [],
"contact_id": null,
"order_id": null,
"order_uuid": null,
"address_stop_type": null,
"is_visited": false,
"timestamp_last_visited": null,
"visited_lat": null,
"visited_lng": null,
"is_departed": false,
"departed_lat": null,
"departed_lng": null,
"timestamp_last_departed": null,
"group": null,
"customer_po": null,
"invoice_no": null,
"reference_no": null,
"order_no": null,
"weight": 0,
"cost": 0,
"revenue": 0,
"cube": 0,
"pieces": 0,
"first_name": null,
"last_name": null,
"email": null,
"phone": null,
"destination_note_count": 0,
"drive_time_to_next_destination": null,
"abnormal_traffic_time_to_next_destination": null,
"uncongested_time_to_next_destination": null,
"traffic_time_to_next_destination": null,
"distance_to_next_destination": null,
"channel_name": "17672b7bdf0d7bbbc54286160f4ba321",
"pickup": null,
"dropoff": null,
"joint": null,
"generated_time_window_start": null,
"generated_time_window_end": null,
"time_window_start": null,
"time_window_end": null,
"time_window_start_2": null,
"time_window_end_2": null,
"geofence_detected_visited_timestamp": null,
"geofence_detected_departed_timestamp": null,
"geofence_detected_service_time": null,
"geofence_detected_visited_lat": null,
"geofence_detected_visited_lng": null,
"geofence_detected_departed_lat": null,
"geofence_detected_departed_lng": null,
"geofence_local_visited_timestamp": null,
"geofence_local_visited_lat": null,
"geofence_local_visited_lng": null,
"geofence_local_departed_timestamp": null,
"geofence_local_departed_lat": null,
"geofence_local_departed_lng": null,
"geofence_local_service_time": null,
"time": 0,
"tracking_number": null,
"custom_fields": {},
"custom_fields_str_json": "{}",
"custom_fields_config": null,
"custom_fields_config_str_json": "null",
"notes": [],
"bundle_count": 0,
"bundle_items": null,
"order_inventory": null,
"required_skills": [],
"additional_status": null,
"workflow_uuid": null,
"invalid_sequence": {
"detected": false,
"event_timestamp": 0,
"actual_sequence_no": null,
"expected_sequence_no": null,
"revision_count": null
}
},
{
"route_destination_id": 1100583658,
"alias": "",
"member_id": 1053088,
"address": "Stop #2",
"is_depot": false,
"timeframe_violation_state": null,
"timeframe_violation_time": 0,
"timeframe_violation_rate": 0,
"lat": 52.281774,
"lng": 4.828886,
"curbside_lat": 52.281774,
"curbside_lng": 4.828886,
"priority": null,
"route_id": "5EB1EDFFE9855276BC12BC85D247B3B9",
"original_route_id": null,
"optimization_problem_id": "AA4062A4F594B5DB3837AC636279EE24",
"sequence_no": 1,
"geocoded": false,
"preferred_geocoding": null,
"failed_geocoding": false,
"geocodings": [],
"contact_id": null,
"order_id": null,
"order_uuid": null,
"address_stop_type": "DELIVERY",
"is_visited": false,
"timestamp_last_visited": null,
"visited_lat": null,
"visited_lng": null,
"is_departed": false,
"departed_lat": null,
"departed_lng": null,
"timestamp_last_departed": null,
"group": null,
"customer_po": null,
"invoice_no": null,
"reference_no": null,
"order_no": null,
"weight": 0,
"cost": 0,
"revenue": 0,
"cube": 0,
"pieces": 1,
"first_name": null,
"last_name": null,
"email": null,
"phone": null,
"destination_note_count": 0,
"drive_time_to_next_destination": 720,
"abnormal_traffic_time_to_next_destination": null,
"uncongested_time_to_next_destination": null,
"traffic_time_to_next_destination": null,
"distance_to_next_destination": 8.33,
"channel_name": "d8fb27a38a57296b7427284e07871976",
"pickup": null,
"dropoff": null,
"joint": null,
"generated_time_window_start": null,
"generated_time_window_end": null,
"time_window_start": null,
"time_window_end": null,
"time_window_start_2": null,
"time_window_end_2": null,
"geofence_detected_visited_timestamp": null,
"geofence_detected_departed_timestamp": null,
"geofence_detected_service_time": null,
"geofence_detected_visited_lat": null,
"geofence_detected_visited_lng": null,
"geofence_detected_departed_lat": null,
"geofence_detected_departed_lng": null,
"geofence_local_visited_timestamp": null,
"geofence_local_visited_lat": null,
"geofence_local_visited_lng": null,
"geofence_local_departed_timestamp": null,
"geofence_local_departed_lat": null,
"geofence_local_departed_lng": null,
"geofence_local_service_time": null,
"time": 0,
"tracking_number": "NP17QN9Z",
"custom_fields": {},
"custom_fields_str_json": "{}",
"custom_fields_config": null,
"custom_fields_config_str_json": "null",
"notes": [],
"bundle_count": 0,
"bundle_items": null,
"order_inventory": null,
"required_skills": [],
"additional_status": null,
"workflow_uuid": null,
"invalid_sequence": {
"detected": false,
"event_timestamp": 0,
"actual_sequence_no": null,
"expected_sequence_no": null,
"revision_count": null
}
},
{
"route_destination_id": 1100583659,
"alias": "",
"member_id": 1053088,
"address": "Stop #3",
"is_depot": false,
"timeframe_violation_state": null,
"timeframe_violation_time": 0,
"timeframe_violation_rate": 0,
"lat": 52.355059,
"lng": 4.855051,
"curbside_lat": 52.355059,
"curbside_lng": 4.855051,
"priority": null,
"route_id": "5EB1EDFFE9855276BC12BC85D247B3B9",
"original_route_id": null,
"optimization_problem_id": "AA4062A4F594B5DB3837AC636279EE24",
"sequence_no": 2,
"geocoded": false,
"preferred_geocoding": null,
"failed_geocoding": false,
"geocodings": [],
"contact_id": null,
"order_id": null,
"order_uuid": null,
"address_stop_type": "DELIVERY",
"is_visited": false,
"timestamp_last_visited": null,
"visited_lat": null,
"visited_lng": null,
"is_departed": false,
"departed_lat": null,
"departed_lng": null,
"timestamp_last_departed": null,
"group": null,
"customer_po": null,
"invoice_no": null,
"reference_no": null,
"order_no": null,
"weight": 0,
"cost": 0,
"revenue": 0,
"cube": 0,
"pieces": 1,
"first_name": null,
"last_name": null,
"email": null,
"phone": null,
"destination_note_count": 0,
"drive_time_to_next_destination": 0,
"abnormal_traffic_time_to_next_destination": null,
"uncongested_time_to_next_destination": null,
"traffic_time_to_next_destination": null,
"distance_to_next_destination": 0,
"channel_name": "df760656d33b1145524a22343fa03707",
"pickup": null,
"dropoff": null,
"joint": null,
"generated_time_window_start": null,
"generated_time_window_end": null,
"time_window_start": null,
"time_window_end": null,
"time_window_start_2": null,
"time_window_end_2": null,
"geofence_detected_visited_timestamp": null,
"geofence_detected_departed_timestamp": null,
"geofence_detected_service_time": null,
"geofence_detected_visited_lat": null,
"geofence_detected_visited_lng": null,
"geofence_detected_departed_lat": null,
"geofence_detected_departed_lng": null,
"geofence_local_visited_timestamp": null,
"geofence_local_visited_lat": null,
"geofence_local_visited_lng": null,
"geofence_local_departed_timestamp": null,
"geofence_local_departed_lat": null,
"geofence_local_departed_lng": null,
"geofence_local_service_time": null,
"time": 0,
"tracking_number": "XE0PK2M9",
"custom_fields": {},
"custom_fields_str_json": "{}",
"custom_fields_config": null,
"custom_fields_config_str_json": "null",
"notes": [],
"bundle_count": 0,
"bundle_items": null,
"order_inventory": null,
"required_skills": [],
"additional_status": null,
"workflow_uuid": null,
"invalid_sequence": {
"detected": false,
"event_timestamp": 0,
"actual_sequence_no": null,
"expected_sequence_no": null,
"revision_count": null
}
},
{
"route_destination_id": 1100583660,
"alias": "",
"member_id": 1053088,
"address": "Stop #4",
"is_depot": false,
"timeframe_violation_state": null,
"timeframe_violation_time": 0,
"timeframe_violation_rate": 0,
"lat": 52.355059,
"lng": 4.855051,
"curbside_lat": 52.355059,
"curbside_lng": 4.855051,
"priority": null,
"route_id": "5EB1EDFFE9855276BC12BC85D247B3B9",
"original_route_id": null,
"optimization_problem_id": "AA4062A4F594B5DB3837AC636279EE24",
"sequence_no": 3,
"geocoded": false,
"preferred_geocoding": null,
"failed_geocoding": false,
"geocodings": [],
"contact_id": null,
"order_id": null,
"order_uuid": null,
"address_stop_type": "DELIVERY",
"is_visited": false,
"timestamp_last_visited": null,
"visited_lat": null,
"visited_lng": null,
"is_departed": false,
"departed_lat": null,
"departed_lng": null,
"timestamp_last_departed": null,
"group": null,
"customer_po": null,
"invoice_no": null,
"reference_no": null,
"order_no": null,
"weight": 0,
"cost": 0,
"revenue": 0,
"cube": 0,
"pieces": 1,
"first_name": null,
"last_name": null,
"email": null,
"phone": null,
"destination_note_count": 0,
"drive_time_to_next_destination": 907,
"abnormal_traffic_time_to_next_destination": null,
"uncongested_time_to_next_destination": null,
"traffic_time_to_next_destination": null,
"distance_to_next_destination": 10.45,
"channel_name": "4f77bb1bf56741789f9fb5469a9bdf26",
"pickup": null,
"dropoff": null,
"joint": null,
"generated_time_window_start": null,
"generated_time_window_end": null,
"time_window_start": null,
"time_window_end": null,
"time_window_start_2": null,
"time_window_end_2": null,
"geofence_detected_visited_timestamp": null,
"geofence_detected_departed_timestamp": null,
"geofence_detected_service_time": null,
"geofence_detected_visited_lat": null,
"geofence_detected_visited_lng": null,
"geofence_detected_departed_lat": null,
"geofence_detected_departed_lng": null,
"geofence_local_visited_timestamp": null,
"geofence_local_visited_lat": null,
"geofence_local_visited_lng": null,
"geofence_local_departed_timestamp": null,
"geofence_local_departed_lat": null,
"geofence_local_departed_lng": null,
"geofence_local_service_time": null,
"time": 0,
"tracking_number": "QD6PMNMQ",
"custom_fields": {},
"custom_fields_str_json": "{}",
"custom_fields_config": null,
"custom_fields_config_str_json": "null",
"notes": [],
"bundle_count": 0,
"bundle_items": null,
"order_inventory": null,
"required_skills": [],
"additional_status": null,
"workflow_uuid": null,
"invalid_sequence": {
"detected": false,
"event_timestamp": 0,
"actual_sequence_no": null,
"expected_sequence_no": null,
"revision_count": null
}
},
{
"route_destination_id": 1100583661,
"alias": "",
"member_id": 1053088,
"address": "Stop #5",
"is_depot": false,
"timeframe_violation_state": null,
"timeframe_violation_time": 0,
"timeframe_violation_rate": 0,
"lat": 52.351536,
"lng": 5.007007,
"curbside_lat": 52.351536,
"curbside_lng": 5.007007,
"priority": null,
"route_id": "5EB1EDFFE9855276BC12BC85D247B3B9",
"original_route_id": null,
"optimization_problem_id": "AA4062A4F594B5DB3837AC636279EE24",
"sequence_no": 4,
"geocoded": false,
"preferred_geocoding": null,
"failed_geocoding": false,
"geocodings": [],
"contact_id": null,
"order_id": null,
"order_uuid": null,
"address_stop_type": "DELIVERY",
"is_visited": false,
"timestamp_last_visited": null,
"visited_lat": null,
"visited_lng": null,
"is_departed": false,
"departed_lat": null,
"departed_lng": null,
"timestamp_last_departed": null,
"group": null,
"customer_po": null,
"invoice_no": null,
"reference_no": null,
"order_no": null,
"weight": 0,
"cost": 0,
"revenue": 0,
"cube": 0,
"pieces": 1,
"first_name": null,
"last_name": null,
"email": null,
"phone": null,
"destination_note_count": 0,
"drive_time_to_next_destination": 206,
"abnormal_traffic_time_to_next_destination": null,
"uncongested_time_to_next_destination": null,
"traffic_time_to_next_destination": null,
"distance_to_next_destination": 1,
"channel_name": "74b8d1e56cf0c2fc37be13750ab7feae",
"pickup": null,
"dropoff": null,
"joint": null,
"generated_time_window_start": null,
"generated_time_window_end": null,
"time_window_start": null,
"time_window_end": null,
"time_window_start_2": null,
"time_window_end_2": null,
"geofence_detected_visited_timestamp": null,
"geofence_detected_departed_timestamp": null,
"geofence_detected_service_time": null,
"geofence_detected_visited_lat": null,
"geofence_detected_visited_lng": null,
"geofence_detected_departed_lat": null,
"geofence_detected_departed_lng": null,
"geofence_local_visited_timestamp": null,
"geofence_local_visited_lat": null,
"geofence_local_visited_lng": null,
"geofence_local_departed_timestamp": null,
"geofence_local_departed_lat": null,
"geofence_local_departed_lng": null,
"geofence_local_service_time": null,
"time": 0,
"tracking_number": "RMEP8L8Q",
"custom_fields": {},
"custom_fields_str_json": "{}",
"custom_fields_config": null,
"custom_fields_config_str_json": "null",
"notes": [],
"bundle_count": 0,
"bundle_items": null,
"order_inventory": null,
"required_skills": [],
"additional_status": null,
"workflow_uuid": null,
"invalid_sequence": {
"detected": false,
"event_timestamp": 0,
"actual_sequence_no": null,
"expected_sequence_no": null,
"revision_count": null
}
},
{
"route_destination_id": 1100583662,
"alias": "",
"member_id": 1053088,
"address": "Stop #6",
"is_depot": false,
"timeframe_violation_state": null,
"timeframe_violation_time": 0,
"timeframe_violation_rate": 0,
"lat": 52.360651,
"lng": 4.993203,
"curbside_lat": 52.360651,
"curbside_lng": 4.993203,
"priority": null,
"route_id": "5EB1EDFFE9855276BC12BC85D247B3B9",
"original_route_id": null,
"optimization_problem_id": "AA4062A4F594B5DB3837AC636279EE24",
"sequence_no": 5,
"geocoded": false,
"preferred_geocoding": null,
"failed_geocoding": false,
"geocodings": [],
"contact_id": null,
"order_id": null,
"order_uuid": null,
"address_stop_type": "DELIVERY",
"is_visited": false,
"timestamp_last_visited": null,
"visited_lat": null,
"visited_lng": null,
"is_departed": false,
"departed_lat": null,
"departed_lng": null,
"timestamp_last_departed": null,
"group": null,
"customer_po": null,
"invoice_no": null,
"reference_no": null,
"order_no": null,
"weight": 0,
"cost": 0,
"revenue": 0,
"cube": 0,
"pieces": 1,
"first_name": null,
"last_name": null,
"email": null,
"phone": null,
"destination_note_count": 0,
"drive_time_to_next_destination": 758,
"abnormal_traffic_time_to_next_destination": null,
"uncongested_time_to_next_destination": null,
"traffic_time_to_next_destination": null,
"distance_to_next_destination": 5.62,
"channel_name": "93b083ec482bb0819c9b03790daa6dcf",
"pickup": null,
"dropoff": null,
"joint": null,
"generated_time_window_start": null,
"generated_time_window_end": null,
"time_window_start": null,
"time_window_end": null,
"time_window_start_2": null,
"time_window_end_2": null,
"geofence_detected_visited_timestamp": null,
"geofence_detected_departed_timestamp": null,
"geofence_detected_service_time": null,
"geofence_detected_visited_lat": null,
"geofence_detected_visited_lng": null,
"geofence_detected_departed_lat": null,
"geofence_detected_departed_lng": null,
"geofence_local_visited_timestamp": null,
"geofence_local_visited_lat": null,
"geofence_local_visited_lng": null,
"geofence_local_departed_timestamp": null,
"geofence_local_departed_lat": null,
"geofence_local_departed_lng": null,
"geofence_local_service_time": null,
"time": 0,
"tracking_number": "Y9NPEKEX",
"custom_fields": {},
"custom_fields_str_json": "{}",
"custom_fields_config": null,
"custom_fields_config_str_json": "null",
"notes": [],
"bundle_count": 0,
"bundle_items": null,
"order_inventory": null,
"required_skills": [],
"additional_status": null,
"workflow_uuid": null,
"invalid_sequence": {
"detected": false,
"event_timestamp": 0,
"actual_sequence_no": null,
"expected_sequence_no": null,
"revision_count": null
}
},
{
"route_destination_id": 1100583663,
"alias": "",
"member_id": 1053088,
"address": "Stop #7",
"is_depot": false,
"timeframe_violation_state": null,
"timeframe_violation_time": 0,
"timeframe_violation_rate": 0,
"lat": 52.375203,
"lng": 4.882226,
"curbside_lat": 52.375203,
"curbside_lng": 4.882226,
"priority": null,
"route_id": "5EB1EDFFE9855276BC12BC85D247B3B9",
"original_route_id": null,
"optimization_problem_id": "AA4062A4F594B5DB3837AC636279EE24",
"sequence_no": 6,
"geocoded": false,
"preferred_geocoding": null,
"failed_geocoding": false,
"geocodings": [],
"contact_id": null,
"order_id": null,
"order_uuid": null,
"address_stop_type": "DELIVERY",
"is_visited": false,
"timestamp_last_visited": null,
"visited_lat": null,
"visited_lng": null,
"is_departed": false,
"departed_lat": null,
"departed_lng": null,
"timestamp_last_departed": null,
"group": null,
"customer_po": null,
"invoice_no": null,
"reference_no": null,
"order_no": null,
"weight": 0,
"cost": 0,
"revenue": 0,
"cube": 0,
"pieces": 1,
"first_name": null,
"last_name": null,
"email": null,
"phone": null,
"destination_note_count": 0,
"drive_time_to_next_destination": 408,
"abnormal_traffic_time_to_next_destination": null,
"uncongested_time_to_next_destination": null,
"traffic_time_to_next_destination": null,
"distance_to_next_destination": 1.91,
"channel_name": "bc9347ab52014b7659711f7bc933d090",
"pickup": null,
"dropoff": null,
"joint": null,
"generated_time_window_start": null,
"generated_time_window_end": null,
"time_window_start": null,
"time_window_end": null,
"time_window_start_2": null,
"time_window_end_2": null,
"geofence_detected_visited_timestamp": null,
"geofence_detected_departed_timestamp": null,
"geofence_detected_service_time": null,
"geofence_detected_visited_lat": null,
"geofence_detected_visited_lng": null,
"geofence_detected_departed_lat": null,
"geofence_detected_departed_lng": null,
"geofence_local_visited_timestamp": null,
"geofence_local_visited_lat": null,
"geofence_local_visited_lng": null,
"geofence_local_departed_timestamp": null,
"geofence_local_departed_lat": null,
"geofence_local_departed_lng": null,
"geofence_local_service_time": null,
"time": 0,
"tracking_number": "ZXDPN6N3",
"custom_fields": {},
"custom_fields_str_json": "{}",
"custom_fields_config": null,
"custom_fields_config_str_json": "null",
"notes": [],
"bundle_count": 0,
"bundle_items": null,
"order_inventory": null,
"required_skills": [],
"additional_status": null,
"workflow_uuid": null,
"invalid_sequence": {
"detected": false,
"event_timestamp": 0,
"actual_sequence_no": null,
"expected_sequence_no": null,
"revision_count": null
}
},
{
"route_destination_id": 1100583664,
"alias": "",
"member_id": 1053088,
"address": "Stop #8",
"is_depot": false,
"timeframe_violation_state": null,
"timeframe_violation_time": 0,
"timeframe_violation_rate": 0,
"lat": 52.36068,
"lng": 4.855828,
"curbside_lat": 52.36068,
"curbside_lng": 4.855828,
"priority": null,
"route_id": "5EB1EDFFE9855276BC12BC85D247B3B9",
"original_route_id": null,
"optimization_problem_id": "AA4062A4F594B5DB3837AC636279EE24",
"sequence_no": 7,
"geocoded": false,
"preferred_geocoding": null,
"failed_geocoding": false,
"geocodings": [],
"contact_id": null,
"order_id": null,
"order_uuid": null,
"address_stop_type": "DELIVERY",
"is_visited": false,
"timestamp_last_visited": null,
"visited_lat": null,
"visited_lng": null,
"is_departed": false,
"departed_lat": null,
"departed_lng": null,
"timestamp_last_departed": null,
"group": null,
"customer_po": null,
"invoice_no": null,
"reference_no": null,
"order_no": null,
"weight": 0,
"cost": 0,
"revenue": 0,
"cube": 0,
"pieces": 1,
"first_name": null,
"last_name": null,
"email": null,
"phone": null,
"destination_note_count": 0,
"drive_time_to_next_destination": 837,
"abnormal_traffic_time_to_next_destination": null,
"uncongested_time_to_next_destination": null,
"traffic_time_to_next_destination": null,
"distance_to_next_destination": 4.83,
"channel_name": "e87e4f6a5016cb669e5744d68a1083c5",
"pickup": null,
"dropoff": null,
"joint": null,
"generated_time_window_start": null,
"generated_time_window_end": null,
"time_window_start": null,
"time_window_end": null,
"time_window_start_2": null,
"time_window_end_2": null,
"geofence_detected_visited_timestamp": null,
"geofence_detected_departed_timestamp": null,
"geofence_detected_service_time": null,
"geofence_detected_visited_lat": null,
"geofence_detected_visited_lng": null,
"geofence_detected_departed_lat": null,
"geofence_detected_departed_lng": null,
"geofence_local_visited_timestamp": null,
"geofence_local_visited_lat": null,
"geofence_local_visited_lng": null,
"geofence_local_departed_timestamp": null,
"geofence_local_departed_lat": null,
"geofence_local_departed_lng": null,
"geofence_local_service_time": null,
"time": 0,
"tracking_number": "PZKPDNDD",
"custom_fields": {},
"custom_fields_str_json": "{}",
"custom_fields_config": null,
"custom_fields_config_str_json": "null",
"notes": [],
"bundle_count": 0,
"bundle_items": null,
"order_inventory": null,
"required_skills": [],
"additional_status": null,
"workflow_uuid": null,
"invalid_sequence": {
"detected": false,
"event_timestamp": 0,
"actual_sequence_no": null,
"expected_sequence_no": null,
"revision_count": null
}
},
{
"route_destination_id": 1100583665,
"alias": "",
"member_id": 1053088,
"address": "Stop #9",
"is_depot": false,
"timeframe_violation_state": null,
"timeframe_violation_time": 0,
"timeframe_violation_rate": 0,
"lat": 52.371708,
"lng": 4.937041,
"curbside_lat": 52.371708,
"curbside_lng": 4.937041,
"priority": null,
"route_id": "5EB1EDFFE9855276BC12BC85D247B3B9",
"original_route_id": null,
"optimization_problem_id": "AA4062A4F594B5DB3837AC636279EE24",
"sequence_no": 8,
"geocoded": false,
"preferred_geocoding": null,
"failed_geocoding": false,
"geocodings": [],
"contact_id": null,
"order_id": null,
"order_uuid": null,
"address_stop_type": "DELIVERY",
"is_visited": false,
"timestamp_last_visited": null,
"visited_lat": null,
"visited_lng": null,
"is_departed": false,
"departed_lat": null,
"departed_lng": null,
"timestamp_last_departed": null,
"group": null,
"customer_po": null,
"invoice_no": null,
"reference_no": null,
"order_no": null,
"weight": 0,
"cost": 0,
"revenue": 0,
"cube": 0,
"pieces": 1,
"first_name": null,
"last_name": null,
"email": null,
"phone": null,
"destination_note_count": 0,
"drive_time_to_next_destination": 0,
"abnormal_traffic_time_to_next_destination": null,
"uncongested_time_to_next_destination": null,
"traffic_time_to_next_destination": null,
"distance_to_next_destination": 0,
"channel_name": "94d7db4d639080c44e6c756dcc23da10",
"pickup": null,
"dropoff": null,
"joint": null,
"generated_time_window_start": null,
"generated_time_window_end": null,
"time_window_start": null,
"time_window_end": null,
"time_window_start_2": null,
"time_window_end_2": null,
"geofence_detected_visited_timestamp": null,
"geofence_detected_departed_timestamp": null,
"geofence_detected_service_time": null,
"geofence_detected_visited_lat": null,
"geofence_detected_visited_lng": null,
"geofence_detected_departed_lat": null,
"geofence_detected_departed_lng": null,
"geofence_local_visited_timestamp": null,
"geofence_local_visited_lat": null,
"geofence_local_visited_lng": null,
"geofence_local_departed_timestamp": null,
"geofence_local_departed_lat": null,
"geofence_local_departed_lng": null,
"geofence_local_service_time": null,
"time": 0,
"tracking_number": "LZM3QNQP",
"custom_fields": {},
"custom_fields_str_json": "{}",
"custom_fields_config": null,
"custom_fields_config_str_json": "null",
"notes": [],
"bundle_count": 0,
"bundle_items": null,
"order_inventory": null,
"required_skills": [],
"additional_status": null,
"workflow_uuid": null,
"invalid_sequence": {
"detected": false,
"event_timestamp": 0,
"actual_sequence_no": null,
"expected_sequence_no": null,
"revision_count": null
}
},
{
"route_destination_id": 1100583666,
"alias": "",
"member_id": 1053088,
"address": "Stop #10",
"is_depot": false,
"timeframe_violation_state": null,
"timeframe_violation_time": 0,
"timeframe_violation_rate": 0,
"lat": 52.371708,
"lng": 4.937041,
"curbside_lat": 52.371708,
"curbside_lng": 4.937041,
"priority": null,
"route_id": "5EB1EDFFE9855276BC12BC85D247B3B9",
"original_route_id": null,
"optimization_problem_id": "AA4062A4F594B5DB3837AC636279EE24",
"sequence_no": 9,
"geocoded": false,
"preferred_geocoding": null,
"failed_geocoding": false,
"geocodings": [],
"contact_id": null,
"order_id": null,
"order_uuid": null,
"address_stop_type": "DELIVERY",
"is_visited": false,
"timestamp_last_visited": null,
"visited_lat": null,
"visited_lng": null,
"is_departed": false,
"departed_lat": null,
"departed_lng": null,
"timestamp_last_departed": null,
"group": null,
"customer_po": null,
"invoice_no": null,
"reference_no": null,
"order_no": null,
"weight": 0,
"cost": 0,
"revenue": 0,
"cube": 0,
"pieces": 1,
"first_name": null,
"last_name": null,
"email": null,
"phone": null,
"destination_note_count": 0,
"drive_time_to_next_destination": 386,
"abnormal_traffic_time_to_next_destination": null,
"uncongested_time_to_next_destination": null,
"traffic_time_to_next_destination": null,
"distance_to_next_destination": 3.03,
"channel_name": "a1a2ccbe733544cf32db6032ecfc2c7c",
"pickup": null,
"dropoff": null,
"joint": null,
"generated_time_window_start": null,
"generated_time_window_end": null,
"time_window_start": null,
"time_window_end": null,
"time_window_start_2": null,
"time_window_end_2": null,
"geofence_detected_visited_timestamp": null,
"geofence_detected_departed_timestamp": null,
"geofence_detected_service_time": null,
"geofence_detected_visited_lat": null,
"geofence_detected_visited_lng": null,
"geofence_detected_departed_lat": null,
"geofence_detected_departed_lng": null,
"geofence_local_visited_timestamp": null,
"geofence_local_visited_lat": null,
"geofence_local_visited_lng": null,
"geofence_local_departed_timestamp": null,
"geofence_local_departed_lat": null,
"geofence_local_departed_lng": null,
"geofence_local_service_time": null,
"time": 0,
"tracking_number": "DK9MELEY",
"custom_fields": {},
"custom_fields_str_json": "{}",
"custom_fields_config": null,
"custom_fields_config_str_json": "null",
"notes": [],
"bundle_count": 0,
"bundle_items": null,
"order_inventory": null,
"required_skills": [],
"additional_status": null,
"workflow_uuid": null,
"invalid_sequence": {
"detected": false,
"event_timestamp": 0,
"actual_sequence_no": null,
"expected_sequence_no": null,
"revision_count": null
}
},
{
"route_destination_id": 1100583667,
"alias": "",
"member_id": 1053088,
"address": "Stop #11",
"is_depot": false,
"timeframe_violation_state": null,
"timeframe_violation_time": 0,
"timeframe_violation_rate": 0,
"lat": 52.357168,
"lng": 4.946456,
"curbside_lat": 52.357168,
"curbside_lng": 4.946456,
"priority": null,
"route_id": "5EB1EDFFE9855276BC12BC85D247B3B9",
"original_route_id": null,
"optimization_problem_id": "AA4062A4F594B5DB3837AC636279EE24",
"sequence_no": 10,
"geocoded": false,
"preferred_geocoding": null,
"failed_geocoding": false,
"geocodings": [],
"contact_id": null,
"order_id": null,
"order_uuid": null,
"address_stop_type": "DELIVERY",
"is_visited": false,
"timestamp_last_visited": null,
"visited_lat": null,
"visited_lng": null,
"is_departed": false,
"departed_lat": null,
"departed_lng": null,
"timestamp_last_departed": null,
"group": null,
"customer_po": null,
"invoice_no": null,
"reference_no": null,
"order_no": null,
"weight": 0,
"cost": 0,
"revenue": 0,
"cube": 0,
"pieces": 1,
"first_name": null,
"last_name": null,
"email": null,
"phone": null,
"destination_note_count": 0,
"drive_time_to_next_destination": 512,
"abnormal_traffic_time_to_next_destination": null,
"uncongested_time_to_next_destination": null,
"traffic_time_to_next_destination": null,
"distance_to_next_destination": 3.27,
"channel_name": "4a395a6b09a40f64970c85a6dafc79b0",
"pickup": null,
"dropoff": null,
"joint": null,
"generated_time_window_start": null,
"generated_time_window_end": null,
"time_window_start": null,
"time_window_end": null,
"time_window_start_2": null,
"time_window_end_2": null,
"geofence_detected_visited_timestamp": null,
"geofence_detected_departed_timestamp": null,
"geofence_detected_service_time": null,
"geofence_detected_visited_lat": null,
"geofence_detected_visited_lng": null,
"geofence_detected_departed_lat": null,
"geofence_detected_departed_lng": null,
"geofence_local_visited_timestamp": null,
"geofence_local_visited_lat": null,
"geofence_local_visited_lng": null,
"geofence_local_departed_timestamp": null,
"geofence_local_departed_lat": null,
"geofence_local_departed_lng": null,
"geofence_local_service_time": null,
"time": 0,
"tracking_number": "MZ8G0N0D",
"custom_fields": {},
"custom_fields_str_json": "{}",
"custom_fields_config": null,
"custom_fields_config_str_json": "null",
"notes": [],
"bundle_count": 0,
"bundle_items": null,
"order_inventory": null,
"required_skills": [],
"additional_status": null,
"workflow_uuid": null,
"invalid_sequence": {
"detected": false,
"event_timestamp": 0,
"actual_sequence_no": null,
"expected_sequence_no": null,
"revision_count": null
}
},
{
"route_destination_id": 1100583668,
"alias": "",
"member_id": 1053088,
"address": "Stop #12",
"is_depot": false,
"timeframe_violation_state": null,
"timeframe_violation_time": 0,
"timeframe_violation_rate": 0,
"lat": 52.32816,
"lng": 4.961257,
"curbside_lat": 52.32816,
"curbside_lng": 4.961257,
"priority": null,
"route_id": "5EB1EDFFE9855276BC12BC85D247B3B9",
"original_route_id": null,
"optimization_problem_id": "AA4062A4F594B5DB3837AC636279EE24",
"sequence_no": 11,
"geocoded": false,
"preferred_geocoding": null,
"failed_geocoding": false,
"geocodings": [],
"contact_id": null,
"order_id": null,
"order_uuid": null,
"address_stop_type": "DELIVERY",
"is_visited": false,
"timestamp_last_visited": null,
"visited_lat": null,
"visited_lng": null,
"is_departed": false,
"departed_lat": null,
"departed_lng": null,
"timestamp_last_departed": null,
"group": null,
"customer_po": null,
"invoice_no": null,
"reference_no": null,
"order_no": null,
"weight": 0,
"cost": 0,
"revenue": 0,
"cube": 0,
"pieces": 1,
"first_name": null,
"last_name": null,
"email": null,
"phone": null,
"destination_note_count": 0,
"drive_time_to_next_destination": 812,
"abnormal_traffic_time_to_next_destination": null,
"uncongested_time_to_next_destination": null,
"traffic_time_to_next_destination": null,
"distance_to_next_destination": 9.73,
"channel_name": "64669343be0d576aec64c9d013c15aa4",
"pickup": null,
"dropoff": null,
"joint": null,
"generated_time_window_start": null,
"generated_time_window_end": null,
"time_window_start": null,
"time_window_end": null,
"time_window_start_2": null,
"time_window_end_2": null,
"geofence_detected_visited_timestamp": null,
"geofence_detected_departed_timestamp": null,
"geofence_detected_service_time": null,
"geofence_detected_visited_lat": null,
"geofence_detected_visited_lng": null,
"geofence_detected_departed_lat": null,
"geofence_detected_departed_lng": null,
"geofence_local_visited_timestamp": null,
"geofence_local_visited_lat": null,
"geofence_local_visited_lng": null,
"geofence_local_departed_timestamp": null,
"geofence_local_departed_lat": null,
"geofence_local_departed_lng": null,
"geofence_local_service_time": null,
"time": 0,
"tracking_number": "8G7Y9X9L",
"custom_fields": {},
"custom_fields_str_json": "{}",
"custom_fields_config": null,
"custom_fields_config_str_json": "null",
"notes": [],
"bundle_count": 0,
"bundle_items": null,
"order_inventory": null,
"required_skills": [],
"additional_status": null,
"workflow_uuid": null,
"invalid_sequence": {
"detected": false,
"event_timestamp": 0,
"actual_sequence_no": null,
"expected_sequence_no": null,
"revision_count": null
}
},
{
"route_destination_id": 1100583669,
"alias": "",
"member_id": 1053088,
"address": "Stop #13",
"is_depot": false,
"timeframe_violation_state": null,
"timeframe_violation_time": 0,
"timeframe_violation_rate": 0,
"lat": 52.38003,
"lng": 4.857972,
"curbside_lat": 52.38003,
"curbside_lng": 4.857972,
"priority": null,
"route_id": "5EB1EDFFE9855276BC12BC85D247B3B9",
"original_route_id": null,
"optimization_problem_id": "AA4062A4F594B5DB3837AC636279EE24",
"sequence_no": 12,
"geocoded": false,
"preferred_geocoding": null,
"failed_geocoding": false,
"geocodings": [],
"contact_id": null,
"order_id": null,
"order_uuid": null,
"address_stop_type": "DELIVERY",
"is_visited": false,
"timestamp_last_visited": null,
"visited_lat": null,
"visited_lng": null,
"is_departed": false,
"departed_lat": null,
"departed_lng": null,
"timestamp_last_departed": null,
"group": null,
"customer_po": null,
"invoice_no": null,
"reference_no": null,
"order_no": null,
"weight": 0,
"cost": 0,
"revenue": 0,
"cube": 0,
"pieces": 1,
"first_name": null,
"last_name": null,
"email": null,
"phone": null,
"destination_note_count": 0,
"drive_time_to_next_destination": 785,
"abnormal_traffic_time_to_next_destination": null,
"uncongested_time_to_next_destination": null,
"traffic_time_to_next_destination": null,
"distance_to_next_destination": 9.4,
"channel_name": "ed201e31afc0ea257a8f41f87ad54c73",
"pickup": null,
"dropoff": null,
"joint": null,
"generated_time_window_start": null,
"generated_time_window_end": null,
"time_window_start": null,
"time_window_end": null,
"time_window_start_2": null,
"time_window_end_2": null,
"geofence_detected_visited_timestamp": null,
"geofence_detected_departed_timestamp": null,
"geofence_detected_service_time": null,
"geofence_detected_visited_lat": null,
"geofence_detected_visited_lng": null,
"geofence_detected_departed_lat": null,
"geofence_detected_departed_lng": null,
"geofence_local_visited_timestamp": null,
"geofence_local_visited_lat": null,
"geofence_local_visited_lng": null,
"geofence_local_departed_timestamp": null,
"geofence_local_departed_lat": null,
"geofence_local_departed_lng": null,
"geofence_local_service_time": null,
"time": 0,
"tracking_number": "102LPRP0",
"custom_fields": {},
"custom_fields_str_json": "{}",
"custom_fields_config": null,
"custom_fields_config_str_json": "null",
"notes": [],
"bundle_count": 0,
"bundle_items": null,
"order_inventory": null,
"required_skills": [],
"additional_status": null,
"workflow_uuid": null,
"invalid_sequence": {
"detected": false,
"event_timestamp": 0,
"actual_sequence_no": null,
"expected_sequence_no": null,
"revision_count": null
}
},
{
"route_destination_id": 1100583670,
"alias": "",
"member_id": 1053088,
"address": "Stop #14",
"is_depot": false,
"timeframe_violation_state": null,
"timeframe_violation_time": 0,
"timeframe_violation_rate": 0,
"lat": 52.328816,
"lng": 4.95593,
"curbside_lat": 52.328816,
"curbside_lng": 4.95593,
"priority": null,
"route_id": "5EB1EDFFE9855276BC12BC85D247B3B9",
"original_route_id": null,
"optimization_problem_id": "AA4062A4F594B5DB3837AC636279EE24",
"sequence_no": 13,
"geocoded": false,
"preferred_geocoding": null,
"failed_geocoding": false,
"geocodings": [],
"contact_id": null,
"order_id": null,
"order_uuid": null,
"address_stop_type": "DELIVERY",
"is_visited": false,
"timestamp_last_visited": null,
"visited_lat": null,
"visited_lng": null,
"is_departed": false,
"departed_lat": null,
"departed_lng": null,
"timestamp_last_departed": null,
"group": null,
"customer_po": null,
"invoice_no": null,
"reference_no": null,
"order_no": null,
"weight": 0,
"cost": 0,
"revenue": 0,
"cube": 0,
"pieces": 1,
"first_name": null,
"last_name": null,
"email": null,
"phone": null,
"destination_note_count": 0,
"drive_time_to_next_destination": 20,
"abnormal_traffic_time_to_next_destination": null,
"uncongested_time_to_next_destination": null,
"traffic_time_to_next_destination": null,
"distance_to_next_destination": 0.07,
"channel_name": "9ee4e820fb2a70260cf5cc40c35a995d",
"pickup": null,
"dropoff": null,
"joint": null,
"generated_time_window_start": null,
"generated_time_window_end": null,
"time_window_start": null,
"time_window_end": null,
"time_window_start_2": null,
"time_window_end_2": null,
"geofence_detected_visited_timestamp": null,
"geofence_detected_departed_timestamp": null,
"geofence_detected_service_time": null,
"geofence_detected_visited_lat": null,
"geofence_detected_visited_lng": null,
"geofence_detected_departed_lat": null,
"geofence_detected_departed_lng": null,
"geofence_local_visited_timestamp": null,
"geofence_local_visited_lat": null,
"geofence_local_visited_lng": null,
"geofence_local_departed_timestamp": null,
"geofence_local_departed_lat": null,
"geofence_local_departed_lng": null,
"geofence_local_service_time": null,
"time": 0,
"tracking_number": "2RKN3X36",
"custom_fields": {},
"custom_fields_str_json": "{}",
"custom_fields_config": null,
"custom_fields_config_str_json": "null",
"notes": [],
"bundle_count": 0,
"bundle_items": null,
"order_inventory": null,
"required_skills": [],
"additional_status": null,
"workflow_uuid": null,
"invalid_sequence": {
"detected": false,
"event_timestamp": 0,
"actual_sequence_no": null,
"expected_sequence_no": null,
"revision_count": null
}
},
{
"route_destination_id": 1100583671,
"alias": "",
"member_id": 1053088,
"address": "Stop #15",
"is_depot": false,
"timeframe_violation_state": null,
"timeframe_violation_time": 0,
"timeframe_violation_rate": 0,
"lat": 52.329394,
"lng": 4.955335,
"curbside_lat": 52.329394,
"curbside_lng": 4.955335,
"priority": null,
"route_id": "5EB1EDFFE9855276BC12BC85D247B3B9",
"original_route_id": null,
"optimization_problem_id": "AA4062A4F594B5DB3837AC636279EE24",
"sequence_no": 14,
"geocoded": false,
"preferred_geocoding": null,
"failed_geocoding": false,
"geocodings": [],
"contact_id": null,
"order_id": null,
"order_uuid": null,
"address_stop_type": "DELIVERY",
"is_visited": false,
"timestamp_last_visited": null,
"visited_lat": null,
"visited_lng": null,
"is_departed": false,
"departed_lat": null,
"departed_lng": null,
"timestamp_last_departed": null,
"group": null,
"customer_po": null,
"invoice_no": null,
"reference_no": null,
"order_no": null,
"weight": 0,
"cost": 0,
"revenue": 0,
"cube": 0,
"pieces": 1,
"first_name": null,
"last_name": null,
"email": null,
"phone": null,
"destination_note_count": 0,
"drive_time_to_next_destination": 0,
"abnormal_traffic_time_to_next_destination": null,
"uncongested_time_to_next_destination": null,
"traffic_time_to_next_destination": null,
"distance_to_next_destination": 0,
"channel_name": "1d4cb7d26b13fab6e4bd5ecee6729407",
"pickup": null,
"dropoff": null,
"joint": null,
"generated_time_window_start": null,
"generated_time_window_end": null,
"time_window_start": null,
"time_window_end": null,
"time_window_start_2": null,
"time_window_end_2": null,
"geofence_detected_visited_timestamp": null,
"geofence_detected_departed_timestamp": null,
"geofence_detected_service_time": null,
"geofence_detected_visited_lat": null,
"geofence_detected_visited_lng": null,
"geofence_detected_departed_lat": null,
"geofence_detected_departed_lng": null,
"geofence_local_visited_timestamp": null,
"geofence_local_visited_lat": null,
"geofence_local_visited_lng": null,
"geofence_local_departed_timestamp": null,
"geofence_local_departed_lat": null,
"geofence_local_departed_lng": null,
"geofence_local_service_time": null,
"time": 0,
"tracking_number": "KZD93N3X",
"custom_fields": {},
"custom_fields_str_json": "{}",
"custom_fields_config": null,
"custom_fields_config_str_json": "null",
"notes": [],
"bundle_count": 0,
"bundle_items": null,
"order_inventory": null,
"required_skills": [],
"additional_status": null,
"workflow_uuid": null,
"invalid_sequence": {
"detected": false,
"event_timestamp": 0,
"actual_sequence_no": null,
"expected_sequence_no": null,
"revision_count": null
}
}
],
"total_addresses": 15,
"routes": [
{
"route_id": "5EB1EDFFE9855276BC12BC85D247B3B9",
"optimization_problem_id": "AA4062A4F594B5DB3837AC636279EE24",
"user_route_rating": null,
"member_id": 1053088,
"member_email": "[email protected]",
"member_first_name": "Igor",
"member_last_name": "Skrynkovskyy",
"member_picture": "https://apps-static.route4me.com/uploads/3a27efa1473d75648f8e1516bda165d6/profile_b92a9bc45d6dadf3c4054c11ddcab67a.png",
"member_tracking_subheadline": null,
"approved_for_execution": false,
"approved_revisions_counter": 0,
"dispatched_timestamp": null,
"channel_name": "8a8afd3b203d760695e6b6a7f36089e4",
"vehicle_alias": null,
"driver_alias": "",
"trip_distance": 67.56,
"udu_distance_unit": "km",
"udu_trip_distance": 108.73,
"is_unrouted": false,
"route_cost": 0,
"route_weight": 0,
"route_cube": 0,
"route_revenue": 0,
"route_pieces": 14,
"route_demand_stats": {
"weight": {
"running": 0,
"initial": 0,
"remaining": 0,
"delivered": 0,
"picked": 0
},
"cube": {
"running": 0,
"initial": 0,
"remaining": 0,
"delivered": 0,
"picked": 0
},
"pieces": {
"running": 14,
"initial": 14,
"remaining": 0,
"delivered": 14,
"picked": 0
},
"revenue": {
"running": 0,
"initial": 0,
"remaining": 0,
"delivered": 0,
"picked": 0
}
},
"net_revenue_per_distance_unit": 0,
"created_timestamp": 1709726802,
"mpg": 10,
"gas_price": 2,
"route_duration_sec": 7233,
"planned_total_route_duration": 7233,
"total_wait_time": 0,
"udu_actual_travel_distance": 0,
"actual_travel_distance": 0,
"actual_travel_time": 0,
"actual_start_timestamp": null,
"driver_open_timestamp": null,
"actual_footsteps": 0,
"working_time": 0,
"driving_time": 0,
"idling_time": 0,
"paying_miles": 0,
"geofence_polygon_type": "rect",
"geofence_polygon_size": 50,
"destination_count": 14,
"unique_destination_count": 14,
"notes_count": 0,
"addresses_deviation_count": 0,
"parameters": {
"is_upload": false,
"rt": false,
"route_name": "Wed, 06 Mar 2024 12:06:38 +0000 UTC",
"route_date": 1709683200,
"route_time": 25200,
"shared_publicly": false,
"disable_optimization": false,
"optimize": "Time",
"lock_last": false,
"vehicle_capacity": null,
"vehicle_max_cargo_weight": null,
"vehicle_max_cargo_volume": null,
"vehicle_max_distance_mi": null,
"subtour_max_revenue": null,
"distance_unit": "mi",
"travel_mode": "Driving",
"avoid": "",
"avoidance_zones": [],
"vehicle_id": null,
"driver_id": null,
"dev_lat": null,
"dev_lng": null,
"route_max_duration": 1800,
"route_email": null,
"store_route": true,
"metric": 4,
"algorithm_type": 100,
"member_id": 1053088,
"ip": 1602858388,
"dm": 12,
"dirm": 10,
"parts": 10,
"parts_min": 1,
"device_id": "",
"device_type": "web",
"first_drive_then_wait_between_stops": false,
"has_trailer": false,
"trailer_weight_t": null,
"limited_weight_t": null,
"weight_per_axle_t": null,
"truck_height": null,
"truck_width": null,
"truck_length": null,
"truck_hazardous_goods": "",
"truck_axles": 0,
"truck_toll_road_usage": null,
"truck_avoid_ferries": null,
"truck_hwy_only": null,
"truck_lcv": null,
"truck_borders": null,
"truck_side_street_adherence": null,
"truck_config": null,
"truck_dim_unit": null,
"truck_type": null,
"truck_weight": 0,
"optimization_quality": 1,
"override_addresses": {},
"max_tour_size": null,
"min_tour_size": 0,
"uturn": 1,
"leftturn": 1,
"rightturn": 1,
"route_time_multiplier": null,
"route_service_time_multiplier": null,
"optimization_engine": "2",
"is_dynamic_start_time": false,
"is_amp": true
},
"addresses": [
{
"route_destination_id": 1100583657,
"alias": "",
"member_id": 1053088,
"address": "Stop #1",
"is_depot": true,
"timeframe_violation_state": null,
"timeframe_violation_time": 0,
"timeframe_violation_rate": 0,
"lat": 52.373066,
"lng": 4.856445,
"curbside_lat": 52.373066,
"curbside_lng": 4.856445,
"priority": null,
"route_id": null,
"original_route_id": null,
"route_name": null,
"optimization_problem_id": "AA4062A4F594B5DB3837AC636279EE24",
"sequence_no": 0,
"geocoded": false,
"preferred_geocoding": null,
"failed_geocoding": false,
"geocodings": [],
"contact_id": null,
"order_id": null,
"order_uuid": null,
"address_stop_type": null,
"is_visited": false,
"timestamp_last_visited": null,
"visited_lat": null,
"visited_lng": null,
"is_departed": false,
"departed_lat": null,
"departed_lng": null,
"timestamp_last_departed": null,
"group": null,
"customer_po": null,
"invoice_no": null,
"reference_no": null,
"order_no": null,
"weight": 0,
"cost": 0,
"revenue": 0,
"cube": 0,
"pieces": 0,
"first_name": null,
"last_name": null,
"email": null,
"phone": null,
"destination_note_count": 0,
"drive_time_to_next_destination": 882,
"abnormal_traffic_time_to_next_destination": null,
"uncongested_time_to_next_destination": null,
"traffic_time_to_next_destination": null,
"distance_to_next_destination": 9.92,
"channel_name": "17672b7bdf0d7bbbc54286160f4ba321",
"pickup": null,
"dropoff": null,
"joint": null,
"generated_time_window_start": null,
"generated_time_window_end": null,
"time_window_start": null,
"time_window_end": null,
"time_window_start_2": null,
"time_window_end_2": null,
"geofence_detected_visited_timestamp": null,
"geofence_detected_departed_timestamp": null,
"geofence_detected_service_time": null,
"geofence_detected_visited_lat": null,
"geofence_detected_visited_lng": null,
"geofence_detected_departed_lat": null,
"geofence_detected_departed_lng": null,
"geofence_local_visited_timestamp": null,
"geofence_local_visited_lat": null,
"geofence_local_visited_lng": null,
"geofence_local_departed_timestamp": null,
"geofence_local_departed_lat": null,
"geofence_local_departed_lng": null,
"geofence_local_service_time": null,
"time": 0,
"tracking_number": null,
"custom_fields": {},
"custom_fields_str_json": "{}",
"custom_fields_config": null,
"custom_fields_config_str_json": "null",
"notes": [],
"bundle_count": 0,
"bundle_items": null,
"order_inventory": null,
"required_skills": [],
"additional_status": null,
"workflow_uuid": null,
"invalid_sequence": {
"detected": false,
"event_timestamp": 0,
"actual_sequence_no": null,
"expected_sequence_no": null,
"revision_count": null
},
"udu_distance_to_next_destination": 15.96,
"wait_time_to_next_destination": 0,
"manifest": {
"time_windows_violated": false,
"projected_wait_time_before_tw_open": 0,
"estimated_wait_time_before_tw_open": 0,
"running_service_time": 0,
"running_travel_time": 0,
"running_wait_time": 0,
"running_distance": 0,
"fuel_from_start": 0,
"fuel_cost_from_start": 0,
"projected_arrival_time_ts": 1709708400,
"projected_departure_time_ts": 1709708400,
"estimated_arrival_time_ts": 1709708400,
"estimated_departure_time_ts": 1709708400,
"actual_arrival_time_ts": null,
"actual_departure_time_ts": null,
"scheduled_arrival_time_ts": 1709708400,
"scheduled_departure_time_ts": 1709708400,
"time_impact": null,
"arrival_on_time": true,
"arrival_deviation_seconds": 0,
"departure_on_time": true,
"departure_deviation_seconds": 0,
"remaining_weight": 0,
"remaining_cube": 0,
"remaining_pieces": 14,
"remaining_revenue": 0,
"udu_running_distance": 0
}
},
...
{
"route_destination_id": 1100583671,
"alias": "",
"member_id": 1053088,
"address": "Stop #15",
"is_depot": false,
"timeframe_violation_state": null,
"timeframe_violation_time": 0,
"timeframe_violation_rate": 0,
"lat": 52.329394,
"lng": 4.955335,
"curbside_lat": 52.329394,
"curbside_lng": 4.955335,
"priority": null,
"route_id": "5EB1EDFFE9855276BC12BC85D247B3B9",
"original_route_id": null,
"optimization_problem_id": "AA4062A4F594B5DB3837AC636279EE24",
"sequence_no": 14,
"geocoded": false,
"preferred_geocoding": null,
"failed_geocoding": false,
"geocodings": [],
"contact_id": null,
"order_id": null,
"order_uuid": null,
"address_stop_type": "DELIVERY",
"is_visited": false,
"timestamp_last_visited": null,
"visited_lat": null,
"visited_lng": null,
"is_departed": false,
"departed_lat": null,
"departed_lng": null,
"timestamp_last_departed": null,
"group": null,
"customer_po": null,
"invoice_no": null,
"reference_no": null,
"order_no": null,
"weight": 0,
"cost": 0,
"revenue": 0,
"cube": 0,
"pieces": 1,
"first_name": null,
"last_name": null,
"email": null,
"phone": null,
"destination_note_count": 0,
"drive_time_to_next_destination": null,
"abnormal_traffic_time_to_next_destination": null,
"uncongested_time_to_next_destination": null,
"traffic_time_to_next_destination": null,
"distance_to_next_destination": null,
"channel_name": "1d4cb7d26b13fab6e4bd5ecee6729407",
"pickup": null,
"dropoff": null,
"joint": null,
"generated_time_window_start": null,
"generated_time_window_end": null,
"time_window_start": null,
"time_window_end": null,
"time_window_start_2": null,
"time_window_end_2": null,
"geofence_detected_visited_timestamp": null,
"geofence_detected_departed_timestamp": null,
"geofence_detected_service_time": null,
"geofence_detected_visited_lat": null,
"geofence_detected_visited_lng": null,
"geofence_detected_departed_lat": null,
"geofence_detected_departed_lng": null,
"geofence_local_visited_timestamp": null,
"geofence_local_visited_lat": null,
"geofence_local_visited_lng": null,
"geofence_local_departed_timestamp": null,
"geofence_local_departed_lat": null,
"geofence_local_departed_lng": null,
"geofence_local_service_time": null,
"time": 0,
"tracking_number": "KZD93N3X",
"custom_fields": {},
"custom_fields_str_json": "{}",
"custom_fields_config": null,
"custom_fields_config_str_json": "null",
"notes": [],
"bundle_count": 0,
"bundle_items": null,
"order_inventory": null,
"required_skills": [],
"additional_status": null,
"workflow_uuid": null,
"invalid_sequence": {
"detected": false,
"event_timestamp": 0,
"actual_sequence_no": null,
"expected_sequence_no": null,
"revision_count": null
},
"udu_distance_to_next_destination": null,
"wait_time_to_next_destination": null,
"manifest": {
"time_windows_violated": false,
"projected_wait_time_before_tw_open": 0,
"estimated_wait_time_before_tw_open": 0,
"running_service_time": 0,
"running_travel_time": 7233,
"running_wait_time": 0,
"running_distance": 67.56,
"fuel_from_start": 6.756,
"fuel_cost_from_start": 13.512,
"projected_arrival_time_ts": 1709715633,
"projected_departure_time_ts": 1709715633,
"estimated_arrival_time_ts": 1709715633,
"estimated_departure_time_ts": 1709715633,
"actual_arrival_time_ts": null,
"actual_departure_time_ts": null,
"scheduled_arrival_time_ts": 1709715633,
"scheduled_departure_time_ts": 1709715633,
"time_impact": null,
"arrival_on_time": true,
"arrival_deviation_seconds": 0,
"departure_on_time": true,
"departure_deviation_seconds": 0,
"remaining_weight": 0,
"remaining_cube": 0,
"remaining_pieces": 0,
"remaining_revenue": 0,
"udu_running_distance": 108.73
}
}
],
"links": {
"route": "https://api.route4me.com/api.v4/route.php?route_id=5EB1EDFFE9855276BC12BC85D247B3B9&api_key=66BEB076E50C4C0690046EA29A9D3921&member_id=1053088&device_tracking_history=0&original=0¬es=0",
"optimization_problem_id": "https://api.route4me.com/api.v4/optimization_problem.php?optimization_problem_id=AA4062A4F594B5DB3837AC636279EE24&api_key=66BEB076E50C4C0690046EA29A9D3921&member_id=1053088"
},
"notes": [],
"vehicle": null,
"has_tracking": false,
"path": [],
"directions": [],
"member_config_storage": {
"test": "google.com1",
"order_special_feed_field": "EXT_FIELD_custom_data.Assigned_Inspector",
"hide_sharing_in_route_parameters_dialog": "true",
"disable_telematics_popup_overlay": "1",
"h2_site": "google.com",
"HERE_COM_LAST_OPEN_TS": "1623838472",
"HIDE_CUSTOM_NOTE_TYPE_DROPDOWN": "false"
},
"bundle_items": null
}
],
"links": {
"view": "https://api.route4me.com/api.v4/optimization_problem.php?optimization_problem_id=AA4062A4F594B5DB3837AC636279EE24&api_key=66BEB076E50C4C0690046EA29A9D3921&member_id=1053088"
}
}
This marks the creation of your first optimization.
Request a route
After Route4Me has solved the Optimization Problem, the Destinations will be distributed among Routes according to the Optimization Parameters and Advanced Constraints specified in the Create Optimization request.
The successful Create Optimization response will contain the route_id
for each route created as a part of this Optimization.
To Get your first Route, extract a route_id
and place it into the Get Route request. Don't forget to set the directions
Query parameter to 1
to get the driving directions:
curl --request GET \
--url 'https://api.route4me.com/api.v4/route.php?route_id=11111111111111111111111111111111&api_key=11111111111111111111111111111111' \
--header 'accept: application/json'
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url("https://api.route4me.com/api.v4/route.php?route_id=11111111111111111111111111111111&api_key=11111111111111111111111111111111")
.get()
.addHeader("accept", "application/json")
.build();
Response response = client.newCall(request).execute();
using RestSharp;
var options = new RestClientOptions("https://api.route4me.com/api.v4/route.php?route_id=11111111111111111111111111111111&api_key=11111111111111111111111111111111");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("accept", "application/json");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);
<?php
require_once('vendor/autoload.php');
$client = new \GuzzleHttp\Client();
$response = $client->request('GET', 'https://api.route4me.com/api.v4/route.php?route_id=11111111111111111111111111111111&api_key=11111111111111111111111111111111', [
'headers' => [
'accept' => 'application/json',
],
]);
echo $response->getBody();
import requests
url = "https://api.route4me.com/api.v4/route.php?route_id=11111111111111111111111111111111&api_key=11111111111111111111111111111111"
headers = {"accept": "application/json"}
response = requests.get(url, headers=headers)
print(response.text)
const sdk = require('api')('@r4m/v1#1h66vltetlrhj');
sdk.auth('11111111111111111111111111111111');
sdk.getRoutes({route_id: '11111111111111111111111111111111'})
.then(({ data }) => console.log(data))
.catch(err => console.error(err));
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.route4me.com/api.v4/route.php?route_id=11111111111111111111111111111111&api_key=11111111111111111111111111111111"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("accept", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}
The response to this request will look something like this:
{
"route_id": "5EB1EDFFE9855276BC12BC85D247B3B9",
"optimization_problem_id": "AA4062A4F594B5DB3837AC636279EE24",
"user_route_rating": null,
"member_id": 1053088,
"member_email": "[email protected]",
"member_first_name": "Igor",
"member_last_name": "Skrynkovskyy",
"member_picture": "https://apps-static.route4me.com/uploads/3a27efa1473d75648f8e1516bda165d6/profile_b92a9bc45d6dadf3c4054c11ddcab67a.png",
"member_tracking_subheadline": null,
"approved_for_execution": false,
"approved_revisions_counter": 0,
"dispatched_timestamp": null,
"channel_name": "8a8afd3b203d760695e6b6a7f36089e4",
"vehicle_alias": null,
"driver_alias": "",
"trip_distance": 67.56,
"udu_distance_unit": "km",
"udu_trip_distance": 108.73,
"is_unrouted": false,
"route_cost": 0,
"route_weight": 0,
"route_cube": 0,
"route_revenue": 0,
"route_pieces": 14,
"route_demand_stats": {
"weight": {
"running": 0,
"initial": 0,
"remaining": 0,
"delivered": 0,
"picked": 0
},
"cube": {
"running": 0,
"initial": 0,
"remaining": 0,
"delivered": 0,
"picked": 0
},
"pieces": {
"running": 14,
"initial": 14,
"remaining": 0,
"delivered": 14,
"picked": 0
},
"revenue": {
"running": 0,
"initial": 0,
"remaining": 0,
"delivered": 0,
"picked": 0
}
},
"net_revenue_per_distance_unit": 0,
"created_timestamp": 1709726802,
"mpg": 10,
"gas_price": 2,
"route_duration_sec": 7233,
"planned_total_route_duration": 7233,
"total_wait_time": 0,
"udu_actual_travel_distance": 0,
"actual_travel_distance": 0,
"actual_travel_time": 0,
"actual_start_timestamp": null,
"driver_open_timestamp": null,
"actual_footsteps": 0,
"working_time": 0,
"driving_time": 0,
"idling_time": 0,
"paying_miles": 0,
"geofence_polygon_type": "rect",
"geofence_polygon_size": 50,
"destination_count": 14,
"unique_destination_count": 14,
"notes_count": 0,
"addresses_deviation_count": 0,
"parameters": {
"is_upload": false,
"rt": false,
"route_name": "Wed, 06 Mar 2024 12:06:38 +0000 UTC",
"route_date": 1709683200,
"route_time": 25200,
"shared_publicly": false,
"disable_optimization": false,
"optimize": "Time",
"lock_last": false,
"vehicle_capacity": null,
"vehicle_max_cargo_weight": null,
"vehicle_max_cargo_volume": null,
"vehicle_max_distance_mi": null,
"subtour_max_revenue": null,
"distance_unit": "mi",
"travel_mode": "Driving",
"avoid": "",
"avoidance_zones": [],
"vehicle_id": null,
"driver_id": null,
"dev_lat": null,
"dev_lng": null,
"route_max_duration": 1800,
"route_email": null,
"store_route": true,
"metric": 4,
"algorithm_type": 100,
"member_id": 1053088,
"ip": 1602858388,
"dm": 12,
"dirm": 10,
"parts": 10,
"parts_min": 1,
"device_id": "",
"device_type": "web",
"first_drive_then_wait_between_stops": false,
"has_trailer": false,
"trailer_weight_t": null,
"limited_weight_t": null,
"weight_per_axle_t": null,
"truck_height": null,
"truck_width": null,
"truck_length": null,
"truck_hazardous_goods": "",
"truck_axles": 0,
"truck_toll_road_usage": null,
"truck_avoid_ferries": null,
"truck_hwy_only": null,
"truck_lcv": null,
"truck_borders": null,
"truck_side_street_adherence": null,
"truck_config": null,
"truck_dim_unit": null,
"truck_type": null,
"truck_weight": 0,
"optimization_quality": 1,
"override_addresses": {},
"max_tour_size": null,
"min_tour_size": 0,
"uturn": 1,
"leftturn": 1,
"rightturn": 1,
"route_time_multiplier": null,
"route_service_time_multiplier": null,
"optimization_engine": "2",
"is_dynamic_start_time": false,
"is_amp": true
},
"addresses": [
{
"route_destination_id": 1100583657,
"alias": "",
"member_id": 1053088,
"address": "Stop #1",
"is_depot": true,
"timeframe_violation_state": null,
"timeframe_violation_time": 0,
"timeframe_violation_rate": 0,
"lat": 52.373066,
"lng": 4.856445,
"curbside_lat": 52.373066,
"curbside_lng": 4.856445,
"priority": null,
"route_id": null,
"original_route_id": null,
"route_name": null,
"optimization_problem_id": "AA4062A4F594B5DB3837AC636279EE24",
"sequence_no": 0,
"geocoded": false,
"preferred_geocoding": null,
"failed_geocoding": false,
"geocodings": [],
"contact_id": null,
"order_id": null,
"order_uuid": null,
"address_stop_type": null,
"is_visited": false,
"timestamp_last_visited": null,
"visited_lat": null,
"visited_lng": null,
"is_departed": false,
"departed_lat": null,
"departed_lng": null,
"timestamp_last_departed": null,
"group": null,
"customer_po": null,
"invoice_no": null,
"reference_no": null,
"order_no": null,
"weight": 0,
"cost": 0,
"revenue": 0,
"cube": 0,
"pieces": 0,
"first_name": null,
"last_name": null,
"email": null,
"phone": null,
"destination_note_count": 0,
"drive_time_to_next_destination": 882,
"abnormal_traffic_time_to_next_destination": null,
"uncongested_time_to_next_destination": null,
"traffic_time_to_next_destination": null,
"distance_to_next_destination": 9.92,
"channel_name": "17672b7bdf0d7bbbc54286160f4ba321",
"pickup": null,
"dropoff": null,
"joint": null,
"generated_time_window_start": null,
"generated_time_window_end": null,
"time_window_start": null,
"time_window_end": null,
"time_window_start_2": null,
"time_window_end_2": null,
"geofence_detected_visited_timestamp": null,
"geofence_detected_departed_timestamp": null,
"geofence_detected_service_time": null,
"geofence_detected_visited_lat": null,
"geofence_detected_visited_lng": null,
"geofence_detected_departed_lat": null,
"geofence_detected_departed_lng": null,
"geofence_local_visited_timestamp": null,
"geofence_local_visited_lat": null,
"geofence_local_visited_lng": null,
"geofence_local_departed_timestamp": null,
"geofence_local_departed_lat": null,
"geofence_local_departed_lng": null,
"geofence_local_service_time": null,
"time": 0,
"tracking_number": null,
"custom_fields": {},
"custom_fields_str_json": "{}",
"custom_fields_config": null,
"custom_fields_config_str_json": "null",
"notes": [],
"path_to_next": [
{
"lat": 52.373066,
"lng": 4.856445
},
{
"lat": 52.37305,
"lng": 4.85631
},
{
"lat": 52.37372,
"lng": 4.85611
},
{
"lat": 52.37376,
"lng": 4.8561
},
{
"lat": 52.37412,
"lng": 4.85598
},
{
"lat": 52.37418,
"lng": 4.85596
},
{
"lat": 52.37432,
"lng": 4.85592
},
{
"lat": 52.3744,
"lng": 4.85589
},
{
"lat": 52.37437,
"lng": 4.85564
},
{
"lat": 52.37436,
"lng": 4.85555
},
{
"lat": 52.37435,
"lng": 4.85547
},
{
"lat": 52.37432,
"lng": 4.85522
},
{
"lat": 52.37433,
"lng": 4.85508
},
{
"lat": 52.37426,
"lng": 4.85482
},
{
"lat": 52.37418,
"lng": 4.85458
},
{
"lat": 52.37361,
"lng": 4.85317
},
{
"lat": 52.37352,
"lng": 4.85288
},
{
"lat": 52.37343,
"lng": 4.8524
},
{
"lat": 52.37341,
"lng": 4.85232
},
{
"lat": 52.3734,
"lng": 4.85226
},
{
"lat": 52.37322,
"lng": 4.85127
},
{
"lat": 52.37295,
"lng": 4.84994
},
{
"lat": 52.37286,
"lng": 4.84934
},
{
"lat": 52.37283,
"lng": 4.8492
},
{
"lat": 52.37281,
"lng": 4.84906
},
{
"lat": 52.37279,
"lng": 4.84896
},
{
"lat": 52.37278,
"lng": 4.84889
},
{
"lat": 52.37277,
"lng": 4.84886
},
{
"lat": 52.37277,
"lng": 4.84884
},
{
"lat": 52.37275,
"lng": 4.84875
},
{
"lat": 52.37274,
"lng": 4.84865
},
{
"lat": 52.37272,
"lng": 4.84859
},
{
"lat": 52.3726,
"lng": 4.84789
},
{
"lat": 52.3725,
"lng": 4.84734
},
{
"lat": 52.37248,
"lng": 4.847
},
{
"lat": 52.37247,
"lng": 4.84688
},
{
"lat": 52.37247,
"lng": 4.84674
},
{
"lat": 52.37245,
"lng": 4.84658
},
{
"lat": 52.37241,
"lng": 4.84631
},
{
"lat": 52.37235,
"lng": 4.84598
},
{
"lat": 52.37231,
"lng": 4.84564
},
{
"lat": 52.37228,
"lng": 4.84529
},
{
"lat": 52.37227,
"lng": 4.84493
},
{
"lat": 52.37226,
"lng": 4.84413
},
{
"lat": 52.37227,
"lng": 4.84325
},
{
"lat": 52.3723,
"lng": 4.84303
},
{
"lat": 52.37232,
"lng": 4.84299
},
{
"lat": 52.37239,
"lng": 4.84271
},
{
"lat": 52.37242,
"lng": 4.84253
},
{
"lat": 52.37244,
"lng": 4.84238
},
{
"lat": 52.37245,
"lng": 4.84213
},
{
"lat": 52.37246,
"lng": 4.84186
},
{
"lat": 52.37246,
"lng": 4.84178
},
{
"lat": 52.37244,
"lng": 4.84159
},
{
"lat": 52.3722,
"lng": 4.84157
},
{
"lat": 52.37207,
"lng": 4.84157
},
{
"lat": 52.37196,
"lng": 4.84158
},
{
"lat": 52.37187,
"lng": 4.84158
},
{
"lat": 52.37155,
"lng": 4.84158
},
{
"lat": 52.3703,
"lng": 4.84174
},
{
"lat": 52.36997,
"lng": 4.84178
},
{
"lat": 52.36977,
"lng": 4.8418
},
{
"lat": 52.36912,
"lng": 4.84181
},
{
"lat": 52.36902,
"lng": 4.84181
},
{
"lat": 52.36879,
"lng": 4.84184
},
{
"lat": 52.36838,
"lng": 4.84191
},
{
"lat": 52.36769,
"lng": 4.8421
},
{
"lat": 52.36651,
"lng": 4.84214
},
{
"lat": 52.36595,
"lng": 4.84215
},
{
"lat": 52.36584,
"lng": 4.84215
},
{
"lat": 52.36544,
"lng": 4.84217
},
{
"lat": 52.36436,
"lng": 4.8422
},
{
"lat": 52.36393,
"lng": 4.84221
},
{
"lat": 52.36318,
"lng": 4.84223
},
{
"lat": 52.36306,
"lng": 4.84224
},
{
"lat": 52.36287,
"lng": 4.84226
},
{
"lat": 52.36157,
"lng": 4.84228
},
{
"lat": 52.36072,
"lng": 4.84231
},
{
"lat": 52.35953,
"lng": 4.84234
},
{
"lat": 52.3592,
"lng": 4.84235
},
{
"lat": 52.35848,
"lng": 4.84238
},
{
"lat": 52.35746,
"lng": 4.84241
},
{
"lat": 52.35647,
"lng": 4.84243
},
{
"lat": 52.35579,
"lng": 4.84245
},
{
"lat": 52.35422,
"lng": 4.84249
},
{
"lat": 52.3525,
"lng": 4.84252
},
{
"lat": 52.35217,
"lng": 4.8425
},
{
"lat": 52.35175,
"lng": 4.84246
},
{
"lat": 52.3513,
"lng": 4.84238
},
{
"lat": 52.35104,
"lng": 4.84231
},
{
"lat": 52.35072,
"lng": 4.84221
},
{
"lat": 52.35023,
"lng": 4.84202
},
{
"lat": 52.34992,
"lng": 4.84188
},
{
"lat": 52.34897,
"lng": 4.84143
},
{
"lat": 52.3487,
"lng": 4.84131
},
{
"lat": 52.34856,
"lng": 4.84125
},
{
"lat": 52.34839,
"lng": 4.84119
},
{
"lat": 52.34825,
"lng": 4.84114
},
{
"lat": 52.34804,
"lng": 4.84108
},
{
"lat": 52.34778,
"lng": 4.84101
},
{
"lat": 52.34708,
"lng": 4.84089
},
{
"lat": 52.34677,
"lng": 4.84086
},
{
"lat": 52.34648,
"lng": 4.84086
},
{
"lat": 52.34544,
"lng": 4.84087
},
{
"lat": 52.34429,
"lng": 4.84094
},
{
"lat": 52.34372,
"lng": 4.84103
},
{
"lat": 52.34344,
"lng": 4.84107
},
{
"lat": 52.34324,
"lng": 4.84109
},
{
"lat": 52.34271,
"lng": 4.84112
},
{
"lat": 52.34175,
"lng": 4.84125
},
{
"lat": 52.34153,
"lng": 4.84127
},
{
"lat": 52.34129,
"lng": 4.84127
},
{
"lat": 52.3411,
"lng": 4.84124
},
{
"lat": 52.34091,
"lng": 4.8412
},
{
"lat": 52.34073,
"lng": 4.84112
},
{
"lat": 52.34054,
"lng": 4.84102
},
{
"lat": 52.34037,
"lng": 4.8409
},
{
"lat": 52.3402,
"lng": 4.84076
},
{
"lat": 52.34005,
"lng": 4.8406
},
{
"lat": 52.3399,
"lng": 4.84043
},
{
"lat": 52.33977,
"lng": 4.84024
},
{
"lat": 52.33965,
"lng": 4.84002
},
{
"lat": 52.33953,
"lng": 4.8398
},
{
"lat": 52.33943,
"lng": 4.83955
},
{
"lat": 52.33935,
"lng": 4.8393
},
{
"lat": 52.33927,
"lng": 4.83903
},
{
"lat": 52.3392,
"lng": 4.83871
},
{
"lat": 52.33914,
"lng": 4.83833
},
{
"lat": 52.33909,
"lng": 4.83794
},
{
"lat": 52.33906,
"lng": 4.83751
},
{
"lat": 52.33905,
"lng": 4.83704
},
{
"lat": 52.33903,
"lng": 4.83634
},
{
"lat": 52.33901,
"lng": 4.83398
},
{
"lat": 52.339,
"lng": 4.83129
},
{
"lat": 52.339,
"lng": 4.83113
},
{
"lat": 52.339,
"lng": 4.83091
},
{
"lat": 52.33899,
"lng": 4.83046
},
{
"lat": 52.33899,
"lng": 4.8297
},
{
"lat": 52.33898,
"lng": 4.82856
},
{
"lat": 52.33896,
"lng": 4.82731
},
{
"lat": 52.33886,
"lng": 4.82618
},
{
"lat": 52.33886,
"lng": 4.82572
},
{
"lat": 52.33885,
"lng": 4.82558
},
{
"lat": 52.33882,
"lng": 4.82375
},
{
"lat": 52.33878,
"lng": 4.82169
},
{
"lat": 52.33878,
"lng": 4.82151
},
{
"lat": 52.33875,
"lng": 4.82016
},
{
"lat": 52.33874,
"lng": 4.8198
},
{
"lat": 52.33873,
"lng": 4.81913
},
{
"lat": 52.33871,
"lng": 4.81757
},
{
"lat": 52.33868,
"lng": 4.81692
},
{
"lat": 52.33864,
"lng": 4.81614
},
{
"lat": 52.33858,
"lng": 4.81547
},
{
"lat": 52.33847,
"lng": 4.81462
},
{
"lat": 52.33834,
"lng": 4.8138
},
{
"lat": 52.33824,
"lng": 4.81328
},
{
"lat": 52.33812,
"lng": 4.81276
},
{
"lat": 52.33788,
"lng": 4.81182
},
{
"lat": 52.3377,
"lng": 4.81122
},
{
"lat": 52.33751,
"lng": 4.81065
},
{
"lat": 52.33733,
"lng": 4.81015
},
{
"lat": 52.33714,
"lng": 4.80968
},
{
"lat": 52.33685,
"lng": 4.80903
},
{
"lat": 52.33655,
"lng": 4.80841
},
{
"lat": 52.3362,
"lng": 4.80777
},
{
"lat": 52.33579,
"lng": 4.80708
},
{
"lat": 52.33473,
"lng": 4.80536
},
{
"lat": 52.33367,
"lng": 4.80363
},
{
"lat": 52.33315,
"lng": 4.80277
},
{
"lat": 52.3326,
"lng": 4.80188
},
{
"lat": 52.33232,
"lng": 4.80142
},
{
"lat": 52.33171,
"lng": 4.8004
},
{
"lat": 52.33127,
"lng": 4.79942
},
{
"lat": 52.33108,
"lng": 4.79907
},
{
"lat": 52.33069,
"lng": 4.79836
},
{
"lat": 52.33048,
"lng": 4.79798
},
{
"lat": 52.32971,
"lng": 4.79644
},
{
"lat": 52.32954,
"lng": 4.79605
},
{
"lat": 52.32915,
"lng": 4.79516
},
{
"lat": 52.32895,
"lng": 4.79466
},
{
"lat": 52.32876,
"lng": 4.79419
},
{
"lat": 52.32874,
"lng": 4.7941
},
{
"lat": 52.32867,
"lng": 4.79364
},
{
"lat": 52.32855,
"lng": 4.79324
},
{
"lat": 52.32837,
"lng": 4.79247
},
{
"lat": 52.32834,
"lng": 4.79229
},
{
"lat": 52.32831,
"lng": 4.79212
},
{
"lat": 52.32829,
"lng": 4.79194
},
{
"lat": 52.32828,
"lng": 4.79177
},
{
"lat": 52.32829,
"lng": 4.79159
},
{
"lat": 52.3283,
"lng": 4.79141
},
{
"lat": 52.32833,
"lng": 4.79125
},
{
"lat": 52.32837,
"lng": 4.7911
},
{
"lat": 52.32842,
"lng": 4.79093
},
{
"lat": 52.32848,
"lng": 4.79079
},
{
"lat": 52.32855,
"lng": 4.79067
},
{
"lat": 52.32864,
"lng": 4.79054
},
{
"lat": 52.32873,
"lng": 4.79044
},
{
"lat": 52.32882,
"lng": 4.79037
},
{
"lat": 52.32892,
"lng": 4.79031
},
{
"lat": 52.32903,
"lng": 4.79026
},
{
"lat": 52.32913,
"lng": 4.79025
},
{
"lat": 52.32924,
"lng": 4.79024
},
{
"lat": 52.32935,
"lng": 4.79027
},
{
"lat": 52.32945,
"lng": 4.79031
},
{
"lat": 52.32955,
"lng": 4.79036
},
{
"lat": 52.32964,
"lng": 4.79044
},
{
"lat": 52.32974,
"lng": 4.79054
},
{
"lat": 52.32982,
"lng": 4.79066
},
{
"lat": 52.32989,
"lng": 4.79078
},
{
"lat": 52.32995,
"lng": 4.79093
},
{
"lat": 52.33001,
"lng": 4.79108
},
{
"lat": 52.33005,
"lng": 4.79125
},
{
"lat": 52.33008,
"lng": 4.79142
},
{
"lat": 52.33009,
"lng": 4.7916
},
{
"lat": 52.33009,
"lng": 4.79178
},
{
"lat": 52.33008,
"lng": 4.79194
},
{
"lat": 52.33006,
"lng": 4.79211
},
{
"lat": 52.33002,
"lng": 4.79228
},
{
"lat": 52.32998,
"lng": 4.79244
},
{
"lat": 52.32992,
"lng": 4.79259
},
{
"lat": 52.32986,
"lng": 4.79274
},
{
"lat": 52.32973,
"lng": 4.79301
},
{
"lat": 52.32913,
"lng": 4.79415
},
{
"lat": 52.32876,
"lng": 4.79489
},
{
"lat": 52.32857,
"lng": 4.79526
},
{
"lat": 52.32837,
"lng": 4.79558
},
{
"lat": 52.32808,
"lng": 4.79597
},
{
"lat": 52.32786,
"lng": 4.79619
},
{
"lat": 52.32763,
"lng": 4.79636
},
{
"lat": 52.3274,
"lng": 4.79649
},
{
"lat": 52.32717,
"lng": 4.79659
},
{
"lat": 52.32716,
"lng": 4.79659
},
{
"lat": 52.32691,
"lng": 4.79672
},
{
"lat": 52.32667,
"lng": 4.79686
},
{
"lat": 52.32643,
"lng": 4.79703
},
{
"lat": 52.32622,
"lng": 4.79722
},
{
"lat": 52.3262,
"lng": 4.79724
},
{
"lat": 52.32609,
"lng": 4.79738
},
{
"lat": 52.32594,
"lng": 4.79761
},
{
"lat": 52.32567,
"lng": 4.79813
},
{
"lat": 52.32552,
"lng": 4.79856
},
{
"lat": 52.32538,
"lng": 4.79915
},
{
"lat": 52.32529,
"lng": 4.79962
},
{
"lat": 52.32515,
"lng": 4.8002
},
{
"lat": 52.32499,
"lng": 4.80071
},
{
"lat": 52.32482,
"lng": 4.80113
},
{
"lat": 52.32458,
"lng": 4.80167
},
{
"lat": 52.32404,
"lng": 4.8029
},
{
"lat": 52.32347,
"lng": 4.80384
},
{
"lat": 52.32321,
"lng": 4.80417
},
{
"lat": 52.3228,
"lng": 4.80469
},
{
"lat": 52.32249,
"lng": 4.80507
},
{
"lat": 52.32213,
"lng": 4.8055
},
{
"lat": 52.32192,
"lng": 4.80573
},
{
"lat": 52.32145,
"lng": 4.80625
},
{
"lat": 52.32052,
"lng": 4.80717
},
{
"lat": 52.31846,
"lng": 4.80902
},
{
"lat": 52.31769,
"lng": 4.80946
},
{
"lat": 52.31752,
"lng": 4.80956
},
{
"lat": 52.31735,
"lng": 4.80964
},
{
"lat": 52.31715,
"lng": 4.80969
},
{
"lat": 52.317,
"lng": 4.80971
},
{
"lat": 52.31684,
"lng": 4.8097
},
{
"lat": 52.31664,
"lng": 4.80965
},
{
"lat": 52.31637,
"lng": 4.80952
},
{
"lat": 52.31618,
"lng": 4.80937
},
{
"lat": 52.31596,
"lng": 4.80911
},
{
"lat": 52.31581,
"lng": 4.80889
},
{
"lat": 52.31576,
"lng": 4.80882
},
{
"lat": 52.31565,
"lng": 4.80864
},
{
"lat": 52.31554,
"lng": 4.80845
},
{
"lat": 52.31549,
"lng": 4.80854
},
{
"lat": 52.31528,
"lng": 4.80892
},
{
"lat": 52.31436,
"lng": 4.81064
},
{
"lat": 52.31369,
"lng": 4.81184
},
{
"lat": 52.31332,
"lng": 4.81245
},
{
"lat": 52.31253,
"lng": 4.81381
},
{
"lat": 52.31231,
"lng": 4.8142
},
{
"lat": 52.31219,
"lng": 4.81425
},
{
"lat": 52.3121,
"lng": 4.81429
},
{
"lat": 52.31201,
"lng": 4.81433
},
{
"lat": 52.31189,
"lng": 4.81434
},
{
"lat": 52.31175,
"lng": 4.81431
},
{
"lat": 52.31156,
"lng": 4.81426
},
{
"lat": 52.31129,
"lng": 4.8142
},
{
"lat": 52.31108,
"lng": 4.81414
},
{
"lat": 52.31091,
"lng": 4.81409
},
{
"lat": 52.3107,
"lng": 4.81399
},
{
"lat": 52.3105,
"lng": 4.81386
},
{
"lat": 52.31033,
"lng": 4.81374
},
{
"lat": 52.30959,
"lng": 4.81311
},
{
"lat": 52.30921,
"lng": 4.81278
},
{
"lat": 52.3087,
"lng": 4.81234
},
{
"lat": 52.30859,
"lng": 4.81224
},
{
"lat": 52.3084,
"lng": 4.81204
},
{
"lat": 52.3081,
"lng": 4.81167
},
{
"lat": 52.30756,
"lng": 4.81094
},
{
"lat": 52.3067,
"lng": 4.80981
},
{
"lat": 52.30639,
"lng": 4.80938
},
{
"lat": 52.30635,
"lng": 4.80932
},
{
"lat": 52.30629,
"lng": 4.8092
},
{
"lat": 52.30624,
"lng": 4.80908
},
{
"lat": 52.30616,
"lng": 4.80917
},
{
"lat": 52.30604,
"lng": 4.80927
},
{
"lat": 52.30601,
"lng": 4.8093
},
{
"lat": 52.30569,
"lng": 4.80972
},
{
"lat": 52.30544,
"lng": 4.81005
},
{
"lat": 52.30528,
"lng": 4.81025
},
{
"lat": 52.30518,
"lng": 4.81037
},
{
"lat": 52.30506,
"lng": 4.81049
},
{
"lat": 52.30477,
"lng": 4.81074
},
{
"lat": 52.30471,
"lng": 4.81073
},
{
"lat": 52.30461,
"lng": 4.81078
},
{
"lat": 52.30457,
"lng": 4.81078
},
{
"lat": 52.30455,
"lng": 4.81075
},
{
"lat": 52.30453,
"lng": 4.81073
},
{
"lat": 52.30449,
"lng": 4.81072
},
{
"lat": 52.30447,
"lng": 4.81072
},
{
"lat": 52.30445,
"lng": 4.81072
},
{
"lat": 52.30442,
"lng": 4.81074
},
{
"lat": 52.3044,
"lng": 4.81076
},
{
"lat": 52.30437,
"lng": 4.81079
},
{
"lat": 52.30435,
"lng": 4.81081
},
{
"lat": 52.30434,
"lng": 4.81083
},
{
"lat": 52.30431,
"lng": 4.8109
},
{
"lat": 52.30429,
"lng": 4.81094
},
{
"lat": 52.30426,
"lng": 4.81097
},
{
"lat": 52.30424,
"lng": 4.81098
},
{
"lat": 52.30421,
"lng": 4.811
},
{
"lat": 52.30416,
"lng": 4.81102
},
{
"lat": 52.30404,
"lng": 4.81111
},
{
"lat": 52.30391,
"lng": 4.81116
},
{
"lat": 52.30376,
"lng": 4.81122
},
{
"lat": 52.30358,
"lng": 4.81131
},
{
"lat": 52.3035,
"lng": 4.81136
},
{
"lat": 52.30342,
"lng": 4.81141
},
{
"lat": 52.30306,
"lng": 4.81174
},
{
"lat": 52.30273,
"lng": 4.81204
},
{
"lat": 52.30236,
"lng": 4.8124
},
{
"lat": 52.30187,
"lng": 4.81286
},
{
"lat": 52.30097,
"lng": 4.81371
},
{
"lat": 52.30084,
"lng": 4.81383
},
{
"lat": 52.29992,
"lng": 4.8147
},
{
"lat": 52.29942,
"lng": 4.81517
},
{
"lat": 52.29902,
"lng": 4.81555
},
{
"lat": 52.29841,
"lng": 4.81611
},
{
"lat": 52.29832,
"lng": 4.81615
},
{
"lat": 52.29805,
"lng": 4.81637
},
{
"lat": 52.29749,
"lng": 4.81689
},
{
"lat": 52.29731,
"lng": 4.81705
},
{
"lat": 52.29725,
"lng": 4.81711
},
{
"lat": 52.29712,
"lng": 4.81724
},
{
"lat": 52.2971,
"lng": 4.81726
},
{
"lat": 52.29676,
"lng": 4.81758
},
{
"lat": 52.29652,
"lng": 4.8178
},
{
"lat": 52.29643,
"lng": 4.8179
},
{
"lat": 52.29631,
"lng": 4.81803
},
{
"lat": 52.29616,
"lng": 4.81824
},
{
"lat": 52.2956,
"lng": 4.81877
},
{
"lat": 52.29505,
"lng": 4.81929
},
{
"lat": 52.29414,
"lng": 4.82016
},
{
"lat": 52.29349,
"lng": 4.8208
},
{
"lat": 52.29329,
"lng": 4.82097
},
{
"lat": 52.29315,
"lng": 4.82111
},
{
"lat": 52.29288,
"lng": 4.82137
},
{
"lat": 52.2928,
"lng": 4.82144
},
{
"lat": 52.29263,
"lng": 4.8216
},
{
"lat": 52.29258,
"lng": 4.82164
},
{
"lat": 52.29243,
"lng": 4.82176
},
{
"lat": 52.29216,
"lng": 4.82199
},
{
"lat": 52.2918,
"lng": 4.82229
},
{
"lat": 52.29127,
"lng": 4.82275
},
{
"lat": 52.29089,
"lng": 4.82312
},
{
"lat": 52.29046,
"lng": 4.82357
},
{
"lat": 52.29025,
"lng": 4.8238
},
{
"lat": 52.29006,
"lng": 4.824
},
{
"lat": 52.29004,
"lng": 4.82401
},
{
"lat": 52.28988,
"lng": 4.82422
},
{
"lat": 52.28977,
"lng": 4.82404
},
{
"lat": 52.28954,
"lng": 4.82365
},
{
"lat": 52.28949,
"lng": 4.82357
},
{
"lat": 52.28923,
"lng": 4.8232
},
{
"lat": 52.28898,
"lng": 4.82285
},
{
"lat": 52.28863,
"lng": 4.82244
},
{
"lat": 52.28845,
"lng": 4.82227
},
{
"lat": 52.28826,
"lng": 4.82209
},
{
"lat": 52.28813,
"lng": 4.82198
},
{
"lat": 52.28793,
"lng": 4.82179
},
{
"lat": 52.28785,
"lng": 4.8217
},
{
"lat": 52.28778,
"lng": 4.82185
},
{
"lat": 52.2877,
"lng": 4.82207
},
{
"lat": 52.28762,
"lng": 4.82229
},
{
"lat": 52.28756,
"lng": 4.8224
},
{
"lat": 52.2875,
"lng": 4.82246
},
{
"lat": 52.28742,
"lng": 4.82249
},
{
"lat": 52.28733,
"lng": 4.82249
},
{
"lat": 52.2872,
"lng": 4.82241
},
{
"lat": 52.28707,
"lng": 4.82229
},
{
"lat": 52.28686,
"lng": 4.82208
},
{
"lat": 52.28674,
"lng": 4.82196
},
{
"lat": 52.28637,
"lng": 4.82158
},
{
"lat": 52.28595,
"lng": 4.82115
},
{
"lat": 52.28591,
"lng": 4.82111
},
{
"lat": 52.28584,
"lng": 4.82103
},
{
"lat": 52.28516,
"lng": 4.82033
},
{
"lat": 52.28506,
"lng": 4.82029
},
{
"lat": 52.28496,
"lng": 4.82031
},
{
"lat": 52.28486,
"lng": 4.82042
},
{
"lat": 52.28478,
"lng": 4.82068
},
{
"lat": 52.28455,
"lng": 4.82148
},
{
"lat": 52.28448,
"lng": 4.82172
},
{
"lat": 52.28423,
"lng": 4.82264
},
{
"lat": 52.28398,
"lng": 4.82355
},
{
"lat": 52.28396,
"lng": 4.82361
},
{
"lat": 52.28369,
"lng": 4.82459
},
{
"lat": 52.28377,
"lng": 4.82488
},
{
"lat": 52.28381,
"lng": 4.82519
},
{
"lat": 52.28382,
"lng": 4.82532
},
{
"lat": 52.28378,
"lng": 4.82547
},
{
"lat": 52.28351,
"lng": 4.8264
},
{
"lat": 52.2835,
"lng": 4.82643
},
{
"lat": 52.28341,
"lng": 4.82676
},
{
"lat": 52.28308,
"lng": 4.82793
},
{
"lat": 52.283,
"lng": 4.82821
},
{
"lat": 52.28293,
"lng": 4.82831
},
{
"lat": 52.28266,
"lng": 4.82849
},
{
"lat": 52.28258,
"lng": 4.82853
},
{
"lat": 52.28253,
"lng": 4.82871
},
{
"lat": 52.28228,
"lng": 4.82954
},
{
"lat": 52.28227,
"lng": 4.82958
},
{
"lat": 52.28221,
"lng": 4.82952
},
{
"lat": 52.28217,
"lng": 4.82949
},
{
"lat": 52.28203,
"lng": 4.82936
},
{
"lat": 52.28199,
"lng": 4.82926
},
{
"lat": 52.28197,
"lng": 4.82925
},
{
"lat": 52.28172,
"lng": 4.82908
}
],
"bundle_count": 0,
"bundle_items": null,
"order_inventory": null,
"required_skills": [],
"additional_status": null,
"workflow_uuid": null,
"invalid_sequence": {
"detected": false,
"event_timestamp": 0,
"actual_sequence_no": null,
"expected_sequence_no": null,
"revision_count": null
},
"udu_distance_to_next_destination": 15.96,
"wait_time_to_next_destination": 0,
"manifest": {
"time_windows_violated": false,
"projected_wait_time_before_tw_open": 0,
"estimated_wait_time_before_tw_open": 0,
"running_service_time": 0,
"running_travel_time": 0,
"running_wait_time": 0,
"running_distance": 0,
"fuel_from_start": 0,
"fuel_cost_from_start": 0,
"projected_arrival_time_ts": 1709708400,
"projected_departure_time_ts": 1709708400,
"estimated_arrival_time_ts": 1709708400,
"estimated_departure_time_ts": 1709708400,
"actual_arrival_time_ts": null,
"actual_departure_time_ts": null,
"scheduled_arrival_time_ts": 1709708400,
"scheduled_departure_time_ts": 1709708400,
"time_impact": null,
"arrival_on_time": true,
"arrival_deviation_seconds": 0,
"departure_on_time": true,
"departure_deviation_seconds": 0,
"remaining_weight": 0,
"remaining_cube": 0,
"remaining_pieces": 14,
"remaining_revenue": 0,
"udu_running_distance": 0
}
},
...
{
"route_destination_id": 1100583671,
"alias": "",
"member_id": 1053088,
"address": "Stop #15",
"is_depot": false,
"timeframe_violation_state": null,
"timeframe_violation_time": 0,
"timeframe_violation_rate": 0,
"lat": 52.329394,
"lng": 4.955335,
"curbside_lat": 52.329394,
"curbside_lng": 4.955335,
"priority": null,
"route_id": "5EB1EDFFE9855276BC12BC85D247B3B9",
"original_route_id": null,
"optimization_problem_id": "AA4062A4F594B5DB3837AC636279EE24",
"sequence_no": 14,
"geocoded": false,
"preferred_geocoding": null,
"failed_geocoding": false,
"geocodings": [],
"contact_id": null,
"order_id": null,
"order_uuid": null,
"address_stop_type": "DELIVERY",
"is_visited": false,
"timestamp_last_visited": null,
"visited_lat": null,
"visited_lng": null,
"is_departed": false,
"departed_lat": null,
"departed_lng": null,
"timestamp_last_departed": null,
"group": null,
"customer_po": null,
"invoice_no": null,
"reference_no": null,
"order_no": null,
"weight": 0,
"cost": 0,
"revenue": 0,
"cube": 0,
"pieces": 1,
"first_name": null,
"last_name": null,
"email": null,
"phone": null,
"destination_note_count": 0,
"drive_time_to_next_destination": null,
"abnormal_traffic_time_to_next_destination": null,
"uncongested_time_to_next_destination": null,
"traffic_time_to_next_destination": null,
"distance_to_next_destination": null,
"channel_name": "1d4cb7d26b13fab6e4bd5ecee6729407",
"pickup": null,
"dropoff": null,
"joint": null,
"generated_time_window_start": null,
"generated_time_window_end": null,
"time_window_start": null,
"time_window_end": null,
"time_window_start_2": null,
"time_window_end_2": null,
"geofence_detected_visited_timestamp": null,
"geofence_detected_departed_timestamp": null,
"geofence_detected_service_time": null,
"geofence_detected_visited_lat": null,
"geofence_detected_visited_lng": null,
"geofence_detected_departed_lat": null,
"geofence_detected_departed_lng": null,
"geofence_local_visited_timestamp": null,
"geofence_local_visited_lat": null,
"geofence_local_visited_lng": null,
"geofence_local_departed_timestamp": null,
"geofence_local_departed_lat": null,
"geofence_local_departed_lng": null,
"geofence_local_service_time": null,
"time": 0,
"tracking_number": "KZD93N3X",
"custom_fields": {},
"custom_fields_str_json": "{}",
"custom_fields_config": null,
"custom_fields_config_str_json": "null",
"notes": [],
"bundle_count": 0,
"bundle_items": null,
"order_inventory": null,
"required_skills": [],
"additional_status": null,
"workflow_uuid": null,
"invalid_sequence": {
"detected": false,
"event_timestamp": 0,
"actual_sequence_no": null,
"expected_sequence_no": null,
"revision_count": null
},
"udu_distance_to_next_destination": null,
"wait_time_to_next_destination": null,
"manifest": {
"time_windows_violated": false,
"projected_wait_time_before_tw_open": 0,
"estimated_wait_time_before_tw_open": 0,
"running_service_time": 0,
"running_travel_time": 7233,
"running_wait_time": 0,
"running_distance": 67.56,
"fuel_from_start": 6.756,
"fuel_cost_from_start": 13.512,
"projected_arrival_time_ts": 1709715633,
"projected_departure_time_ts": 1709715633,
"estimated_arrival_time_ts": 1709715633,
"estimated_departure_time_ts": 1709715633,
"actual_arrival_time_ts": null,
"actual_departure_time_ts": null,
"scheduled_arrival_time_ts": 1709715633,
"scheduled_departure_time_ts": 1709715633,
"time_impact": null,
"arrival_on_time": true,
"arrival_deviation_seconds": 0,
"departure_on_time": true,
"departure_deviation_seconds": 0,
"remaining_weight": 0,
"remaining_cube": 0,
"remaining_pieces": 0,
"remaining_revenue": 0,
"udu_running_distance": 108.73
}
}
],
"links": {
"route": "https://api.route4me.com/api.v4/route.php?route_id=5EB1EDFFE9855276BC12BC85D247B3B9&api_key=66BEB076E50C4C0690046EA29A9D3921&member_id=1053088&device_tracking_history=0&original=0¬es=0",
"optimization_problem_id": "https://api.route4me.com/api.v4/optimization_problem.php?optimization_problem_id=AA4062A4F594B5DB3837AC636279EE24&api_key=66BEB076E50C4C0690046EA29A9D3921&member_id=1053088"
},
"notes": [],
"vehicle": null,
"has_tracking": false,
"path": [
{
"lat": 52.373066,
"lng": 4.856445
},
...
{
"lat": 52.32939,
"lng": 4.95534
}
],
"directions": [
{
"location": {
"time": 882,
"segment_distance": 9.92,
"name": "Stop #1",
"start_location": "Stop #1",
"end_location": "Stop #2",
"directions_error": "",
"error_code": 0
},
"steps": [
{
"directions": "right",
"direction": "Departure on Admiralengracht",
"distance": 0.09,
"maneuverType": "depart-right",
"maneuverPoint": {
"lat": 52.373051,
"lng": 4.856308
},
"duration_sec": 23,
"distance_unit": "mi",
"compass_direction": null,
"udu_distance": 0.14
},
...
{
"directions": "",
"direction": "Reached Your Destination on Carolina MacGillavrylaan",
"distance": 0,
"maneuverType": "arrive",
"maneuverPoint": {
"lat": 52.357167,
"lng": 4.946454
},
"duration_sec": 0,
"distance_unit": "mi",
"compass_direction": null,
"udu_distance": 0
}
]
},
...
{
"location": {
"time": 20,
"segment_distance": 0.07,
"name": "Stop #14",
"start_location": "Stop #14",
"end_location": "Stop #15",
"directions_error": "",
"error_code": 0
},
"steps": [
{
"directions": "left",
"direction": "Departure",
"distance": 0.02,
"maneuverType": "depart-left",
"maneuverPoint": {
"lat": 52.32936,
"lng": 4.95652
},
"duration_sec": 15,
"distance_unit": "mi",
"compass_direction": null,
"udu_distance": 0.03
},
...
{
"directions": "",
"direction": "Reached Your Destination on Dalsteindreef",
"distance": 0,
"maneuverType": "arrive",
"maneuverPoint": {
"lat": 52.329393,
"lng": 4.955336
},
"duration_sec": 0,
"distance_unit": "mi",
"compass_direction": null,
"udu_distance": 0
}
]
},
{
"location": {
"time": 0,
"segment_distance": 0,
"name": "Stop #15",
"start_location": "Stop #15",
"end_location": null,
"directions_error": "",
"error_code": 0
},
"steps": []
}
],
"member_config_storage": {
"test": "google.com1",
"order_special_feed_field": "EXT_FIELD_custom_data.Assigned_Inspector",
"hide_sharing_in_route_parameters_dialog": "true",
"disable_telematics_popup_overlay": "1",
"h2_site": "google.com",
"HERE_COM_LAST_OPEN_TS": "1623838472",
"HIDE_CUSTOM_NOTE_TYPE_DROPDOWN": "false"
},
"bundle_items": null
}
Done! You now have the first route Route4Me optimized for you, complete with the driving instructions!
Updated 5 months ago