Driver Creation
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 Type: 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
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 created and cannot be altered.
Example: |
time | Time when event is created in milliseconds
Example: |
Updated 5 days ago