Driver Update
The DRIVER_UPDATE event is used to notify when a driver's details are modified, It provides real-time updates on changes.
Event Name: DRIVER_UPDATE
Trigger Condition
Subscription to the DRIVER_UPDATE event is mandatory. This event is triggered in real-time when a driver detail is updated.
Example Payload
{
"eventInfo": {
"userTypeId": 4,
"actionBy": "8a94ac2b-abcd-defg-0190-7438c90e5b23",
"userTypeName": "driver",
"isDriver": true
},
"messageType": "DRIVER_UPDATE",
"entityName": "Herminio Test",
"customerId": 12345,
"action": "Update",
"entityId": "8a949572-abcd-abcd-abcd-ff6a7f9c447e",
"time": 1739463118054
}
Reference
Field | Description |
---|---|
eventInfo JSONObject actionBy String,UUID userTypeId Integer userTypeName String isDriver Boolean | The unique Azuga ID of the user who performed the action Example: 15236e28-1111-11e6-9bb5-a7cf79cf4150 ID of the user type updated, 4- driver Example: 4 Name of the user type updated Example: driver |
messageType String | Type of message Example: "DRIVER_UPDATE" |
entityName String | Name of driver Example: Herminio test |
customerId Long | The unique Azuga ID of the Customer Example: 12345 |
action String | Action Performed Example: Update |
entityId String,UUID | The unique Azuga ID of the Driver. This is automatically generated when the driver object is updated and cannot be altered. Example: 1d28138b-3679-11ef-b858-9f09b511d93a |
time Time Stamp | Time when event is created in ms Example: 1732135845682 |
Updated 3 days ago