JSON_EventNotificationAlert_PeopleQueuingUpAlarmMsg

JSON message about regional people queuing-up alarm details

Regional People Queuing-Up Alarm with Binary Picture Data

Content-Type: multipart/form-data; boundary=MIME_boundary
--MIME_boundary
Content-Type: application/json
Content-Length: 480
{
  "ipAddress": "",
  "ipv6Address": "",
  "portNo": ,	
  "protocol": "",	
  "macAddress": "",	
  "channelID": "",
  "releatedChannelList": [1,2,3],
/*optional, array of integers, list of alarm related channels, which are of the same camera with channelID; this parameter is used for live view or playback on the platform*/	
  "dateTime": "",	
  "activePostCount": ,	
  "eventType": "",
/*required, string, occurred event type, here it should be set to "personQueueCounting", and the maximum value size is 128 bytes*/	
  "eventState": "",	
  "eventDescription": "",
  "deviceID": "",
  "RegionCapture"{
/*captured region information*/
    "humanCounting":{
/*people amount*/
      "count": 
/*required, integer, actual people amount, it is ranging from 0 to 60*/
    }
    "rule":{
/*rule properties*/
      "ruleID": ,
/*required, integer, rule ID, which corresponds to the target person region ID*/
      "alarmCount": ,
/*required, integer, configured threshold of queuing-up people amount, it is ranging from 0 to 60*/
      "regionColor": "",
/*required, string, rule region color, "blue", "red", and "yellow" are available*/			
      "Region": [{ 
/*required, rule region coordinates, it is polygonal (3 to 10 edges)*/
	"x": ,
/*required, float, x-coordinate, it is ranging from 0.000 to 1*/
	"y": 
/*required, float, y-coordinate, it is ranging from 0.000 to 1*/
      }]
      "countTriggerType": "",
/*optional, string type, triggering type of people queuing-up alarm: "greater", "less", "equal", "unequal"-the alarm is triggered when the number of queuing-up persons is larger than, smaller than, equal to, or not equal to the value of alarmCount; "range"-the alarm is triggered when the number of queuing-up person is in the range between maxAlarmCount and alarmCount*/
      "durationTime": 
/*optional, integer type, queuing-up status (number of queuing-up persons) keeping duration, which is between 0 and 3600, the default duration is 300, unit: second; the people queuing-up alarm is triggered if the number of queuing-up persons keeps for the configured duration*/
    }	
  }
  "contentID": ""
/*background picture*/

}
--MIME_boundary
Content-Type: image/jpeg
Content-Length: 42569
Content-ID: human_image

fefefwageegfqaeg…
--MIME_boundary--

Regional People Queuing-Up Alarm with Picture URL

{
  "ipAddress": "",
  "ipv6Address": "",
  "portNo": ,	
  "protocol": "",	
  "macAddress": "",	
  "channelID": "",
  "releatedChannelList": [1,2,3],
/*optional, array of integers, list of alarm related channels, which are of the same camera with channelID; this parameter is used for live view or playback on the platform*/	
  "dateTime": "",	
  "activePostCount": ,	
  "eventType": "",
/*required, string, occurred event type, here it should be set to "personQueueCounting", and the maximum value size is 128 bytes*/	
  "eventState": "",	
  "eventDescription": "",
  "deviceID": "",
  "RegionCapture"{
/*captured region information*/
    "humanCounting":{
/*people amount*/
      "count": 
/*required, integer, actual people amount, it is ranging from 0 to 60*/
    }
    "rule":{
/*rule properties*/
      "ruleID": ,
/*required, integer, rule ID, which corresponds to the target person region ID*/
      "alarmCount": ,
/*required, integer, configured threshold of queuing-up people amount, it is ranging from 0 to 60*/
      "regionColor": "",
/*required, string, rule region color, "blue", "red", and "yellow" are available*/			
      "Region": [{ 
/*required, rule region coordinates, it is polygonal (3 to 10 edges)*/
	"x": ,
/*required, float, x-coordinate, it is ranging from 0.000 to 1*/
	"y": 
/*required, float, y-coordinate, it is ranging from 0.000 to 1*/
      }]
      "countTriggerType": "",
/*optional, string type, triggering type of people queuing-up alarm: "greater", "less", "equal", "unequal"-the alarm is triggered when the number of queuing-up persons is larger than, smaller than, equal to, or not equal to the value of alarmCount; "range"-the alarm is triggered when the number of queuing-up person is in the range between maxAlarmCount and alarmCount*/
      "durationTime": 
/*optional, integer type, queuing-up status (number of queuing-up persons) keeping duration, which is between 0 and 3600, the default duration is 300, unit: second; the people queuing-up alarm is triggered if the number of queuing-up persons keeps for the configured duration*/
    }	
  }
  "backgroundImageURL": ""
/*background picture URL*/
}