Vehicle Deletion

The Vehicle Deletion event is used to notify whenever a vehicle is deleted.

Event Type: VEHICLE_DELETE

Trigger Condition

Subscription to the VEHICLE_DELETE event is mandatory. This event is triggered in real-time upon vehicle deletion.

Example Payload

{
  "eventInfo": {
    "actionBy": "c1a11a6f-1111-4567-b396-8729e6285c4e"
  },
  "messageType": "VEHICLE_DELETE",
  "entityName": "ironman1",
  "customerId": 19251,
  "action": "Delete",
  "entityId": "29e56c22-5644-5544-b068-b351c2a74976",
  "time": 1738694738632
}

Reference

Field

Description

  • eventInfo
    JSONObject
  • actionBy
    String,UUID

The unique Azuga ID of the user who performed the action
Example: c1a11a6f-1111-4567-b396-8729e6285c4e

messageType
String

Type of message
Example: "VEHICLE_DELETE"

entityName
String

Name of the Vehicle
Example: ironman1

customerId
Long

The unique Azuga ID of the Customer
Example:19251

action
String

Action Performed
Example:Delete

entityId
String,UUID

The unique Azuga ID of the Vehicle. This is automatically generated when the Vehicle object is deleted and cannot be altered.
Example: 29e56c22-5644-5544-b068-b351c2a74976

time
Time Stamp

Time when event is created in milliseconds
Example: 1738694738632