JSON_EventNotificationAlert_SecurityCPAlarmEventMsg

The security control panel's alarm or event details are uploaded in JSON format of EventNotificationAlert message, here shows an example.

{
  "ipAddress":"",
  "ipv6Address":"",
  "portNo": ,
  "protocol":"",
  "macAddress":"",
  "channelID":"",
  "dateTime":"",
  "activePostCount": ,
  "eventType":"cidEvent",
  "eventState":"",
  "eventDescription":"",
  "deviceID":"",
  "uuid":"",
  "recheck": ,
  "videoURL":"",
  "imageURL":"",
  "CIDEvent":{
    "code": , 
    "standardCIDcode": ,
    "name":"", 
    "type":"", 
    "trigger":"",
    "upload":"",
    "centerAccount":"",
    "keypad": ,
    "system": ,
    "zone": ,
    "zoneCompatible": ,
    "alarmCenterNo": ,
    "repeater": ,
    "siren": ,
    "outputModule": ,
    "extensionModule": ,
    "ipcChannel": ,
    "CameraList":[{
      "id": ,
      "ip": "",
      "port": ,
      "channel": 
    }],
    "cardReader": ,
    "cardNo":"",
    "cardType":"",
    "NVRList":[{
      "id": ,
      "ip":"",
      "port": ,
      "channel": 
    }],
    "AlarmLineRule":{
      "id": ,
      "alarmLineNo1": ,
      "alarmLineNo2": ,
      "ruleType": 
    },
    "alarmLineNo": ,
    "AlarmRule":{
      "alarmLineNo1": , 
      "alarmLineNo2": ,
      "ruleType": 
    },
    "remoteCtrlNo": .
    "userName":""
  }
}

Node Description

uuid

String type, a unique ID to identify an event, standard format: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx (e.g., 8-4-4-4-12).

recheck

Optional, integer type, mark of whether to report the alarm twice: 1-report the alarm twice, 0 or this node does not exist-normal alarm.

videoURL

Optional, string, video URL, this node is valid when recheck is 1. This URL will be uploaded when the alarm is reported for the second time.

imageURL

Optional, string, picture URL, this node is valid when recheck is 1. This URL will be uploaded when the alarm is reported for the second time.

CIDEvent

CID alarm events.

code

Required, integer type, event No.

standardCIDcode

Optional, integer type, standard CID code.

name

Optional, string type, event name.

type

Required, string type, event types: "alarmAndDismantle"-alarm&tampering event, "lifeSafety"-lide security event, "sysStatus"-system status event, "armAndDisarm"-arming or disarming event, "zoneAlarm"-zone alarm, "operateAlarm"-operation alarm, "dismantleAlarm"-tampering alarm, "motionAlarm"-motion detection alarm, "hideAlarm"-device blocking alarm, "exceptionAlarm"-exception alarm, "earlyWarningAlarm"-early-warning zone alarm, "overLineAlarm"-cross-line alarm, "zoneAlarmTamper"-alarm and tampering event of the supported zone, "exDevTamperEvent"-peripheral tampering alarm, "hostTamperEvent"-tampering alarm of security control panel, "emergencyEvent"-panic alarm, "medicalEvent"-medical alarm, "gasEvent"-gas alarm, "fireEvent"-fire alarm, "hostStatusEvent"-security control panel status, "exDevStatusEvent"-peripheral status, "detectorStatusEvent"-detector status, "intelligentAlarmEvent"-smart alarm (smart alarms refer to alarms triggered by network cameras no matter whether they are analyzed by detectors or streaming algorithms).

trigger

Required, string type, event occurred time in ISO8601 time format.

upload

Required, string type, event uploaded time in ISO8601 time format.

centerAccount

Optional, string type, center account, which is used to mark the device.

keypad

Optional, keypad No.

system

Optional, partition No.

zone

Optional, zone No.

zoneCompatible

Optional, boolean, whether to support zone compatibility. This field is only supported by Axiom hub devices to solve the problem of device compatibility. If this field is returned, the zone No. (zone) will start from 0 (new devices); if this field is not returned, the zone No. (zone) will starts from 1 (old devices). For devices except Axiom hub devices, this field will not be returned, and the zone No. (zone) will start from 0.

alarmCenterNo

Optional, integer, alarm receiving center No.

repeater

Optional, repeater No.

siren

Optional, siren No.

outputModule

Optional, output module No.

extensionModule

Optional, extended module No.

ipcChannel

Optional, channel No. of the network camera added to the security control panel.

CameraList

Optional, network camera information.

id

Optional, integer type, network camera No.

ip

Optional, string type, network camera IP address.

port

Optional, integer type, network camera port number.

channel

Optional, integer type, channel No. of network camera.

cardReader

Optional, integer type, card reader No.

cardNo
Optional, string type, card No.
cardType

Optional, string type, card type: "operateCard"-opeartion card, "patrolCard"-patrol card.

NVRList

Optional, NVR (Network Video Recorder) information.

id

Optional, integer type, NVR No.

ip

Optional, string type, NVR address.

port

Optional, integer type, NVR port No.

channel

Optional, integer type, NVR channel No.

AlarmLineRule

Alarm rule.

id

Optional, integer type, alarm rule No.

alarmLineNo1

Optional, integer type, No. of trigger line 1.

alarmLineNo2

Optional, integer type, No. of the trigger line linked to alarmLineNo1.

ruleType

Optional, integer type, alarm rule: 1-from alarmLineNo1 to alarmLineNo2, 2-from alarmLineNo2 to alarmLineNo1, 3-from alarmLineNo1 to alarmLineNo2 or from alarmLineNo2 to alarmLineNo1. If the No. of alarmLineNo1 and alarmLineNo2 is the same one, it indicates configuring a single trigger line: 1-from left to right, 2-from right to left, 3-bidirectional.

alarmLineNo

Optional, integer32 type, trigger line No.

AlarmRule

Alarm rule.

alarmLineNo1

Optional, integer, trigger line No. of alarmLineNo1.

alarmLineNo2

Optional, integer, No. of the trigger line linked to alarmLineNo1.

ruleType

Optional, integer, direction of crossing trigger lines that can trigger alarms: 1-alarmLineNo1 to alarmLineNo2, 2-alarmLineNo2 to alarmLineNo1, 3-bidirectional.

remoteCtrlNo

Optional, int, keyfob No.

userName

Optional, string, user name. This node indicates the user name used to log in to the device when the alarm is uploaded.