Driver Updation
The DRIVER_UPDATE event is used to notify when a driver's details are modified, It provides real-time updates on changes.
Event Type: 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 | The unique Azuga ID of the user who performed the action
Example: |
messageType | Type of message |
entityName | Name of driver
Example: |
customerId | The unique Azuga ID of the Customer |
action | Action Performed
Example: |
entityId | The unique Azuga ID of the Driver. This is automatically generated when the driver object is updated and cannot be altered.
Example: |
time | Time when event is created in milliseconds
Example: |
Updated 5 days ago