post https://api.azuga.com/azuga-ws/v1/trackme.json
Use this API to generate a link to view your map location and trip status in real time. You can share this link with anyone within or outside the Azuga community. The recipient of the link can view your trip details and estimated time of arrival at the destination.
Along with creating a link for tracking, this API also generates a unique ID (token) for the TrackMe link.
Sample Request
{
"latitude":"35.384375",
"longitude":"-97.221660",
"destLatitude":"35.392426",
"destLongitude":"-97.264345",
"vehicleId":"a3ee7b4d-f016-11e5-8786-ddaf892ed854",
"userId":"a3f5cd56-f016-11e5-a6c9-6ff214bbb6cc",
"ttl":600,
"message":null
}
API Response Explanation
Field | Description |
---|---|
code | API status code |
message | API Message (Success/Failure) |
generatedAtInMillis | API generation timestamp in UTC |
token | Unique identifier representing the TrackMe link |
alive | Boolean to indicate if the TrackMe link is active or not |
url | Link to track your location |