get https://api.azuga.com/azuga-ws/v1/trackee/location/last.json?username=
This API allows you to get the current location of your fleet based on GPS data. If the API is unable to detect the current location, it will return the last known location of your fleet. It also helps you determine the activities of your fleet.
Sample Request
https://api.azuga.com/azuga-ws/v1/trackee/location/last.json?
API Response explanation
Field | Description |
---|---|
code | API Status Code |
message | API Message |
reason | Reason for failure |
generatedAtInMillis | API generation timestamp in milliseconds |
trackeeLocations | An array of trackeeLocations objects |
trackeeId | Unique identifier of the vehicle |
name | Name of the vehicle |
lastLocation | Last location of the vehicle |
eventType | Type of event |
time | Timestamp (in milliseconds) at which the vehicle is tracked |
locationStoreId | Internal reference |
coordinates | Latitude and longitude coordinates of the location of the vehicle |
type | Type of the coordinate |
Disclaimer
This API provides information only for a driver and does not provide aggregated information for a group of vehicles. Admins should not use these APIs, but should look at other sections of the documentation.