Device Updation
The DEVICE_UPDATE event is used to notify when a device's details are modified. It provides real-time updates on device changes.
Event Type: 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
Field | Description |
---|---|
eventInfo | The unique Azuga ID of the user who performed the action
Example: |
messageType | Type of message |
entityName | Name of Device
Example: |
customerId | The unique Azuga ID of the Customer |
action | Action Performed
Example: |
entityId | The unique Azuga ID of the Device. This is automatically generated when the device object is updated and cannot be altered.
Example: |
time | Time when event is created in milliseconds
Example: |
Updated 5 days ago