Helpful

CallbacksEvent callback

Contract switch

A device has switched to another contract while renewing its subscription.

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
eventTypestringCONTRACT_SWITCHThe 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
networkOperatorIdstringhexadecimalIdentifier of the Operator owning the first station to receive the triggering message
businessOperatorIdstringhexadecimalIdentifier of the Operator owning the device
contractIdstringhexadecimalIdentifier of the contract the device is associated with
previousContractIdobjecthexadecimalID of the previous contract associated to the Device
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 >