Notification Event Types and Delivery Formats

Here is the list of supported notification types. 


Id

Description

Is Notification availableDescriptionPurposeIs Property SpecificMessage Example
1Add CompanyNo



2Remove CompanyNo



7Activate ProductYesA new product was activatedOccurs when product get activated.No

{
"cuId": "CUID1",
"priority": 0,
"timeStamp": "2017-09-15T10:40:15.5235902+00:00",
"messageType": 7,
"message": "string",

"data":

      "sku":"string",
      "hwVer":"string",
      "swVer":"string",
      "deviceId":"string"

}
}

8Add UserNo



9Update UserNo



12Activate Dynamic EndpointYesDevice (EP) added to a productOccurs when new dynamic endpoint added to product.No{
"cuId":"CUID1",
"priority":0,
"timeStamp":"2017-09-15T10:40:15.5235902+00:00",
"messageType":12,
"message": "string"
,
"data":{
"sku":"string",
      "mfgId":"string",
      "localId":"string",
      "name":"string",
      "sn":"string"
}
}
13Deactivate ProductYesA product was deactivatedOccurs when product get deactivated.No{
"cuId":"CUID1",
"priority": 0,
"timeStamp":"2017-09-15T10:40:15.5235902+00:00",
"messageType": 13,
"message": "string"
,
"data":{
 "sku":"string",
      "deviceId":"string"
}
}
14Deactivate Dynamic EndpointYesDevice (EP) was removed from a productOccurs when dynamic endpoint get removed from product.No{
"cuId":"CUID1",
"priority":0,
"timeStamp":"2017-09-15T10:40:15.5235902+00:00",
"messageType":14,
"message": "string"
,
"data":{
  "sku":"string",
      "mfgId":"string",
      "localId":"string",
      "name":"string",
      "sn":"string"
}
}
19Change Command DefinitionYes


{
"cuId":"CUID1",
"priority":0,
"timeStamp":"2017-09-15T10:40:15.5235902+00:00",
"messageType":19,
"message": "string"
,
"data":{
"sku":"string",
      "localId":"string",
      "mfgId":"string",
      "name":"string",
      "status":"string"

}
}
20Change Attribute DefinitionYes


{
"cuId":"CUID1",
"priority":0,
"timeStamp":"2017-09-15T10:40:15.5235902+00:00",
"messageType":20,
"message": "string"
,
"data":{
"sku":"string",
      "localId":"string",
      "mfgId":"string",
      "name":"string",
      "status":"string"

}
}


21Change Setting DefinitionYes


{
"cuId":"CUID1",
"priority":0,
"timeStamp":"2017-09-15T10:40:15.5235902+00:00",
"messageType":21,
"message": "string"
,
"data":{
"sku":"string",
      "localId":"string",
      "mfgId":"string",
      "name":"string",
      "status":"string"

}
}

Status can be 1:created 2:updated 3: deleted

22Send CommandYesCommand was send to the AgentOccurs when portal or cloud sends any command to agent.No{
"cuId":"CUID1",
"priority":0,
"timeStamp":"2017-09-15T10:40:15.5235902+00:00",
"messageType":22,
"message": "string"
,
"data":{
"sku":"string",
      "localId":"string",
      "mfgId":"string",
      "name":"string",
      "value":"string"

}
}
23Change Custom Field DefinitionYes


{
"cuId":"CUID1",
"priority":0,
"timeStamp":"2017-09-15T10:40:15.5235902+00:00",
"messageType":23,
"message": "string"
,
"data":{
 "sku":"string",
      "name":"string",
      "localId":"string",

      "type":"string",
      "status":"string",
      "mfgId":"string"

}
}

Status can be 1:created 2:updated 3: deleted

24Update Group Custom Field ValueYesGroup Custom Field UpdatedOccurs when group level custom field value gets updatedYes{
"cuId":"CUID1",
"priority":0,
"timeStamp":"2017-09-15T10:40:15.5235902+00:00",
"messageType":24,
"message": "string"
,
"data":{
 "sku":"string",
      "name":"string",
      "value":"string"
}
}
25Update Productline Custom Field ValueYesProductline custom field updatedOccurs when productline level custom field value gets updatedYes{
"cuId":"CUID1",
"priority":0,
"timeStamp":"2017-09-15T10:40:15.5235902+00:00",
"messageType":25,
"message": "string"
,
"data":{
"sku":"string",
      "name":"string",
      "value":"string"
}
}
26Update Product Custom Field ValueYesProduct custom field updatedOccurs when product level custom field value gets updatedYes{
"cuId":"CUID1",
"priority":0,
"timeStamp":"2017-09-15T10:40:15.5235902+00:00",
"messageType":26,
"message": "string"
,
"data":{
 "sku":"string",
      "name":"string",
      "value":"string",
      "deviceId":"string"
}
}
27Update Dynamic Endpoint Custom Field ValueYesDynamic end point custom field updatedOccurs when dynamic endpoint level custom field value gets updatedYes{
"cuId":"CUID1",
"priority":0,
"timeStamp":"2017-09-15T10:40:15.5235902+00:00",
"messageType":27,
"message": "string"
,
"data":{
  "sku":"string",
      "name":"string",
      "value":"string",
      "mfgId":"string",
      "deviceId":"string",
      "localId":"string"

}
}
28Change Attribute ValueYesData (attribute) sent to the cloud platformOccurs when endpoint (static & dynamic) attribute value get updated.Yes

JSON Data Type

{
"cuId": "CUID1",
"priority": 0,
"timeStamp": "2017-09-15T10:40:15.5235902+00:00",
"messageType": 28,
"message": "string"
,

"data": {
"localId": 1,
"deviceId":"dvc1"
"name": "temperature",
"value": jsonObject,
"deviceTimeStamp": "2017-09-15T10:40:15.5235902+00:00"
}
},


String Data Type

{
"cuId": "CUID1",
"priority": 0,
"timeStamp": "2017-09-15T10:40:15.5235902+00:00",
"messageType": 28,
"message": "string"
,

"data": {
"localId": 1,
"deviceId":"dvc1"
"name": "temperature",
"value": "ExampleString",
"deviceTimeStamp": "2017-09-15T10:40:15.5235902+00:00"
}
}


Int/double Data Type

{
"cuId": "CUID1",
"priority": 0,
"timeStamp": "2017-09-15T10:40:15.5235902+00:00",
"messageType": 28,
"message": "string"
,

"data": {
"localId": 1,
"deviceId":"dvc1"
"name": "temperature",
"value": 1,
"deviceTimeStamp": "2017-09-15T10:40:15.5235902+00:00"
}
}

29Changes Setting ValueYesSetting was updatedOccurs when endpoint (static & dynamic) setting get updated (either from cloud or agent).Yes{
"cuId":"CUID1",
"priority":0,
"timeStamp":"2017-09-15T10:40:15.5235902+00:00",
"messageType":29,
"message": "string"
,
"data":{
  "sku":"string",
       "deviceId":"string",
       "localId":"string",
       "name":"string",
       "mfgId":"string",
       "value":"string"
}
}
30User ActivityYesUser login and logoutOccurs when user login and logout from the portal systemNo{
"cuId":"CUID1",
"priority":0,
"timeStamp":"2017-09-15T10:40:15.5235902+00:00",
"messageType":30,
"message": "string"
,
"data":{
"email":"string",
      "activity":"string"
}
}
31Update Dynamic Endpoint YesUpdate Dynamic Endpoint 

{
"cuId":"CUID1",
"priority":0,
"timeStamp":"2017-09-15T10:40:15.5235902+00:00",
"messageType":31,
"message": "string"
,
"data":{
TBD
}
}
32Update Group DataYesUpdate Group Data

{
"cuId":"CUID1",
"priority":0,
"timeStamp":"2017-09-15T10:40:15.5235902+00:00",
"messageType":32,
"message": "string"
,
"data":{
TBD
}
}