Helpful

CallbacksEvent callback

Change device type

A device is transferred between two device types.

VariableTypeFormatDescription
timestringEpoch time in secondsEvent trigger time
sourceTypestringDEVICEThe type of resource that triggered the event
sourceIdstringhexadecimalIdentifier of the device at the origin of the event
severitystringINFOThe severity of the event
eventTypestringCHANGED_DEVICE_TYPEThe event type
deviceInfoobjectid: string (hexa)
name: string
state: string
last communication: string (yyyy-MM-dd HH:mm:ss)
last purge: string (yyyy-MM-dd HH:mm:ss)
average signal: float (dB)
timeout: string (yyyy-MM-dd HH:mm:ss)
Information about the device
previousDeviceTypeIDstringhexadecimalOrigin DeviceType identifier
deviceTypeIdstringhexadecimalDestination DeviceType identifier
groupIdstringhexadecimalGroup identifier for the Device
contractIdstringhexadecimalIdentifier of the contract the device is associated with
contractIdsarray of stringhexadecimalThe list of contracts associated with the deviceType
subscriptionStatestring

enum :

  • PRE_ACTIVATED
  • TEST_ACTIVATED
  • ACTIVATED
  • SUSPENDED
  • INACTIVE
The status of the device subscription

Can't find what you're looking for ?

Have questions? Our worldwide Community of expert fans can answer them.
Have answers? Join the Community and help!

slack logo

Ask the community >