Retrieve the driving history of a specific device, driver from a specific time range.
Successful operation
Bad request error
Unauthorized error
Forbidden error
Not found error
Internal server error
curl -i -X GET \ 'https://api-prod.surfsight.net/v2/driving-history?driverThirdPartyId=moshe123&organizationId=17&imei=12345678&start=2020-01-01T14%3A48%3A00.000Z&end=2020-01-01T14%3A48%3A00.000Z&sort=createdAt&order=asc&offset=1&limit=1' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "data": [
- {
- "driverHistory": [
- {
- "driver": {
- "id": "qwerty12345",
- "driverThirdPartyId": "moshe123",
- "drivingLicense": "10203040",
- "firstName": "John",
- "lastName": "Doe",
- "driverCode": "12345",
- "imei": "357660101000198",
- "isActive": true
}, - "startTime": "2021-12-14T12:42:04.323Z",
- "endTime": "2021-12-14T14:09:53.876Z"
}
]
}
]
}