Device Creation
The DEVICE_CREATION event is used to notify when a new device is added to account. It provides real-time updates on device provisioning and availability.
Event Type: DEVICE_CREATE
Trigger Condition
Subscription to the DEVICE_CREATION event is mandatory. This event is triggered in real-time when a new device is created.
Example Payload
{
"eventInfo": {
"deviceTypeId": 1,
"actionBy": "15236e28-1111-11e6-9bb5-a7cf79cf4150",
"imei": "35260211123140864",
"simNumber": "890145645549177347"
},
"messageType": "DEVICE_CREATE",
"entityName": "1040702337",
"customerId": 26111,
"action": "Create",
"entityId": "1d28138b-3679-11ef-b858-9f09b511d93a",
"time": 1732135845682
}
Reference
Field | Description |
---|---|
eventInfo | The unique Azuga ID of the user who performed the action
Example: |
deviceTypeId | ID of the device type created, 1 - Datalogger
Example: |
imei | imei number of the device created
Example: |
simNumber | sim number of SIM card inserted
Example: |
messageType | Type of message |
entityName | Name of the 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 created and cannot be altered.
Example: |
time | Time when event is created in milliseconds
Example: |
Updated 5 days ago