If you have the project_id for a project you want to retrieve, you can use this endpoint to fetch all the routes within a project. After a project has been dispatched and stops have been completed by the driver, plans that have the Live Tracking feature will have a response that includes a log. This log contains each of the driver's visit completion details.

https://api.routific.com/product/projects/{project_id}/routes

API Response

[
    {
        "_id": "6059434b8c9ca37c6c71a834",
        "date": "2021-03-22",
        "secret": "ABC123",
        "lastSeen": "2018-10-01T06:11:43.612Z",
        "vehicle": {
            "id": "ba06557770ff4d5df6bcade4b6ae3065",
            "_id": "605942e4a9735d00170ae59c"
        },
        "solution": {
            "distance": 12.276,
            "visits": [
                {
                    "log": [
                        {
                            "status": "done",
                            "date": 1538449200000,
                            "hasLiveTracking": true
                        }
                    ],
                    "break": false,
                    "arrival_time": "08:02",
                    "idle_time": 0,
                    "start_time": "08:02",
                    "location": {
                        "id": "748f952ec00547aab8e89ef303735c92",
                        "name": "Driver 1",
                        "address": "555 West Hastings, Vancouver BC, Canada",
                        "lat": 49.2847001,
                        "lng": -123.1141236
                    },
                    "hasLiveTracking": true,
                    "status": "done",
                    "original_start_time": "08:00",
                    "expected_arrival_time": "08:00"
                },
                {
                    "log": [
                        {
                            "status": "arrived",
                            "date": 1538449320000,
                            "hasLiveTracking": true
                        },
                        {
                            "status": "done",
                            "date": 1538449320000,
                            "notes": "This is a note",
                            "hasLiveTracking": true
                        }
                    ],
                    "break": false,
                    "arrival_time": "08:03",
                    "finish_time": "08:13",
                    "idle_time": 0,
                    "start_time": "08:03",
                    "location": {
                        "id": "781db5477e12498dfb74b4beb81f2d6a",
                        "name": "Jane Doe",
                        "address": "2148 Main St, Vancouver, BC V5T 3C5",
                        "lat": 49.2657634,
                        "lng": -123.1004459
                    },
                    "duration": 10,
                    "customNotes": {
                        "orderId": "ABC123"
                    },
                    "original_start_time": "08:01",
                    "original_finish_time": "08:11",
                    "logged_arrival_time": 1538449380000,
                    "hasLiveTracking": true,
                    "status": "done",
                    "expected_arrival_time": "08:03",
                    "expected_finish_time": "08:13"
                }
            ]
        }
    }
]