Retrieve the GPS data of a device in a given 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/devices/:imei/gps?start=2020-01-01T14%3A48%3A00.000Z&end=2020-01-01T14%3A48%3A00.000Z' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "data": [
- {
- "accuracy": 4,
- "lat": 32.0598671,
- "lon": 34.7827316,
- "alt": 234.22,
- "time": 1595077872,
- "speed": 22.51,
- "postedSpeed": 100,
- "postedSpeedHgv": 100,
- "postedSpeedTrailer": 100
}
]
}