Use this API to pair with a vehicle. There are two ways in which you can pair with a vehicle - manual pairing and bluetooth pairing. For manual pairing, the vehicle ID has to be passed as a parameter while calling the API. And for bluetooth pairing, the device serial number has to be passed as a parameter while calling the API. isUnPair value should be set to 0 while calling this API.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Sample RequestUsing Vehicle ID :
https://api.azuga.com/azuga-ws/v1/fleet/pairvehicle.json?vehicleId=4375899f-4130-11e5-b155-a1e00593e7beUsing Device Serial Number :
https://api.azuga.com/azuga-ws/v1/fleet/pairvehicle.json?deviceSerialNum=5022477210
API Response explanation
| Field | Description |
|---|---|
| code | API Status Code |
| message | API Message |
| reason | Reason for failure |
| generatedAtInMillis | API generation timestamp in milliseconds |
| vehicleId | Unique identifier representing the vehicle |
| make | Make of the vehicle |
| model | Model of the vehicle |
| year | Year in which the vehicle was manufactured |
| serialNumber | Serial Number of the device |
| vin | Vehicle Identification Number |
| vehicleName | Name of the vehicle |
| vehicleType | Type of the vehicle |
| licensePlateNum | License plate number of the vehicle |
DisclaimerThis 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.

