Device Update

The DEVICE_UPDATE event is used to notify when a device's details are modified. It provides real-time updates on device changes.

Event Name: DEVICE_UPDATE

Trigger Condition

Subscription to the DEVICE_UPDATE event is mandatory. This event is triggered in real-time when a device is updated.

Example Payload

{
  "eventInfo": {
    "actionBy": "060b46ff-28c5-11e7-a9c6-77fb7b8afa1b"
  },
  "messageType": "DEVICE_UPDATE",
  "entityName": "1338873077",
  "customerId": 5134,
  "action": "Update",
  "entityId": "c7511d81-2002-11ef-b98c-dd3e018d37d1",
  "time": 1742293320661
}

Reference

FieldDescription
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: "DEVICE_UPDATE"
entityName
String
Name of Device
Example: 1040702337
customerId
Long
The unique Azuga ID of the Customer
Example:5134
action
String
Action Performed
Example: Update
entityId
String,UUID
The unique Azuga ID of the Device. This is automatically generated when the device object is updated and cannot be altered.
Example: 1d28138b-3679-11ef-b858-9f09b511d93a
time
Time Stamp
Time when event is created in ms
Example: 1732135845682