User Creation
The User Creation Event is used to notify when a new user is added in the system.
Event Type: USER_CREATE
Trigger Condition
Subscription to the USER_CREATE event is mandatory. This event is triggered in real-time when a user is created in the system.
Example Payload
{
"eventInfo": {
"userTypeId": 3,
"actionBy": "8a9388a8-1231-2345-0183-cdb9504d1424",
"userTypeName": "web admin"
},
"messageType": "USER_CREATE",
"entityName": "Fleet test",
"customerId": 12341,
"action": "Create",
"entityId": "8a94df65-1111-2122-0194-f3d333e81767",
"time": 1739257492699
}Reference
| Field | Description |
|---|---|
| eventInfo JSONObject | actionBy: The unique Azuga ID of the user who performed the action Example: 8a9388a8-1231-2345-0183-cdb9504d1424userTypeId: ID of the user type created, 3 - web admin Example: 3userTypeName: Name of the user type created Example: web admin |
| messageType String | Type of message Example: "USER_CREATE" |
| entityName String | Name of the user created Example: Fleet Test |
| customerId Long | The unique Azuga ID of the Customer Example: 26111 |
| action String | Action Performed Example: Create |
| entityId String,UUID | The unique Azuga ID of the user. This is automatically generated when the user object is created and cannot be altered. Example: 1d28138b-3679-11ef-b858-9f09b511d93a |
| time Time Stamp | Time when user is created in milliseconds Example: 1732135845682 |
Updated about 1 year ago
Did this page help you?

