User Updation

The User Update Event is used to notify whenever an existing user’s details are modified in the system.

Event Type: USER_UPDATE

Trigger Condition

Subscription to the USER_UPDATE event is mandatory. This event is triggered in real-time when a user is updated in the system.

Example Payload

{
  "eventInfo": {
    "userTypeId": 2,
    "actionBy": "060b46ff-5544-5342-a9c6-77fb7b8afa1b",
    "userTypeName": "admin",
    "isDriver": false
  },
  "messageType": "USER_UPDATE",
  "entityName": "test user",
  "customerId": 5134,
  "action": "Update",
  "entityId": "8a94a3ad-3145-2312-0195-379f1a61039e",
  "time": 1742292668719
}

Reference

FieldDescription
eventInfo
JSONObject
actionBy
String,UUID
userTypeId
Integer
userTypeName
String
isDriver
Boolean
actionBy: The unique Azuga ID of the user who performed the action
Example: 060b46ff-28c5-11e7-a9c6-77fb7b8afa1b

userTypeId: ID of the user type updated, 2 - admin, 3 - web admin, 4 - user
Example: 2

userTypeName: Name of the user type updated
Example: admin
messageType
String
Type of message
Example: "USER_UPDATE"
entityName
String
Name of the user updated
Example: test user
customerId
Long
The unique Azuga ID of the Customer
Example:5134
action
String
Action Performed
Example: Update
entityId
String,UUID
The unique Azuga ID of the user. This is automatically generated when the user object is updated and cannot be altered.
Example: 1d28138b-3679-11ef-b858-9f09b511d93a
time
Time Stamp
Time when user is updated in ms
Example: 1732135845682