Role Creation
The ROLE_CREATE event is used to notify when a new role is created in the system. Once the role is created at the customer level, the event data is published to the subscribed webhook.
Event Type: ROLE_CREATE
Trigger Condition
Subscription to the ROLE_CREATE event is mandatory. This event is triggered in real-time when a role is created in the system.
Example Payload
{
"eventInfo": {
"actionBy": "060b46ff-28c5-11e7-a9c6-77fb7b8afa1b"
},
"messageType": "ROLE_CREATE",
"entityName": "test role1",
"customerId": 5134,
"action": "Create",
"entityId": "baad8416-03db-11f0-9f57-4b21205e56fd",
"time": 1742290271380
}Reference
| Field | Description |
|---|---|
| eventInfo JSONObject | The unique Azuga ID of the user who performed the action Example: 060b46ff-28c5-11e7-a9c6-77fb7b8afa1b |
| messageType String | Type of message Example: "ROLE_CREATE" |
| entityName String | Name of the role Example: test role1 |
| customerId Long | The unique Azuga ID of the Customer Example: 5134 |
| action String | Action Performed Example: Create |
| entityId String,UUID | The unique Azuga ID of the role. This is automatically generated when the role object is created and cannot be altered. Example: baad8416-03db-11f0-9f57-4b21205e56fd |
| time Time Stamp | Time when event is created in milliseconds Example: 1742290271380 |
Updated about 1 year ago
Did this page help you?

