The reverse entering alarm is uploaded in the JSON format of EventNotificationAlert message.
{
"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":"reverseEntrance",
/*required, event/alarm type, here it should be set to "reverseEntrance", the maximum length is 128 bytes*/
"eventState":"",
"eventDescription":""
/*refer to the message JSON_EventNotificationAlert_Alarm/EventInfo for description details of the above nodes*/
"url":""
/*optional, string, URL of reverse entering alarm picture*/
}
Content-Type: multipart/form-data; boundary=MIME_boundary
--MIME_boundary
Content-Type: application/json
Content-Length:
{
"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":"reverseEntrance",
/*required, event/alarm type, here it should be set to "reverseEntrance", the maximum length is 128 bytes*/
"eventState":"",
"eventDescription":""
/*refer to the message JSON_EventNotificationAlert_Alarm/EventInfo for description details of the above nodes*/
}
--MIME_boundary
Content-Disposition: form-data; name="F4F665D6A18E41308CE9934DCDDD1111"; filename="reverseEntrance.jpg";
Content-Type: image/jpeg
Content-Length: 5798
Content-ID: reverseEntranceImage