Vehicle Creation

The Vehicle Creation event is used to notify whenever a vehicle is created.

Event Type: VEHICLE_CREATE

Trigger Condition

Subscription to the VEHICLE_CREATE event is mandatory. This event is triggered in real-time upon vehicle creation.

Example Payload

{
  "eventInfo": {
    "actionBy": "15236e28-1111-2222-9bb5-a7cf79cf4150"
  },
  "messageType": "VEHICLE_CREATE",
  "entityName": "Ironman 1",
  "customerId": 23451,
  "action": "Create",
  "entityId": "a2acc504-1111-4442-a10f-e3ee18802612",
  "time": 1739896216285
}

Reference

Field

Description

  • eventInfo
    JSONObject

    actionBy
    String,UUID

The unique Azuga ID of the user who performed the action
Example: 15236e28-1111-11e6-9bb5-a7cf79cf4150

messageType
String

Type of message
Example: "VEHICLE_CREATE"

entityName
String

Name of the Vehicle
Example: Ironman 1

customerId
Long

The unique Azuga ID of the Customer
Example:23451

action
String

Action Performed
Example: Create

entityId
String,UUID

The unique Azuga ID of the Vehicle. This is automatically generated when the Vehicle object is created and cannot be altered.
Example: a2acc504-1111-4442-a10f-e3ee18802612

time
Time Stamp

Time when event is created in milliseconds
Example: 1739896216285