These docs are for v1. Click to read the latest docs for v3.

Pairing History

This API returns the vehicle to driver association history. It provides the distance travelled during the association period and the timestamps.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

Sample Request

https://api.azuga.com/azuga-ws/v1/users/pairinghistory.json?startTime=1449273601000&endTime=1449705601000

API Response explanation

FieldDescription
codeAPI Status Code
messageAPI Message
reasonReason for failure
generatedAtAPI generation timestamp in UTC
currentPageThe current page
totalPagesThe total number of pages in the result
vehicleIdUnique identifier of the vehicle
vehicleNameName of the vehicle
tripDurationTotal duration of the trip (in seconds)
distanceTravelledDistance driven in that association period (in kilometers)
fromDateTimestamp in milliseconds when the user paired with the vehicle
toDateTimestamp in milliseconds when the user and vehicle got unpaired
assetnoAsset number of the vehicle
modelModel of the vehicle
makeMake of the vehicle
licensePlateNoLicense plate number of the vehicle
yearYear of manufacture
vinVehicle Identification Number
vehicleTypeType of vehicle
serialNumSerial number of the device plugged in to the vehicle
🚧

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.

Query Params
string
required

Trip start timestamp in GMT in milliseconds

string
required

Trip end timestamp in GMT in milliseconds

int32
Defaults to 5

Number of times the user has paired with the vehicle

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json