Vehicle Pairing
The VEHICLE_PAIRING event is used to notify when a beacon is detected within the vehicle's vicinity, indicating a pairing between the beacon and the vehicle. It also supports unpairing detection when the beacon moves out of range.
Event Type: VEHICLE_PAIRING
Trigger Condition
Subscription to the VEHICLE_PAIRING
event is mandatory. This event is triggered instantly when a beacon is detected within the vehicle’s range (pairing) or when it is no longer detected (unpairing).
Example Payload
{
"eventInfo": {
"driverId": "8a94aa04-1111-3333-0197-eb08f9916b51",
"actionBy": "8a9388a8-2222-4444-018c-19735e2e2d05",
"name": null,
"eventTime": 1751994924519
},
"messageType": "VEHICLE_PAIRING",
"entityName": "GMC 1111",
"customerId": 12345,
"action": "Pair",
"entityId": "3d3120cd-1111-2222-b54a-198d1339ead5",
"time": 1751994923960
}
Reference
Field | Description |
---|---|
eventInfo | Contains detailed pairing event data. |
driverId | Unique identifier of the driver involved in pairing. Example: "8a94aa04-1111-3333-0197-eb08f9916b51" |
actionBy | ID of the user who performed the pairing action. Example: "8a9388a8-2222-4444-018c-19735e2e2d05" |
eventTime | Timestamp of the event occurrence in milliseconds. Example: 1751994924519 |
messageType | Type of message |
entityName | Name of the Vehicle |
customerId | The unique Azuga ID of the Customer |
action | Action Performed |
entityId | The unique Azuga ID of the Vehicle. This is automatically generated when the Vehicle object is created and cannot be altered. |
time | Time when event is created in milliseconds |
Updated 5 days ago