If you have the project_id
for a project you want to retrieve, you can use this endpoint to get the route solution and other meta data from that project.
https://api.routific.com/product/projects/{project_id}
API Response
{
"_id": "5eb0accf2255d500179fcd60",
"name": "Add Stop Demo",
"timezone": {},
"date": "2020-05-05",
"updateTime": "2020-05-05T01:48:25.967Z",
"fleet": {
"driver_HyxPCnmRYU": {
"_id": "driver_HyxPCnmRYU",
"name": "John Doe",
"start-location": {
"address": "555 west hastings, vancouver bc, canada",
"coords": {
"lat": 49.2847001,
"lng": -123.1141236
},
"id": "driver_HyxPCnmRYU_start"
},
"end-location": {
"address": "555 west hastings, vancouver bc, canada",
"coords": {
"lat": 49.2847001,
"lng": -123.1141236
},
"id": "driver_HyxPCnmRYU_end"
},
"phone-number": "+16042597686",
"shift-start": "09:00",
"shift-end": "17:00",
"speed": 1,
"capacity": 10,
"types": [
"a",
"b"
],
"breaks": [
{
"id": "break",
"start": "12:00",
"end": "13:00"
}
],
"status": "valid"
}
},
"visits": {
"stop_B1vC2mRF8": {
"id": "stop_B1vC2mRF8",
"name": "Jane Doe",
"location": {
"address": "2148 Main St, Vancouver, BC V5T 3C5",
"coords": {
"lat": 49.2657634,
"lng": -123.1004459
}
},
"start": "10:00",
"end": "11:00",
"duration": 20,
"types": [
"a"
],
"load": 1,
"isPriority": true,
"phone": "+16046204589",
"email": "[email protected]",
"time_windows": [
{
"start": "10:00",
"end": "11:00"
}
],
"status": "valid"
},
"stop_BkGxLHCKU": {
"name": "Rogers Arena",
"location": {
"address": "800 Griffiths Way, Vancouver, BC V6B 6G1, Canada",
"lat": 49.2778358,
"lng": -123.1088227,
"coords": {
"lat": 49.2777744,
"lng": -123.1085205
},
"num_results": 1
},
"id": "stop_BkGxLHCKU",
"status": "valid"
}
},
"settings": {
"stopLateness": 320,
"driverLateness": 320,
"shortestDistance": true,
"traffic": 1.4,
"strictStart": true,
"autoBalanced": true,
"load": 1,
"duration": 10
},
"solution": null,
"isLocked": false,
"status": "ready",
"version": 2
}