Driver Create

The DRIVER_CREATE event is used to notify when a driver is added to a account. It provides real-time updates on driver activation and records management.

Event Name: DRIVER_CREATE

Trigger Condition

Subscription to the DRIVER_CREATE event is mandatory. This event is triggered in real-time when a driver is added.

Example Payload

{
  "eventInfo": {
    "userTypeId": 4,
    "actionBy": "060b46ff-28c5-11e7-a9c6-77fb7b8afa1b",
    "userTypeName": "driver"
  },
  "messageType": "DRIVER_CREATE",
  "entityName": "test driver001",
  "customerId": 5134,
  "action": "Create",
  "entityId": "8a94d759-95a8-2a5b-0195-a8d15613069f",
  "time": 1742294046691
}

Reference

FieldDescription
eventInfo
JSONObject
actionBy
String,UUID
userTypeId
Integer
userTypeName
String
The unique Azuga ID of the user who performed the action
Example: 15236e28-1111-11e6-9bb5-a7cf79cf4150

ID of the user type created, 4- driver
Example: 4

Name of the user type created
Example: driver
messageType
String
Type of message
Example: "DRIVER_CREATE"
entityName
String
Name of driver
Example: test driver1
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 Driver. This is automatically generated when the driver object is created and cannot be altered.
Example: 1d28138b-3679-11ef-b858-9f09b511d93a
time
Time Stamp
Time when event is created in ms
Example: 1732135845682