Helpful

CallbacksEvent callback

On contract

A device has been added to a device type associated with this contract.


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
eventTypestringON_CONTRACTThe 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
deviceMessageTimestringyyyy-MM-dd HH:mm:ssMessage reception time
deviceTypeIdstringhexadecimalDeviceType identifier for the Device
groupIdstringhexadecimalGroup identifier for the Device
businessOperatorIdstringhexadecimalIdentifier of the Operator owning the device
contractIdstringhexadecimalIdentifier of the contract the device is associated with
subscriptionStatestring

enum :

  • PRE_ACTIVATED
  • TEST_ACTIVATED
  • ACTIVATED
  • SUSPENDED
  • INACTIVE
The status of the device subscription
contractIdsarray of stringhexadecimalThe list of contracts associated with the deviceType

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 >