ISAPI - Heat Map Application
ISAPI - Heat Map Application
Legal Information
User Manual
©2019 Hangzhou Hikvision Digital Technology Co., Ltd.
About this Manual
This Manual is subject to domestic and international copyright protection. Hangzhou Hikvision
Digital Technology Co., Ltd. ("Hikvision") reserves all rights to this manual. This manual cannot be
reproduced, changed, translated, or distributed, partially or wholly, by any means, without the
prior written permission of Hikvision.
Please use this user manual under the guidance of professionals.
Trademarks
and other Hikvision marks are the property of Hikvision and are
registered trademarks or the subject of applications for the same by Hikvision and/or its affiliates.
Other trademarks mentioned in this manual are the properties of their respective owners. No right
of license is given to use such trademarks without express permission.
Disclaimer
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, HIKVISION MAKES NO WARRANTIES,
EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, REGARDING THIS MANUAL.
HIKVISION DOES NOT WARRANT, GUARANTEE, OR MAKE ANY REPRESENTATIONS REGARDING THE
USE OF THE MANUAL, OR THE CORRECTNESS, ACCURACY, OR RELIABILITY OF INFORMATION
CONTAINED HEREIN. YOUR USE OF THIS MANUAL AND ANY RELIANCE ON THIS MANUAL SHALL BE
WHOLLY AT YOUR OWN RISK AND RESPONSIBILITY.
REGARDING TO THE PRODUCT WITH INTERNET ACCESS, THE USE OF PRODUCT SHALL BE WHOLLY
AT YOUR OWN RISKS. HIKVISION SHALL NOT TAKE ANY RESPONSIBILITIES FOR ABNORMAL
OPERATION, PRIVACY LEAKAGE OR OTHER DAMAGES RESULTING FROM CYBER ATTACK, HACKER
ATTACK, VIRUS INSPECTION, OR OTHER INTERNET SECURITY RISKS; HOWEVER, HIKVISION WILL
PROVIDE TIMELY TECHNICAL SUPPORT IF REQUIRED.
SURVEILLANCE LAWS VARY BY JURISDICTION. PLEASE CHECK ALL RELEVANT LAWS IN YOUR
JURISDICTION BEFORE USING THIS PRODUCT IN ORDER TO ENSURE THAT YOUR USE CONFORMS
THE APPLICABLE LAW. HIKVISION SHALL NOT BE LIABLE IN THE EVENT THAT THIS PRODUCT IS USED
WITH ILLEGITIMATE PURPOSES.
IN THE EVENT OF ANY CONFLICTS BETWEEN THIS MANUAL AND THE APPLICABLE LAW, THE LATER
PREVAILS.
i
Heat Map Application ISAPI User Manual
Contents
Chapter 1 Overview .................................................................................................................... 1
1.1 Introduction ........................................................................................................................... 1
1.2 Update History ....................................................................................................................... 1
Chapter 2 Configure Heat Map Alarm ......................................................................................... 3
Chapter 3 Configure Intersection Analysis Alarm ........................................................................ 5
Chapter 4 Alarm/Event Receiving ............................................................................................. 10
4.1 Receive Alarm/Event in Arming Mode ................................................................................. 10
4.2 Receive Alarm/Event in Listening Mode .............................................................................. 12
Chapter 5 Request URL ............................................................................................................. 15
5.1 /ISAPI/Event/capabilities ..................................................................................................... 15
5.2 /ISAPI/Event/channels/<ID>/capabilities ............................................................................. 15
5.3 /ISAPI/Event/schedules/heatMaps/<ID> ............................................................................. 16
5.4 /ISAPI/Event/schedules/intersectionAnalysis/<ID> ............................................................. 16
5.5 /ISAPI/Event/schedules/intersectionAnalysis ...................................................................... 17
5.6 /ISAPI/Event/triggers ........................................................................................................... 17
5.7 /ISAPI/Event/triggers/<ID> .................................................................................................. 18
5.8 /ISAPI/Event/triggersCap ..................................................................................................... 19
5.9 /ISAPI/Intelligent/channels/<ID>/capabilities ...................................................................... 19
5.10 /ISAPI/Intelligent/channels/<ID>/intersectionAnalysis/search?format=json .................... 20
5.11 /ISAPI/Intelligent/channels/<ID>/intersectionAnalysis?format=json ................................ 20
5.12 /ISAPI/Intelligent/channels/<ID>/intersectionAnalysis/capabilities?format=json ............. 21
5.13 /ISAPI/System/capabilities ................................................................................................. 21
5.14 /ISAPI/System/Video/capabilities ...................................................................................... 22
5.15 /ISAPI/System/Video/inputs/channels/<ID>/heatMap/capabilities .................................. 22
5.16 /ISAPI/System/Video/inputs/channels/<ID>/heatMap ..................................................... 22
5.17 /ISAPI/System/Video/inputs/channels/<ID>/heatMap/pictureInfo .................................. 23
ii
Heat Map Application ISAPI User Manual
iii
Heat Map Application ISAPI User Manual
iv
Heat Map Application ISAPI User Manual
Chapter 1 Overview
This manual provides the integration methods and flows based on ISAPI protocol for heat map
applications.
1.1 Introduction
Heat map is a graphical representation of data represented by colors or other markers, and it is
usually used to analyze the visit times and dwell time of customers in a rule configured area.
Actually, the intersection analysis is an application of heat map at intersection. The heat map can
be classified as space heat map and time heat map according to statistics mode.
Space Heat Map
Shows the target activity pattern information, which is represented by color on picture of the rule
configured area, and the maximum and minimum values on the picture are given.
Time Heat Map
Shows the number of targets varying with dwell durations, which is represented by statistical
chart.
1
Heat Map Application ISAPI User Manual
4. Extended query parameters of heat map picture search (related URL: /ISAPI/System/Video/
inputs/channels/<ID>/heatMap/picture ):
added a parameter, i.e., statisticalModel (supported heat map statistics mode).
5. Extended device capability, intelligent channel capability, and event capability
( XML_DeviceCap , XML_IntelliCap , and XML_EventCap , related URLs: /ISAPI/System/
capabilities , /ISAPI/Intelligent/channels/<ID>/capabilities , and /ISAPI/Event/capabilities ):
added a node, i.e., <isSupportIntersectionAnalysis> (whether supports intersection analysis).
6. Extended device event channel capability ( XML_ChannelEventCap , related URL: /ISAPI/Event/
channels/<ID>/capabilities ):
added two values to event type node (<eventType>), i.e., "intersectionAnalysis" and "heatMap".
7. Extended alarm linkage action capability ( XML_EventTriggersCap , related URL: /ISAPI/Event/
triggersCap ):
added a node, i.e., <IntersectionAnalysisCap> (whether supports setting linkage action for
intersection analysis alarm).
8. Extended parameter message of alarm linkage action configuration ( XML_EventTrigger ,
related URL: /ISAPI/Event/triggers/<ID> ):
added two values to event type node (<eventType>), i.e., "intersectionAnalysis" and "heatMap".
9. Added URLs to configure arming schedule for an or multiple intersection analysis alarm(s):.
Get arming schedule of an intersection analysis alarm: GET /ISAPI/Event/schedules/
intersectionAnalysis/<ID>
Get arming schedules of multiple intersection analysis alarms: GET /ISAPI/Event/schedules/
intersectionAnalysis
Set arming schedule for an intersection analysis alarm: PUT /ISAPI/Event/schedules/
intersectionAnalysis/<ID>
Set arming schedules of multiple intersection analysis alarms: PUT /ISAPI/Event/schedules/
intersectionAnalysis
10. Added URL to get intersection analysis capability: GET /ISAPI/Intelligent/channels/<ID>/
intersectionAnalysis/capabilities?format=json
11. Added URL to configure intersection analysis:
Get intersection analysis parameters: GET /ISAPI/Intelligent/channels/<ID>/
intersectionAnalysis?format=json
Set intersection analysis parameters: PUT /ISAPI/Intelligent/channels/<ID>/
intersectionAnalysis?format=json
12. Added URL to search for intersection analysis results: POST /ISAPI/Intelligent/channels/<ID>/
intersectionAnalysis/search?format=json
13. Added alarm details message of different heat map alarms and intersection analysis alarm:
JSON_EventNotificationAlert_HeatMapAlarmMsg .
2
Heat Map Application ISAPI User Manual
3
Heat Map Application ISAPI User Manual
If the node <isSupportHeatmap> is returned in each capability message, it indicates that heat
map function is supported and you can perform the following steps; otherwise, this function is
not supported, please end this task.
2. Optional: Get configuration capability of heat map by the request URL: GET /ISAPI/System/
Video/inputs/channels/<ID>/heatMap/capabilities to check the supported configuration
parameters.
The heat map configuration capability is returned in the message XML_Cap_HeatMap .
3. Set heat map rule and region parameters by the request URL: PUT /ISAPI/System/Video/
inputs/channels/<ID>/heatMap .
Note
• The statistics region(s) of heat map can also be configured by the request URLs: /ISAPI/
System/Video/inputs/channels/<ID>/heatMap/regions/<ID> or /ISAPI/System/Video/
inputs/channels/<ID>/heatMap/regions .
• Before setting rule or region parameters, you can call the configuration URLs by GET method
to get default or configured parameters for reference.
Note
To receive alarm in platform, the linkage action should be set to "center" (upload to center).
6. Set arming schedule of a heat map alarm by the request URL: PUT /ISAPI/Event/schedules/
heatMaps/<ID> .
7. Optional: Receive heat map alarm in arming mode (see Receive Alarm/Event in Arming Mode )
or listening mode (see Receive Alarm/Event in Listening Mode ) when the alarm is triggered.
The heat map alarm (including heat map of dwell duration and people counting) is returned by
the message JSON_EventNotificationAlert_HeatMapAlarmMsg , and the corresponding alarm
type (eventType) is "heatmap".
4
Heat Map Application ISAPI User Manual
5
Heat Map Application ISAPI User Manual
Steps
6
Heat Map Application ISAPI User Manual
1. Get device or channel capability by the request URL: GET /ISAPI/System/capabilities or /ISAPI/
Intelligent/channels/<ID>/capabilities to check if intersection analysis is supported.
The device capability or channel capability is returned in the message XML_DeviceCap or
XML_IntelliCap .
If the node <isSupportIntersectionAnalysis> is returned in each capability message, it indicates
that intersection analysis is supported and you can perform the following steps; otherwise, this
function is not supported, please end this task.
2. Optional: Get configuration capability of intersection analysis rule by the request URL: GET /
ISAPI/Intelligent/channels/<ID>/intersectionAnalysis/capabilities?format=json to check the
supported rule configuration parameters.
The rule configuration capability is returned in the message JSON_IntersectionAnalysisCap .
3. Set intersection analysis rule by the request URL: PUT /ISAPI/Intelligent/channels/<ID>/
intersectionAnalysis?format=json .
Note
Before setting rule, you'd better call the URL by GET method to get the default or configured
parameters for reference.
4. Get event capability by the request URL: GET /ISAPI/Event/capabilities to check if setting
intersection analysis alarm is supported.
The event capability is returned in the message XML_EventCap .
If the node <isSupportIntersectionAnalysis> is returned in the capability message, it indicates
that setting intersection analysis alarm is supported and you can perform the following steps;
otherwise, it is not supported, please end this task.
5. Set linkage action for intersection analysis alarm.
1) Optional: Get alarm linkage capability by the request URL: GET /ISAPI/Event/triggersCap to
get the supported linkage actions.
2) Optional: Get default or configured linkage action of an or multiple intersection analysis
alarm(s) by the request URL: GET /ISAPI/Event/triggers/<ID> or /ISAPI/Event/triggers for
reference.
3) Set linkage action of an intersection analysis alarm by the request URL: PUT /ISAPI/Event/
triggers/<ID> .
Note
To receive alarm in platform or system, the linkage action should be set to "center" (upload to
center).
6. Set arming schedule of an or multiple intersection analysis alarm(s) by the request URL: PUT /
ISAPI/Event/schedules/intersectionAnalysis/<ID> or /ISAPI/Event/schedules/
intersectionAnalysis .
7
Heat Map Application ISAPI User Manual
Note
Before setting arming schedule, you'd better call the URLs by GET method to get the default or
configured parameters for reference.
7. Optional: Search for the uploaded intersection analysis results by the request URL: POST /
ISAPI/Intelligent/channels/<ID>/intersectionAnalysis/search?format=json .
8. Optional: Receive the uploaded intersection analysis alarm in arming mode (see details in
Receive Alarm/Event in Arming Mode ) when the alarm is triggered.
The intersection analysis alarm is returned by the message
JSON_EventNotificationAlert_HeatMapAlarmMsg , and the corresponding alarm type
(eventType) is "heatmap".
Result
8
Heat Map Application ISAPI User Manual
9
Heat Map Application ISAPI User Manual
10
Heat Map Application ISAPI User Manual
Steps
11
Heat Map Application ISAPI User Manual
alertStream",cnonce="3d183a245b8729121ae4ca3d41b90f18",nc=00000001,qop="auth",re
sponse="f2e0728991bb031f83df557a8f185178"
Host: 10.6.165.192
HTTP/1.1 200 OK
MIME-Version: 1.0
Connection: close
Content-Type: multipart/mixed; boundary=<frontier>
--<frontier>
Content-Type: application/xml; charset="UTF-8"
Content-Length: text_length
<EventNotificationAlert/>
--<frontier>
Note
Some alarm data is in JSON format, so the Content-Type may be "application/xml" or "application/
json".
12
Heat Map Application ISAPI User Manual
Steps
Note
Before setting the listening server, you'd better perform GET operation on the above URL to get
the existing or configured parameters for reference.
3. Send the request URL: POST /ISAPI/Event/notification/httpHosts/<ID>/test to the listening
server to check whether it is working normally.
4. Receive the alarm/event information from the listening server by the URL: POST http://
ipAddress:portNo/url .
Example
Interaction Example of Receiving Data in Listening Mode
• with Binary Picture Data
//Request
POST requestUrl HTTP/1.1
Host: data_gateway_ip:port
Accept-Language: en-US
Date: YourDate
Content-Type: multipart/form-data;boundary=<frontier>
Content-Length: text_length
Connection: keep-alive
--<frontier>
13
Heat Map Application ISAPI User Manual
<EventNotificationAlert/>
--<frontier>
Content-Disposition: form-data; name="Picture_Name"
Content-Length: image_length
Content-Type: image/pjpeg
//Response
HTTP/1.1 HTTP statusCode
Date: YourDate
Connection: close
• without Binary Picture Data
//Request
POST requestUrl HTTP/1.1
Host: data_gateway_ip:port
Accept-Language: en-US
Date: YourDate
Content-Type: text/xml;
Content-Length: text_length
Connection: Close
<EventNotificationAlert/>
//Response
HTTP/1.1 HTTP statusCode
Date: YourDate
Connection: close
Note
• The Host is the HTTP server domain name or IP address and port number.
• Some alarm data is in JSON format, so the Content-Type may be "text/xml" or "text/json".
14
Heat Map Application ISAPI User Manual
5.1 /ISAPI/Event/capabilities
Get the device event capability set.
5.2 /ISAPI/Event/channels/<ID>/capabilities
Get event capabilities supported by the channel.
Remarks
The <ID> in the URL indicates the channel ID.
15
Heat Map Application ISAPI User Manual
5.3 /ISAPI/Event/schedules/heatMaps/<ID>
Operations about arming schedule configuration of a heat map alarm.
Remarks
The <ID> in the request URL refers to the heat map alarm ID.
5.4 /ISAPI/Event/schedules/intersectionAnalysis/<ID>
Operations about arming schedule configuration of an intersection analysis alarm.
16
Heat Map Application ISAPI User Manual
Failed: XML_ResponseStatus
Table 5-6 PUT /ISAPI/Event/schedules/intersectionAnalysis/<ID>
Method PUT
Description Set arming schedule of an intersection analysis alarm.
Query None.
Request XML_Schedule
Response XML_ResponseStatus
Remarks
The <ID> in the request URL refers to the intersection analysis alarm ID.
5.5 /ISAPI/Event/schedules/intersectionAnalysis
Operations about arming schedule configuration of multiple intersection analysis alarms.
5.6 /ISAPI/Event/triggers
Get linkage actions of multiple alarms.
17
Heat Map Application ISAPI User Manual
5.7 /ISAPI/Event/triggers/<ID>
Operations about linkage action configuration of an alarm.
18
Heat Map Application ISAPI User Manual
Request None.
Response XML_ResponseStatus
Remarks
The <ID> in the request URL is defined as the No. of the alarm triggered channel. For example, if
the No. of the video input channel triggered by face capture alarm is 1, the <ID> is "faceSnap-1".
5.8 /ISAPI/Event/triggersCap
Get configuration capability of alarm linkage actions.
5.9 /ISAPI/Intelligent/channels/<ID>/capabilities
Get the intelligent function capability of device.
Remarks
The <ID> in the URL refers to the video input channel ID of device.
19
Heat Map Application ISAPI User Manual
5.10 /ISAPI/Intelligent/channels/<ID>/intersectionAnalysis/search?
format=json
Search intersection analysis results.
Remarks
The <ID> in the request URL refers to channel No.
5.11 /ISAPI/Intelligent/channels/<ID>/intersectionAnalysis?format=json
Operations about rule configuration of intersection analysis.
20
Heat Map Application ISAPI User Manual
Request JSON_IntersectionAnalysis
Response JSON_ResponseStatus
Remarks
The <ID> in the request URL refers to the channel No.
5.12 /ISAPI/Intelligent/channels/<ID>/intersectionAnalysis/capabilities?
format=json
Get intersection analysis capability.
Remarks
The <ID> in the request URL refers to the channel No.
5.13 /ISAPI/System/capabilities
Get device capability.
21
Heat Map Application ISAPI User Manual
5.14 /ISAPI/System/Video/capabilities
Get device capability.
5.15 /ISAPI/System/Video/inputs/channels/<ID>/heatMap/capabilities
Get configuration capability of heat map statistics.
Remarks
The <ID> in the request URL refers to channel No.
5.16 /ISAPI/System/Video/inputs/channels/<ID>/heatMap
Operations about configuration of heat map statistics.
22
Heat Map Application ISAPI User Manual
Remarks
The <ID> in the request URL refers to channel No.
5.17 /ISAPI/System/Video/inputs/channels/<ID>/heatMap/pictureInfo
Get heat map picture information.
Remarks
The <ID> in the request URL refers to channel No.
23
Heat Map Application ISAPI User Manual
5.18 /ISAPI/System/Video/inputs/channels/<ID>/heatMap/picture
Get heat map picture.
Remarks
The <ID> in the request URL refers to channel No. The actual URL format is /ISAPI/System/Video/
inputs/channels/<ID>/heatMap/picture?starttime=&endtime=&statisticalModel=, e.g., "/ISAPI/
System/Video/inputs/channels/<ID>/heatMap/picture?
starttime=2014-01-11T11:00:00+08:00&endtime=2014-01-11T11:59:59+08:00&statisticalModel=d
uration".
5.19 /ISAPI/System/Video/inputs/channels/<ID>/heatMap/regions
Operations about multiple statistics regions' configuration of heat map.
24
Heat Map Application ISAPI User Manual
Failed: XML_ResponseStatus
Table 5-27 PUT /ISAPI/System/Video/inputs/channels/<ID>/heatMap/regions
Method PUT
Description Set multiple statistics regions for heat map.
Query None.
Request XML_HeatMapRegionList
Response XML_ResponseStatus
Table 5-28 POST /ISAPI/System/Video/inputs/channels/<ID>/heatMap/regions
Method POST
Description Add a statistics region for heat map.
Query None.
Request XML_HeatMapRegion
Response XML_ResponseStatus
Table 5-29 DELETE /ISAPI/System/Video/inputs/channels/<ID>/heatMap/regions
Method DELETE
Description Delete multiple statistics regions of heat map.
Query None.
Request None.
Response XML_ResponseStatus
Remarks
The <ID> in the request URL refers to channel No.
5.20 /ISAPI/System/Video/inputs/channels/<ID>/heatMap/regions/
<ID>
Operations about a statistics region configuration of heat map.
25
Heat Map Application ISAPI User Manual
Query None.
Request None.
Response Succeeded: XML_HeatMapRegion
Failed: XML_ResponseStatus
Table 5-31 PUT /ISAPI/System/Video/inputs/channels/<ID>/heatMap/regions/<ID>
Method GET
Description Set a statistics region for heat map.
Query None.
Request XML_HeatMapRegion
Response XML_ResponseStatus
Table 5-32 DELETE /ISAPI/System/Video/inputs/channels/<ID>/heatMap/regions/<ID>
Method GET
Description Delete a statistics region of heat map.
Query None.
Request None.
Response XML_ResponseStatus
Remarks
The first <ID> in the request URL refers to the channel No., and the second <ID> is the region ID.
5.21 /ISAPI/System/Video/inputs/channels/<ID>/heatMap/search
Search for heat map reports.
26
Heat Map Application ISAPI User Manual
Remarks
The <ID> in the request URL refers to the channel No.
5.22 /ISAPI/Event/capabilities
Get the device event capability set.
5.23 /ISAPI/Event/notification/alertStream
Get the uploaded heartbeat or alarm/event information.
Note
The messages here only show the format of alarm/event
information to be uploaded. For details, refer to the corresponding
alarm/event configuration chapters.
27
Heat Map Application ISAPI User Manual
Remarks
• After calling this URL, a persistent connection is set up between the device and the platform, and
the alarm or event information will be uploaded from device continuously once the alarm is
triggered or event occurred.
• You can check if the XML response message is the heartbeat information according to the nodes
<eventType> and <eventState>. If the values of these two node are "videoloss" and "inactive",
respectively, the returned message is the heartbeat information.
5.24 /ISAPI/Event/notification/httpHosts
Operations about configurations of all listening host servers.
28
Heat Map Application ISAPI User Manual
5.25 /ISAPI/Event/notification/httpHosts/<ID>/test
Detect whether the listening host server is working normally.
Remarks
The <ID> in the URL is the listening host server ID.
29
Heat Map Application ISAPI User Manual
5.26 /ISAPI/Event/notification/httpHosts/capabilities
Get the configuration capabilities of all listening host servers.
5.27 /ISAPI/Event/triggers
Get linkage actions of multiple alarms.
5.28 /ISAPI/Event/triggersCap
Get configuration capability of alarm linkage actions.
30
Heat Map Application ISAPI User Manual
Request None.
Response XML_EventTriggersCap
5.29 /ISAPI/Event/triggers/<ID>
Operations about linkage action configuration of an alarm.
Remarks
The <ID> in the request URL is defined as the No. of the alarm triggered channel. For example, if
the No. of the video input channel triggered by face capture alarm is 1, the <ID> is "faceSnap-1".
31
Heat Map Application ISAPI User Manual
5.30 http://ipAddress:portNo/url
Listening host sever sends alarm information to alarm center.
Remarks
The default port number in the URL is 80, so the URL without port number is also valid.
32
Heat Map Application ISAPI User Manual
6.1 JSON_EventNotificationAlert_HeatMapAlarmMsg
The heat map statistics results are uploaded in the JSON format of EventNotificationAler message.
{
"ipAddress": "",
"ipv6Address: "",
"portNo": ,
"protocol": "",
"macAddress": "",
"channelID": ,
"dateTime": "",
"activePostCount": ,
"eventType": "",
"eventState": "",
"eventDescription": "",
/*refer to the message JSON_EventNotificationAlert_Alarm/EventInfo for
description details of the above nodes*/
"channelName": "",
/*required, string type, camera name*/
"deviceID": "",
/*optional, string type, device ID, which must be uploaded when communicating
based on EHome protocol*/
"HeatMapValueStatistics":{
/*required, heat map statistics*/
"startTime":"",
/*required, string type, start time of statistics, which is in iOS_8601 time
format, e.g., 2018-04-24T16:56:43.000+08:00*/
"endTime":"",
/*required, string type, end time of statistics, which is in iOS_8601 time
format, e.g., 2018-04-24T16:56:43.000+08:00*/
"statisticsType":"",
/*required, string type, statistics type, "PDC"-by number of people, "DURATION"-
by stay duration, "INTERSECTION"-by number of people at intersection*/
"HeatMapValue":[{
/*required, structured heat map information list*/
"heatmapDataType":"",
/*optional, string type, heat map type: "PDC_stayNum"-heat map for people stay
duration, "PDC_leaveNum"-heat map for exited people, this node is valid only
when statisticsType is "PDC"*/
"maxHeatMapValue": ,
/*required, 4-byte integer type, maximum value in heat map*/
"minHeatMapValue": ,
33
Heat Map Application ISAPI User Manual
See Also
JSON_EventNotificationAlert_Alarm/EventInfo
Example
Example of Heat Map Alarm Message
34
Heat Map Application ISAPI User Manual
{
"ipAddress": "10.16.96.31",
"portNo": 80,
"protocol": "HTTP",
"macAddress": "18:68:cb:86:1c:5e",
"channelID": 1,
"dateTime": "2018-04-24T16:56:43.000+08:00",
"activePostCount": 1,
"eventType": "heatmap",
"eventState": "active",
"eventDescription": "HeatMap Value",
"channelName": "Channel Name",
"deviceID": "Device ID",
"HeatMapValueStatistics":{
"startTime":"2018-04-24T16:56:43.000+08:00",
"endTime":"2018-04-25T16:56:43.000+08:00",
"statisticsType":"PDC",
"HeatMapValue":[{
"heatmapDataType":"PDC_stayNum",
"maxHeatMapValue":,
"minHeatMapValue":,
"timeHeatMapValue":,
"lineValue":,
"columnValue":
},
{
"heatmapDataType":"PDC_leaveNum",
"maxHeatMapValue":,
"minHeatMapValue":,
"timeHeatMapValue":,
"lineValue":,
"columnValue":
}]
}
}
6.2 JSON_IntersectionAnalysisSearchCond
IntersectionAnalysisSearchCond message in JSON format
{
"searchID": "",
/*required, string type, search ID, which will not change if the conditions do
not change*/
"searchResultPosition": ,
/*required, integer32 type, the start position in the list of search results,
which is used to mark the search position when there are too many matched
results*/
"maxResultNumber": ,
/*required, integer32 type, maximum results can be searched for once*/
35
Heat Map Application ISAPI User Manual
"maxResults": ,
"reportType": "",
/*required, report type: "daily, weekly, monthly, yearly"*/
"startTime": "",
/*required, string type, statistics start time, which is in iOS_8601 time
format*/
"endTime": "",
/*required, string type, statistics end time, which is in iOS_8601 time format*/
"entranceID": "",
/*required, edge ID of statistics region*/
}
6.3 JSON_IntersectionAnalysisSearchResult
IntersectionAnalysisSearchResult message in JSON format
{
"responseStatusStrg": "",
/*required, string type, search status desciption: "OK"-search ended, "MORE"-
searching, "NO_MATCHES"-no data found*/
"numOfMatches": ,
/*required, integer32 type, number of matched results that returned for once*/
"totalMatches": ,
/*required, integer32 type, total number of matched results*/
"Data": [{
"startID": "",
/*required, start ID, which is returned by device*/
"endID": "",
/*required, end ID, which is returned by device*/
"PDC":
}]
}
6.4 JSON_IntersectionAnalysisCap
IntersectionAnalysisCap message in JSON format
{
"IntersectionAnalysisCap":{
"enabled":{
/*required, boolean type, whether to enable, "true,false"*/
"@opt": ["true", "false"]
},
"intersectionsNum":{
/*required, number of detection region edges*/
"@min": 3,
"@max": 10
},
"TagID":{
36
Heat Map Application ISAPI User Manual
"isSupportID":{
/*whether supports intersection ID's description tag, [A,Z]*/
"@opt": ["A", "B", "C", "D"]
},
"isSupportIDPoint": ,
/*whether supports intersection ID's coordinates tag*/
"isSupportIDDirection":
/*whether supports intersection ID's direction*/
},
"searchReportType":{
"@opt": ["daily", "weekly", "monthly", "yearly"]
}
}
}
6.5 JSON_IntersectionAnalysis
IntersectionAnalysis message in JSON format
{
"IntersectionAnalysis":{
"enabled": ,
/*required, boolean type, whether to enable, "true,false"*/
"Region": [{
/*detection region, the number of edges is between 3 and 10*/
"x": ,
/*required, float type, x-coordinate, which is between 0.000 and 1*/
"y":
/*required, float type, y-coordinate, which is between 0.000 and 1*/
}],
"TagID": [{
"ID": "",
/*tag ID, range: A,B,C,D,E,…,Z*/
"Point":{
/*displayed tag coordinates*/
"x": ,
/*required, float type, x-coordinate, which is between 0.000 and 1*/
"y":
/*required, float type, x-coordinate, which is between 0.000 and 1*/
},
"iconStartPoint":{
"x": ,
/*required, float type, x-coordinate, which is between 0.000 and 1*/
"y":
/*required, float type, x-coordinate, which is between 0.000 and 1*/
},
"iconEndPoint":{
"x": ,
/*required, float type, x-coordinate, which is between 0.000 and 1*/
"y":
37
Heat Map Application ISAPI User Manual
6.6 JSON_ResponseStatus
ResponseStatus message in JSON format.
{
"requestURL":"",
/*optional, string type, request URL*/
"statusCode": ,
/*required, integer type, status code*/
"statusString":"",
/*required, string type, status description*/
"subStatusCode":"",
/*required, string type, sub status code*/
"errorCode": ,
/*optional, integer type, error code, which corresponds to subStatusCode, this
field is required when statusCode is not 1*/
"errorMsg":"",
/*optional, string type, error details, this field is required when statusCode
is not 1*/
}
Note
See Error Codes in ResponseStatus for details about the status codes, sub status codes, error
codes, and error descriptions.
6.7 XML_Cap_HeatMap
HeatMap capability message in XML format
<HeatMap version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<enabled opt="true,false"><!--required, xs: boolean, whether to enable heat
map function--></enabled>
<normalizedScreenSize>
<normalizedScreenWidth>
<!--normalized width, for front-end device, it is 1000-->
</normalizedScreenWidth>
<normalizedScreenHeight>
<!--normalized height, for front-end device, it is 1000-->
</normalizedScreenHeight>
</normalizedScreenSize>
<sensitivityLevel min="1" max="100" default="50">
<!--opt, xs: integer, sensitivity level, which is between 1 and 100, and
38
Heat Map Application ISAPI User Manual
6.8 XML_ChannelEventCap
ChannelEventCap message in XML format
39
Heat Map Application ISAPI User Manual
Remarks
The node <eventType> can be set to the following values: VMD, motionDetection, shelteralarm,
tamperDetection, videoLoss, ROI, facedetection, faceDetection, intelliTrace, fielddetection,
fieldDetection, defocus, defocusDetection, audioexception, audioDetection,
scenechangedetection, sceneChangeDetection, linedetection, lineDetection, regionEntrance,
regionExiting, loitering, group, rapidMove, parking, unattendedBaggage, attendedBaggage,
peopleDetection, storageDetection, behavior, faceCapture, faceSnap, ANPR, vehicleDetection,
fireDetection, shipsDetection, PIR, targetCapture, humanRecognition, alarmResult, faceContrast,
framesPeopleCounting, hide, audioLoss, cameraAngleAnormaly, violentMotion, trial, humanEnter,
operateOverTime, stickUp, installScanner, faceDetect, temperature, temperatureDetection,
peopleCounting, personQueueDetection, heatmap, mixedTargetDetection, MTD_face,
MTD_human, MTD_vehicle, MTD_nonMotor, faceSnapModeling, HVTVehicleDetection,
PictureCaptureComparision, IO, smokeDetection, smokeAndFireDetection, diskfull, diskerror,
nicbroken, ipconflict, illaccess, personDensityDetection, AID, vehicleControl, vehicleRcogResult,
cardMatch, overSpeed, highTempAlarm, abnormalAcceleration, failDown, leavePosition,
peopleNumChange, retention, running, thermometry, heatmapPDC, heatmapDuration,
intersectionAnalysis, AID_abandonedObject, AID_pedestrian, AID_congestion, AID_roadBlock,
AID_construction, AID_trafficAccident, AID_fogDetection, TFS_illegalParking, TFS_wrongDirection,
TFS_crossLane, TFS_laneChange, TFS_vehicleExist, TFS_turnRound, TFS_parallelParking, TPS.
40
Heat Map Application ISAPI User Manual
41
Heat Map Application ISAPI User Manual
42
Heat Map Application ISAPI User Manual
43
Heat Map Application ISAPI User Manual
Note
The following event type values are updated to new version: VMD (motionDetection), Shelteralarm
(tamperDetection), facedetection (faceDetection), fielddetection (fieldDetection), defocus
(defocusDetection), audioexception (audioDetection), scenechangedetection
(sceneChangeDetection), linedetection (lineDetection), faceCapture (faceSnap), ANPR
(vehicleDetection), targetCapture (humanRecognition), alarmResult (faceContrast), and
temperature (temperatureDetection). The value in the bracket is the old version, and considering
the compatibility, both new and old value shoud be returned.
6.9 XML_DeviceCap
DeviceCap capability message in XML format
<DeviceCap version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<SysCap><!--optional-->
<isSupportDst><!--optional, xs: boolean, whether supports daylight saving
time--></isSupportDst>
<NetworkCap/><!--optional, xs: boolean, whether supports metadata display-->
<IOCap/><!--optional-->
<SerialCap/><!--optional-->
<VideoCap/><!--optional, see details in the message XML_VideoCap-->
<AudioCap/><!--optional-->
<isSupportExternalDevice><!--optional, xs:boolean--></
isSupportExternalDevice>
<isSupportChangedUpload>
<!--opt, xs: boolean, whether supports uploading status changes-->
</isSupportChangedUpload>
<isSupportSimpleDevStatus>
<!--opt, xs: boolean, whether supports getting device working status-->
</isSupportSimpleDevStatus>
<isSupportFlexible>
<!--opt, xs: boolean, whether supports getting channel status by
44
Heat Map Application ISAPI User Manual
condition-->
</isSupportFlexible>
<isSupportSubscribeEvent>
<!--optional, xs:boolean, "true,false", whether supports alarm or event
subscription-->
</isSupportSubscribeEvent>
<isSupportDiagnosedData>
<!--optional, xs:boolean, "true,false", whether supports diagnosis data-->
</isSupportDiagnosedData>
<isSupportTimeCap>
<!--opt, xs:boolean, corresponds to URL: /ISAPI/System/time/capabilities--
>
</isSupportTimeCap>
<isSupportPostUpdateFirmware>
<!--optional,xs:boolean,"true,false", whether supports upgrading the
firmware-->
</isSupportPostUpdateFirmware>
<isSupportPostConfigData>
<!--optional, xs:boolean,"true,false", whether supports importing or
exporting the configuration file-->
</isSupportPostConfigData>
<isSupportUserLock>
<!--optional, xs:boolean,"true,false", whether supports locking user-->
</isSupportUserLock>
<isSupportSoundCfg><!--optional, xs:boolean--></isSupportSoundCfg>
<isSupportMetadata>
<!--optional, xs:boolean, if it is supported, return "true", otherwise,
this node will not be returned-->
</isSupportMetadata>
</SysCap>
<voicetalkNums><!--optional, xs:integer--></voicetalkNums>
<isSupportSnapshot><!--optional, xs:boolean, "true, false"--></
isSupportSnapshot>
<SecurityCap/><!--optional-->
<EventCap/><!--optional-->
<ImageCap/><!--optional-->
<RacmCap/><!--optional-->
<SmartCap/><!--optional-->
<ThermalCap/><!--optional-->
<WLAlarmCap/><!--opt, wireless alarm capability-->
<SecurityCPCapabilities/><!--opt, whether supports security capability-->
<isSupportGIS>
<!--opt, xs:boolean, whether supports GIS capability-->
</isSupportGIS>
<isSupportCompass>
<!--opt, xs:boolean-->
</isSupportCompass>
<isSupportRoadInfoOverlays>
<!--opt, xs:boolean-->
</isSupportRoadInfoOverlays>
<isSupportFaceCaptureStatistics>
<!--opt, xs:boolean-->
45
Heat Map Application ISAPI User Manual
</isSupportFaceCaptureStatistics>
<isSupportElectronicsEnlarge>
<!--opt, xs:boolean, whether supports digital zoom-->
</isSupportElectronicsEnlarge>
<isSupportCloud>
<!--opt, xs:boolean-->
</isSupportCloud>
<isSupportRecordHost>
<!--opt, xs:boolean-->
</isSupportRecordHost>
<isSupportEagleEye>
<!--opt, xs:boolean, whether supports PanoVu series camera-->
</isSupportEagleEye>
<isSupportPanorama>
<!--opt, xs:boolean, whether supports panorama-->
</isSupportPanorama>
<isSupportFirmwareVersionInfo>
<!--opt, xs:boolean, whether supports displaying firmware version
information-->
</isSupportFirmwareVersionInfo>
<isSupportExternalWirelessServer>
<!--opt, xs: boolean-->
</isSupportExternalWirelessServer>
<isSupportSetupCalibration>
<!--opt, xs:boolean, whether supports setting calibration-->
</isSupportSetupCalibration>
<isSupportGetmutexFuncErrMsg>
<!--opt, xs:boolean, whether supports getting mutex information-->
</isSupportGetmutexFuncErrMsg>
<isSupportlaserSpotManual>
<!--opt, boolean, whether supports laser spot configuration-->
</isSupportlaserSpotManual>
<isSupportLaserSpotAdjustment>
<!--opt, boolean, whether supports adjusting laser spot size-->
</isSupportLaserSpotAdjustment>
<VideoIntercomCap/><!--optional, whether supports video intercom capability-->
<isSupportSafetyCabin>
<!--opt, xs:boolean-->
</isSupportSafetyCabin>
<isSupportPEA>
<!--opt, xs:boolean, whether supports one-touch security control panel
capability-->
</isSupportPEA>
<isSupportCurrentLock>
<!--opt, xs:boolean, whether supports locking current configuration-->
</isSupportCurrentLock>
<isSupportPicInfoOverlap>
<!--optional, xs:boolean, whether support picture information overlay-->
</isSupportPicInfoOverlap>
<isSupportPlay>
<!--opt, xs: boolean, whether supports live view: "true,false"-->
</isSupportPlay>
46
Heat Map Application ISAPI User Manual
<isSupportPlayback>
<!--opt, xs: boolean, whether supports playback: "true,false"-->
</isSupportPlayback>
<UHFRFIDReader>
<!--opt-->
<isSupportBasicInformation>
<!--opt, xs:boolean-->
</isSupportBasicInformation>
<isSupportHardDiskStorageTest>
<!--opt, xs:boolean-->
</isSupportHardDiskStorageTest>
</UHFRFIDReader>
<isSupportIntelligentStructureAnalysis>
<!--opt, xs:boolean, whether supports structured VCA-->
</isSupportIntelligentStructureAnalysis>
<isSupportIntelligentAnalysisEngines>
<!--opt, xs:boolean, whether supports VCA engine configuration-->
</isSupportIntelligentAnalysisEngines>
<isSupportChannelEventCap>
<!--opt, xs:boolean, whether supports getting event capability by channel-->
</isSupportChannelEventCap>
<isSupportSensorCalibrating>
<!--opt, xs:boolean, whether supports double sensor calibration capability--
>
</isSupportSensorCalibrating>
<isSupportChannelEventListCap>
<!--opt, xs:boolean, whether supports getting event capability of all
channels-->
</isSupportChannelEventListCap>
<VCAResourceChannelsCap>
<!--opt, whether supports independently switching to another VCA resource
by channel-->
<ChannelsList>
<channelsID>
<!--req, xs:integer, channel No. supported by the device-->
</channelsID>
</ChannelsList>
</VCAResourceChannelsCap>
<SensorCap/><!--optional-->
<isSupportSecurityCP/>
<!--optional, xs:boolean,"true, false", whether supports the applications
of security control panel-->
</isSupportSecurityCP>
<isSupportClientProxyWEB/>
<!--optional, xs:boolean, "true, false", whether supports web page jumping--
>
</isSupportClientProxyWEB>
<isSupportTime/>
<!--optional, xs:boolean, "true, false", whether supports time
configuration-->
</isSupportTime>
<isSupportTimeZone/>
47
Heat Map Application ISAPI User Manual
48
Heat Map Application ISAPI User Manual
</isSupportEncryption>
<AIDEventSupport opt="abandonedObject,
pedestrian,congestion,roadBlock,construction,trafficAccident,fogDetection">
<!--opt, xs:string, supported traffic incident type-->
</AIDEventSupport>
<TFSEventSupport
opt="illegalParking ,wrongDirection,crossLane,laneChange,vehicleExist,turnRound,
parallelParking">
<!--opt, xs:string, supported enforcement event type-->
</TFSEventSupport>
<isVehicleStatisticsSupport>
<!--opt, xs: boolean, whether supports setting parameters for traffic data
collection-->
</isVehicleStatisticsSupport>
<isSupportIntersectionAnalysis>
<!--opt, xs: boolean, whether supports intersection analysis-->
</isSupportIntersectionAnalysis>
<isSptDiagnosis>
<!--opt, xs:boolean, whether to support device diagnosis: "true", "false"-->
</isSptDiagnosis>
<isSptSerialLogCfg>
<!--opt, xs:boolean, whether to support configuring serial port log
redirection: "true", "false"-->
</isSptSerialLogCfg>
<isSptFileExport>
<!--opt, xs:boolean, whether to support exporting files from the device:
"true", "false"-->
</isSptFileExport>
<isSptCertificationStandard>
<!--opt, xs:boolean, whether to support configuring authentication standard
for security control panel: "true", "false"-->
</isSptCertificationStandard>
<isSptKeypadLock>
<!--opt, xs:boolean, whether to support locking keypad: "true", "false"-->
</isSptKeypadLock>
</DeviceCap>
6.10 XML_EventCap
EventCap capability message in XML format
<EventCap version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<isSupportHDFull><!--opt, xs:boolean, "true"-support, "false"-not support--></
isSupportHDFull>
<isSupportHDError><!--opt, xs:boolean, "true"-support, "false"-not support--
></isSupportHDError>
<isSupportNicBroken><!--opt, xs:boolean, "true"-support, "false"-not support--
></isSupportNicBroken>
<isSupportIpConflict><!--opt, xs:boolean, "true"-support, "false"-not
support--></isSupportIpConflict>
49
Heat Map Application ISAPI User Manual
50
Heat Map Application ISAPI User Manual
not support--></isSupportWhiteListFaceContrast>
<isSupportHumanRecognition>><!--opt, xs:boolean, "true"-support, "false"-not
support--></isSupportHumanRecognition>
<isSupportFaceSnap><!--opt, xs:boolean, "true"-support, "false"-not support--
></isSupportFaceSnap>
<isSupportPersonDensityDetection><!--opt, xs:boolean, "true"-support, "false"-
not support--></isSupportPersonDensityDetection>
<isSupportMixedTargetDetection><!--opt, xs:boolean, whether to support mixed-
target-type detection alarm: "true"-support, "false"-not support--></
isSupportMixedTargetDetection>
<isSupportPedestrian><!--opt, xs:boolean, whether to support pedestrian
detection: "true"-support, "false"-not support--></isSupportPedestrian>
<isSupportTrafficAccident><!--opt, xs:boolean, whether to support traffic
accident detection: "true"-support, "false"-not support--></
isSupportTrafficAccident>
<isSupportConstruction><!--opt, xs:boolean, whether to support construction
detection: "true"-support, "false"-not support--></isSupportConstruction>
<isSupportRoadBlock><!--opt, xs:boolean, whether to support roadblock
detection: "true"-support, "false"-not support--></isSupportRoadBlock>
<isSupportAbandonedObject><!--opt, xs:boolean, whether to support thrown
object detection: "true"-support, "false"-not support--></
isSupportAbandonedObject>
<isSupportParallelParking><!--opt, xs:boolean, whether to support parallel
parking detection: "true"-support, "false"-not support--></
isSupportParallelParking>
<isSupportParkingState><!--opt, xs:boolean, whether to support parking space
status detection: "true"-support, "false"-not support, currently this node is
not supported--></isSupportParkingState>
<isSupportCongestion><!--opt, xs:boolean, whether to support congestion
detection: "true"-support, "false"-not support--></isSupportCongestion>
<isSupportVehicleStatistics><!--opt, xs:boolean, whether to support data
collection: "true"-support, "false"-not support--></isSupportVehicleStatistics>
<isSupportWrongDirection><!--opt, xs:boolean, whether to support wrong-way
driving detection: "true"-support, "false"-not support--></
isSupportWrongDirection>
<isSupportTrunRound><!--opt, xs:boolean, whether to support U-turning
detection: "true"-support, "false"-not support--></isSupportTrunRound>
<isSupportCrossLane><!--opt, xs:boolean, whether to support driving on the
lane line detection: "true"-support, "false"-not support--></isSupportCrossLane>
<isSupportLaneChange><!--opt, xs:boolean, whether to support illegal lane
change detection: "true"-support, "false"-not support--></isSupportLaneChange>
<isSupportVehicleExist><!--opt, xs:boolean, whether to support motor vehicle
on non-motor vehicle lane detection: "true"-support, "false"-not support--></
isSupportVehicleExist>
<isSupporFogDetection><!--opt, xs:boolean, whether to support fog detection:
"true"-support, "false"-not support--></isSupporFogDetection>
<isSupportIntersectionAnalysis><!--opt, xs: boolean, whether supports
configuring intersection analysis alarm: "true"-support, "false"-not support--
></isSupportIntersectionAnalysis>
</EventCap>
51
Heat Map Application ISAPI User Manual
6.11 XML_EventTrigger
EventTrigger message in XML format
<EventTrigger version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<id><!--req, xs:string, ID--></id>
<eventType>
<!--req, xs:string, see details in the "Remarks" below-->
</eventType>
<eventDescription><!--opt, xs:string--></eventDescription>
<inputIOPortID><!--dep, xs:string, alarm input ID--></inputIOPortID>
<dynInputIOPortID><!--dep, xs:string, dynamic alarm input ID--></
dynInputPortID>
<videoInputChannelID>
<!--dep, xs:string, video input channel ID, it is valid when <eventType> is
"VMD, videoloss, tamperdetection, regionEntrance, regionExiting, loitering,
group, rapidMove, parking, unattendedBaggage, attendedBaggage"-->
</videoInputChannelID>
<dynVideoInputChannelID><!--dep, xs:string, dynamic video input channel ID--
></dynVideoInputChannelID>
<intervalBetweenEvents><!--opt, xs:integer, unit: second--></
intervalBetweenEvents>
<WLSensorID><!--dep, xs:string, ID--></WLSensorID>
<EventTriggerNotificationList/><!--opt, alarm/event linkage actions, see
details in the message of XML_EventTriggerNotificationList-->
</EventTrigger>
Remarks
The node <eventType> can be the following values: IO, VMD, videoloss, raidfailure,
recordingfailure, badvideo, POS, analytics, fanfailure, overheat, tamperdetection, diskfull, diskerror,
nicbroken, ipconflict, illaccess, videomismatch, resolutionmismatch, radifailure, PIR, WLSensor,
spareException, poePowerException, heatmap, counting, linedetection, fielddetection,
regionEntrance, regionExiting, loitering, group,rapidMove, parking, unattendedBaggage,
attendedBaggage, HUMANATTRIBUTE, blackList, whitelist, peopleDetection, allVehicleList,
otherVehicleList, vehicledetection, storageDetection, shipsDetection, humanAttribute,
faceContrast, blackListFaceContrast, whiteListFaceContrast, faceSnap, faceLib,
personQueueDetecton, mixedTargetDetection, HVTVehicleDetection, illegalParking, pedestrian,
trafficAccident, construction, roadblock, abandonedObject, parallelParking, parkingState,
congestion, intersectionAnalysis, heatMap.
See Also
XML_EventTriggerNotificationList
Example
EventTrigger Message Example of Face Picture Comparison Alarm (Front-End Device)
<EventTrigger version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>faceLib-1</id>
52
Heat Map Application ISAPI User Manual
<eventType>faceLib</eventType>
<eventDescription>faceLib Event trigger Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>center</id>
<notificationMethod>center</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
Example
EventTrigger Message Example of Face Picture Comparison Alarm (Rear-End Device)
<EventTrigger version="1.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>faceContrast-1</id>
<eventType>faceContrast</eventType>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>record-1</id>
<notificationMethod>record</notificationMethod>
<dynVideoInputID>1</dynVideoInputID>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
Example
EventTrigger Message Example of Mixed-Target-Type Detection
<?xml version="1.0" encoding="UTF-8"?>
<EventTrigger version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>mixedTargetDetection-1</id>
<eventType>mixedTargetDetection</eventType>
<eventDescription>Mixed-target-type detection</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>center</id>
<notificationMethod>center</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
Example
EventTrigger Message Example of Illegal Parking Detection
<EventTrigger version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>illegalParking-1</id>
53
Heat Map Application ISAPI User Manual
<eventType>illegalParking</eventType>
<eventDescription>illegalParking Event trigger Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>center</id>
<notificationMethod>center</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
6.12 XML_EventTriggerList
EventTriggerList message in XML format
<EventTriggerList version="2.0" xmlns="http://www.hikvision.com/ver20/
XMLSchema">
<EventTrigger/><!--opt, see details in the message of XML_EventTrigger-->
</EventTriggerList>
See Also
XML_EventTrigger
Example
XML_EventTriggerList Message Example of Linkage Configurations of Multiple Alarms
<EventTriggerList version="2.0" xmlns="http://www.hikvision.com/ver20/
XMLSchema">
<EventTrigger>
<id>VMD-1</id>
<eventType>VMD</eventType>
<eventDescription>VMD Event trigger Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList></EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>tamper-1</id>
<eventType>tamperdetection</eventType>
<eventDescription>shelteralarm Event trigger Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList></EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>diskfull</id>
<eventType>diskfull</eventType>
<eventDescription>exception Information</eventDescription>
54
Heat Map Application ISAPI User Manual
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList></EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>diskerror</id>
<eventType>diskerror</eventType>
<eventDescription>exception Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>beep</id>
<notificationMethod>beep</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>nicbroken</id>
<eventType>nicbroken</eventType>
<eventDescription>exception Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList></EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>ipconflict</id>
<eventType>ipconflict</eventType>
<eventDescription>exception Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList></EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>illaccess</id>
<eventType>illaccess</eventType>
<eventDescription>exception Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList></EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>videomismatch</id>
<eventType>videomismatch</eventType>
<eventDescription>exception Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>beep</id>
<notificationMethod>beep</notificationMethod>
55
Heat Map Application ISAPI User Manual
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>badvideo</id>
<eventType>badvideo</eventType>
<eventDescription>exception Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList></EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>storageDetection-1</id>
<eventType>storageDetection</eventType>
<eventDescription>storageDetection Event trigger Information</
eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList></EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>illegalParking-1</id>
<eventType>illegalParking</eventType>
<eventDescription>illegalParking Event trigger Information</
eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>center</id>
<notificationMethod>center</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>pedestrian-1</id>
<eventType>pedestrian</eventType>
<eventDescription>pedestrian Event trigger Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>center</id>
<notificationMethod>center</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>trafficAccident-1</id>
56
Heat Map Application ISAPI User Manual
<eventType>trafficAccident</eventType>
<eventDescription>trafficAccident Event trigger Information</
eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>center</id>
<notificationMethod>center</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>construction-1</id>
<eventType>construction</eventType>
<eventDescription>construction Event trigger Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>center</id>
<notificationMethod>center</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>roadBlock-1</id>
<eventType>roadBlock</eventType>
<eventDescription>roadBlock Event trigger Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>center</id>
<notificationMethod>center</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>abandonedObject-1</id>
<eventType>abandonedObject</eventType>
<eventDescription>abandonedObject Event trigger Information</
eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>center</id>
<notificationMethod>center</notificationMethod>
57
Heat Map Application ISAPI User Manual
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>parallelParking-1</id>
<eventType>parallelParking</eventType>
<eventDescription>parallelParking Event trigger Information</
eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>center</id>
<notificationMethod>center</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>trafficJam-1</id>
<eventType>trafficJam</eventType>
<eventDescription>trafficJam Event trigger Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>center</id>
<notificationMethod>center</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
</EventTriggerList>
6.13 XML_EventTriggerNotification
EventTriggerNotification message in XML format
<EventTriggerNotification><!--opt-->
<id><!--req, xs:string, device ID--></id>
<notificationMethod>
<!--req, xs:string, linkage actions,
opt="email,IM,IO,syslog,HTTP,FTP,beep,ptz,record, monitorAlarm, center,
LightAudioAlarm,focus,trace,cloud,SMS,whiteLight,…"-->
</notificationMethod>
<notificationRecurrence>
<!--opt, xs:string, "beginning,beginningandend,recurring"-->
</notificationRecurrence>
<notificationInterval><!--dep, xs:integer, unit: millisecond--></
58
Heat Map Application ISAPI User Manual
notificationInterval>
<outputIOPortID><!--dep, xs:string, video output No., it is required only
when notificationMethod is "IO"--></outputIOPortID>
<dynOutputIOPortID><!--dep, xs:string, dynamic video output No., it is
required only when notificationMethod is "IO"--></dynOutputIOPortID>
<videoInputID><!--dep, xs:string, video input No., it is required only when
notificationMethod is "record"--></videoInputID>
<dynVideoInputID><!--dep, xs:string, dynamic video input No., it is required
only when notificationMethod is "record"--></dynVideoInputID>
<ptzAction><!--dep, it is required only when notificationMethod is "ptz"-->
<ptzChannelID><!--req, xs:string, PTZ channel ID--></ptzChannelID>
<actionName><!--req, xs:string, PTZ control type: "preset", "pattern",
"patrol"--></actionName>
<actionNum><!--dep, xs:integer></actionNum>
</ptzAction>
</EventTriggerNotification>
6.14 XML_EventTriggerNotificationList
EventTriggerNotificationList message in XML format
<EventTriggerNotificationList version="2.0" xmlns="http://www.isapi.org/ver20/
XMLSchema">
<EventTriggerNotification/><!--opt, see details in the message of
XML_EventTriggerNotification-->
</EventTriggerNotificationList>
See Also
XML_EventTriggerNotification
6.15 XML_HeatMap
HeatMap message in XML format
<HeatMap version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<enabled>
<!--required, xs: boolean, whether to enable heat map function,
"true,false"-->
</enabled>
<normalizedScreenSize>
<normalizedScreenWidth><!--normalized width, for front-end device, it is
1000--></normalizedScreenWidth>
<normalizedScreenHeight><!--normalized height, for front-end device, it is
1000--></normalizedScreenHeight>
</normalizedScreenSize>
<sensitivityLevel>
<!--opt, xs: integer, sensitivity level, which is between 1 and 100, and
the default value is 50-->
59
Heat Map Application ISAPI User Manual
</sensitivityLevel>
<backgroundUpdateRate>
<!--opt, xs: integer, background updating speed, which is between 1 and
100, and the default value is 50-->
</backgroundUpdateRate>
<sceneChangeLevel>
<!--opt, xs: integer, scene change level, which is between 1 and 100, and
the default value is 50-->
</sceneChangeLevel>
<targetTracking>
<!--opt, xs: boolean, whether to enable target tracking function, "true,
false"-->
</targetTracking>
<minObjectSize>
<!--opt, xs: integer, minimum target size, which is between 1 and 100, and
the default value is 50-->
</minObjectSize>
<HeatMapRegionList><!--statistics region list of heat map-->
<HeatMapRegion>
<id><!--required, region ID--></id>
<RegionCoordinatesList>
<RegionCoordinates><!--req-->
<positionX><!--req, xs: integer; x-coordinate--></positionX>
<positionY><!--req, xs: integer; y-coordinate--></positionY>
</RegionCoordinates>
</RegionCoordinatesList>
<FilterSize><!--opt, filter size-->
<MaxTargetRect><!--opt, maximum target frame-->
<height><!--req, float,height--></height>
<width><!--req, float,width--></width>
<x><!--req, float, x-coordinate of upper-left vertex--></x>
<y><!--req, float, y-coordinate of upper-left vertex--></y>
</MaxTargetRect>
<MinTargetRect><!--opt, minimum target frame-->
<height><!--req, float, height--></height>
<width><!--req, float, width--></width>
<x><!--req, float, x-coordinate of upper-left vertex--></x>
<y><!--req,float, y-coordinate of upper-left vertex--></y>
</MinTargetRect>
</FilterSize>
</HeatMapRegion>
</HeatMapRegionList>
<confidence>
<!--opt, xs: float, whether supports target confidence, and the supported
value range: [0.00,100.00]-->
</confidence>
<uploadHeatMapResultType>
<!--opt, xs: string, heat map alarm type, "normal,durationAndPDC"-->
<uploadHeatMapResultType>
</HeatMap>
60
Heat Map Application ISAPI User Manual
6.16 XML_InputScheduleList
InputScheduleList message in XML format
<InputScheduleList version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<Schedule/><!--opt, see details in the message XML_Schedule-->
</InputScheduleList>
See Also
XML_Schedule
6.17 XML_IntelliCap
IntelliCap message in XML format
<IntelliCap version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<isFaceSupport><!--whether support face detection--></isFaceSupport>
<isBehaviorSupport><!--whether support behavior analysis--></
isBehaviorSupport>
<isLineDetectionSupport><!--whether support line crossing detection--></
isLineDetectionSupport>
<isFieldDetectionSupport><!--whether support intrusion detection--></
isFieldDetectionSupport>
<isRegionEntranceSupport><!--whether support region entrance detection--></
isRegionEntranceSupport>
<isRegionExitingSupport><!--whether support region exiting detection--></
isRegionExitingSupport>
<isLoiteringSupport><!--whether support loitering detection--></
isLoiteringSupport>
<isGroupSupport><!--whether support people gathering detection--></
isGroupSupport>
<isRapidMoveSupport><!--whether support fast moving detection--></
isRapidMoveSupport>
<isParkingSupport><!--whether support parking detection--></isParkingSupport>
<isUnattendedBaggageSupport><!--whether support unattended baggage detection--
></isUnattendedBaggageSupport>
<isAttendedBaggageSupport><!--whether support object removal detection--></
isAttendedBaggageSupport>
<isTeacherSupport><!--whether support teacher's behavior detection--></
isTeacherSupport>
<isStudentSupport><!--whether support student's behavior detection--></
isStudentSupport>
<isCombinedSupport><!--whether support combined detection--></
isCombinedSupport>
<isTrafficSupport><!--whether support traffic detection--></isTrafficSupport>
<isFaceCaptureStatisticsSupport><!--whether support face picture statistics--
></isFaceCaptureStatisticsSupport>
<isSupportPersonQueueDetection><!--whether support queue management--></
61
Heat Map Application ISAPI User Manual
isSupportPersonQueueDetection>
<isSupportIntersectionAnalysis>
<!--opt, xs: boolean, whether supports intersection analysis-->
</isSupportIntersectionAnalysis>
</IntelliCap>
6.18 XML_Schedule
Schedule message in XML format
<Schedule version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<id><!--req, xs:string, ID--></id>
<eventType>
<!--opt, xs:string, alarm/event types, see details in the "Remarks" below-->
</eventType>
<inputIOPortID><!--ro, dep, xs:string, alarm input No.--></inputIOPortID>
<outputIOPortID><!--ro, dep, xs:string, alarm output No.--></inputIOPortID>
<videoInputChannelID><!--ro, dep, xs:string, video input channel ID--></
videoInputChannelID>
<TimeBlockList size="8"><!--req-->
<TimeBlock>
<dayOfWeek>
<!--opt, xs:integer, day of the week based on ISO8601, "1"=Monday, ...--
>
</dayOfWeek>
<TimeRange><!--req-->
<beginTime><!--req, xs:time, ISO8601 time--></beginTime>
<endTime><!--req, xs:time, ISO8601 time--></endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
<HolidayBlockList><!--opt-->
<TimeBlock>
<TimeRange><!--req-->
<beginTime><!--req, xs:time, ISO8601 time--></beginTime>
<endTime><!--req, xs:time, ISO8601 time--></endTime>
</TimeRange>
</TimeBlock>
</HolidayBlockList>
</Schedule>
Remarks
The node <eventType> can be set to the following values: IO, VMD,videoloss, PIR,linedetection,
fielddetection, audioexception, facedetection, regionEntrance, regionExiting, loitering,group,
rapidMove, parking, unattendedBaggage,attendedBaggage, storageDetection, shipsDetection,
HUMANATTRIBUTE, humanAttribute, faceContrast, faceSnap, faceLib, whiteListFaceContrast,
personDensityDetection, mixedTargetDetection, fireDetection, illegalParking, pedestrian,
62
Heat Map Application ISAPI User Manual
63
Heat Map Application ISAPI User Manual
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
Example
Schedule Message Example of Face Picture Comparison Alarm (Rear-End Device)
<Schedule version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>faceContrast-1</id>
<eventType>faceContrast</eventType>
<videoInputChannelID>1</videoInputChannelID>
<TimeBlockList size="8">
<TimeBlock>
<dayOfWeek>1</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>2</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>3</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>4</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>5</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
64
Heat Map Application ISAPI User Manual
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>6</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
Example
Schedule Message Example of Stranger Detection Alarm (Rear-End Device)
<Schedule version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>whiteListFaceContrast-1</id>
<eventType>whiteListFaceContrast</eventType>
<videoInputChannelID>1</videoInputChannelID>
<TimeBlockList size="8">
<TimeBlock>
<dayOfWeek>1</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>2</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>3</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>4</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
65
Heat Map Application ISAPI User Manual
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>5</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>6</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
Example
Schedule Message Example of Mixed-Target-Type Detection Alarm
<?xml version="1.0" encoding="UTF-8"?>
<Schedule version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>mixedTargetDetection-2</id>
<eventType>mixedTargetDetection</eventType>
<videoInputChannelID>2</videoInputChannelID>
<TimeBlockList size="8" >
<TimeBlock>
<dayOfWeek>1</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>2</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>3</dayOfWeek>
66
Heat Map Application ISAPI User Manual
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>4</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>5</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>6</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
Example
XML_Schedule Message Example of Arming Schedule for Illegal Parking Detection
<Schedule version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>illegalParking-1</id>
<eventType>illegalParking</eventType>
<videoInputChannelID>1</videoInputChannelID>
<TimeBlockList size="8" >
<TimeBlock>
<dayOfWeek>1</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
67
Heat Map Application ISAPI User Manual
<dayOfWeek>2</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>3</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>4</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>5</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>6</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
Example
XML_Schedule Message Example of Arming Schedule for Pedestrian Detection
<Schedule version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>pedestrian-1</id>
<eventType>pedestrian</eventType>
<videoInputChannelID>1</videoInputChannelID>
<TimeBlockList size="8" >
68
Heat Map Application ISAPI User Manual
<TimeBlock>
<dayOfWeek>1</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>2</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>3</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>4</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>5</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>6</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
69
Heat Map Application ISAPI User Manual
Example
XML_Schedule Message Example of Arming Schedule for Traffic Accident Detection
<Schedule version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>trafficAccident-1</id>
<eventType>trafficAccident</eventType>
<videoInputChannelID>1</videoInputChannelID>
<TimeBlockList size="8" >
<TimeBlock>
<dayOfWeek>1</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>2</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>3</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>4</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>5</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>6</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
70
Heat Map Application ISAPI User Manual
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
Example
XML_Schedule Message Example of Arming Schedule for Construction Detection
<Schedule version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>construction-1</id>
<eventType>construction</eventType>
<videoInputChannelID>1</videoInputChannelID>
<TimeBlockList size="8" >
<TimeBlock>
<dayOfWeek>1</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>2</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>3</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>4</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>5</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
71
Heat Map Application ISAPI User Manual
<dayOfWeek>6</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
Example
XML_Schedule Message Example of Arming Schedule for Roadblock Detection
<Schedule version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>roadBlock-1</id>
<eventType>roadBlock</eventType>
<videoInputChannelID>1</videoInputChannelID>
<TimeBlockList size="8" >
<TimeBlock>
<dayOfWeek>1</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>2</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>3</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>4</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
72
Heat Map Application ISAPI User Manual
<TimeBlock>
<dayOfWeek>5</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>6</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
Example
XML_Schedule Message Example of Arming Schedule for Thrown Object Detection
<Schedule version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>abandonedObject-1</id>
<eventType>abandonedObject</eventType>
<videoInputChannelID>1</videoInputChannelID>
<TimeBlockList size="8" >
<TimeBlock>
<dayOfWeek>1</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>2</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>3</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
73
Heat Map Application ISAPI User Manual
</TimeBlock>
<TimeBlock>
<dayOfWeek>4</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>5</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>6</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
Example
XML_Schedule Message Example of Arming Schedule for Congestion Detection
<Schedule version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>congestion-1</id>
<eventType>congestion</eventType>
<videoInputChannelID>1</videoInputChannelID>
<TimeBlockList size="8" >
<TimeBlock>
<dayOfWeek>1</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>2</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
74
Heat Map Application ISAPI User Manual
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>3</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>4</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>5</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>6</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
Example
XML_Schedule Message Example of Arming Schedule for Fog Detection
<Schedule version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>fogDetection-1</id>
<eventType>fogDetection</eventType>
<videoInputChannelID>1</videoInputChannelID>
<TimeBlockList size="8" >
<TimeBlock>
<dayOfWeek>1</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
75
Heat Map Application ISAPI User Manual
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>2</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>3</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>4</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>5</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>6</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
Example
XML_Schedule Message Example of Arming Schedule for Traffic Data Collection
76
Heat Map Application ISAPI User Manual
77
Heat Map Application ISAPI User Manual
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
6.19 XML_VideoCap
VideoCap message in XML format
<VideoCap version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<videoInputPortNums><!--opt, xs: integer--><videoInputPortNums>
<videoOutputPortNums><!--opt, xs: integer--><videoOutputPortNums>
<isSupportHeatmap><!--opt, xs: boolean, whether supports heat map function--
></isSupportHeatmap>
<isSupportCounting><!--opt, xs: boolean--></isSupportCounting>
<countingType><!--dep, xs: string, "human,object"--></countingType>
<isSupportPreviewSwitch><!--opt, xs: boolean--></isSupportPreviewSwitch>
<isSupportRecodStatus>
<!--opt, xs: boolean, whether supports getting recording status-->
</isSupportRecodStatus>
<isSupportPrivacyMask>
<!--opt, xs: boolean, whether supports priavte mask function-->
</isSupportPrivacyMask>
<isSupportBinocularPreviewSwitch>
<!--opt, xs: boolean, whether supports auto-switch during the live view
of dual lens camera-->
</isSupportBinocularPreviewSwitch>
<isSupportCalibCheck>
<!--opt, xs: boolean, whether supports calibration verification-->
</isSupportCalibCheck>
<isSupportPIP><!--opt, xs: boolean, "true, false"--></isSupportPIP>
<channelFlexible opt ="name,enable,online,linknum">
<!--capability of getting channel status by condition-->
</channelFlexible >
<isSupportFocusVideoMode>
<!--opt, xs: boolean, video focus mode for installation and debug-->
</isSupportFocusVideoMode>
<isSupportExternalChannel>
<!--opt, xs: boolean, whether supports extending analog channel-->
</isSupportExternalChannel>
<isSupportMultiChannelCounting>
<!--opt, xs: boolean, whether supports people counting of multiple
channels-->
</isSupportMultiChannelCounting>
<isSupportCountingCollection>
<!--opt, xs:boolean, whether supports people counting data replenishment-->
</isSupportCountingCollection>
<isSupportHeatmapCollection>
<!--opt, xs:boolean, whether supports heat map data replenishment-->
</isSupportHeatmapCollection>
78
Heat Map Application ISAPI User Manual
6.20 XML_HeatMapPicInfo
HeatMapPicInfo message in XML format
<HeatMapPicInfo version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<MaxValue>
<!--opt, xs: integer, maximum value in heat map, which is between 0 and
365*24*60*60-->
</MaxValue>
<MinValue>
<!--opt, xs: integer, minimum value in heat map, which is between 0 and
365*24*60*60-->
</MinValue>
</HeatMapPicInfo>
6.21 XML_HeatMapRegionList
HeatMapRegionList message in XML format
<HeatMapRegionList version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<HeatMapRegion/><!--opt, refer to the message XML_HeatMapRegion for details--
>
</HeatMapRegionList>
See Also
XML_HeatMapRegion
6.22 XML_HeatMapRegion
HeatMapRegion message in XML format
<HeatMapRegion version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<id><!--req, xs: integer--></id>
<sensitivityLevel>
<!--req, xs: integer, sensitivity, which is between 1 and 100, the default
value is 50-->
</sensitivityLevel>
<backgroundUpdateRate>
<!--opt, xs: integer, background updating speed, which is between 1 and
100, the default value is 50-->
</backgroundUpdateRate>
<sceneChangeLevel>
<!--opt, xs: integer, scene change level, which is between 1 and 100, the
79
Heat Map Application ISAPI User Manual
6.23 XML_HeatMapDataResult
HeatMapDataResult message in XML format
<HeatMapDataResult version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<responseStatus><!--req, xs: boolean--></responseStatus>
<responseStatusStrg>
<!--req, xs: string, "NO MATCHES"-no matched, "MORE"-searching, "OK"-search
ended-->
</responseStatusStrg>
<numOfMatches><!--req, xs: integer, number of search results--></numOfMatches>
<matchList> <!--opt-->
<matchElement><!--opt-->
<timeSpan><!--opt, search time period-->
<startTime><!--req, xs: ISO8601 time--></startTime>
<endTime><!--req, xs: ISO8601 time--></endTime>
</timeSpan>
<value><!--req, xs: integer, target activate time duration--> </value>
</matchElement>
</matchList>
</HeatMapDataResult>
6.24 XML_HeatMapDataDescription
HeatMapDataDescription message in XML format
<HeatMapDataDescription version="2.0" xmlns="http://www.isapi.org/ver20/
XMLSchema">
<reportType>
<!--req, xs: string, report type: "daily", "weekly", "monthly", "yearly"-
annual report-->
</reportType>
<timeSpanList><!--search time period, time format: IOS8601-->
80
Heat Map Application ISAPI User Manual
<timeSpan>
<startTime><!--req, xs: ISO8601 time--></startTime>
<endTIme><!-- req, xs: ISO8601 time --></endTime>
<timeSpan>
</timeSpanList>
<statisticalModel>
<!--opt, xs: string, statistics type, "duration"-stay duration statistics
(default), "PDC"-people counting statistics-->
</statisticalModel>
</HeatMapDataDescription>
6.25 XML_ResponseStatus
ResponseStatus message in XML format
<ResponseStatus version="2.0" xmlns="http://www.std-cgi.org/ver20/XMLSchema">
<requestURL>
<!--req, ro, xs:string, request URL-->
</requestURL>
<statusCode>
<!--req, ro, xs:integer, status code: 0,1-OK, 2-Device Busy, 3-Device
Error, 4-Invalid Operation, 5-Invalid XML Format, 6-Invalid XML Content, 7-
Reboot Required-->
</statusCode>
<statusString>
<!--req, ro, xs:string, status description: OK, Device Busy, Device Error,
Invalid Operation, Invalid XML Format, Invalid XML Content, Reboot-->
</statusString>
<subStatusCode>
<!--req, ro, xs:string, describe the error reason in detail-->
</subStatusCode>
</ResponseStatus>
Note
See Error Codes in ResponseStatus for details about sub status codes and corresponding error
codes.
6.26 JSON_EventNotificationAlert_Alarm/EventInfo
EventNotificationAlert message with alarm or event information in JSON format.
{
"ipAddress": "",
/*required, device IPv4 address , string, the maximum size is 32 bytes*/
"ipv6Address": "",
/*optional, device IPv6 address, string, the maximum size is 128 bytes*/
"portNo": ,
/*optional, device port No., integer32*/
81
Heat Map Application ISAPI User Manual
"protocol": "",
/*optional, protocol type, "HTTP, HTTPS", string, the maximum size is 32 bytes*/
"macAddress": "",
/*optional, MAC address, string, the maximum size is 32 bytes, e.g.,
01:17:24:45:D9:F4*/
"channelID": "",
/*optional, device channel No., integer32*/
"dateTime": "",
/*optional, string, alarm/event triggered or occurred time based on ISO8601,
the maximum size is 32 bytes, e.g., 2009-11-14T15:27Z*/
"activePostCount": "",
/*required, alarm/event frequency, integer32*/
"eventType": "",
/*required, alarm/event type, "captureResult, faceCapture,...", string, the
maximum size is 128 bytes*/
"eventState": "",
/*required, string, the maximum size is 32 bytes, durative alarm/event status:
"active"-valid, "inactive"-invalid*/
"eventDescription": "",
/*required, event description, string, the maximum size is 128 bytes*/
"deviceID":"",
/*string type, device ID*/
"uuid":"",
/*string type, event UUID, which is used to uniquely identify an event, the
standard UUID format is xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx*/
... /*optional, for different alarm/event types, the nodes are different,
see the message examples in different applications*/
}
6.27 XML_EventCap
EventCap capability message in XML format
<EventCap version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<isSupportHDFull><!--opt, xs:boolean, "true"-support, "false"-not support--></
isSupportHDFull>
<isSupportHDError><!--opt, xs:boolean, "true"-support, "false"-not support--
></isSupportHDError>
<isSupportNicBroken><!--opt, xs:boolean, "true"-support, "false"-not support--
></isSupportNicBroken>
<isSupportIpConflict><!--opt, xs:boolean, "true"-support, "false"-not
support--></isSupportIpConflict>
<isSupportIllAccess><!--opt, xs:boolean, "true"-support, "false"-not support--
></isSupportIllAccess>
<isSupportViException><!--opt, xs:boolean, "true"-support, "false"-not
support--></isSupportViException>
<isSupportViMismatch><!--opt, xs:boolean, "true"-support, "false"-not
support--></isSupportViMismatch>
<isSupportRecordException><!--opt, xs:boolean, "true"-support, "false"-not
support--></isSupportRecordException>
82
Heat Map Application ISAPI User Manual
83
Heat Map Application ISAPI User Manual
6.28 XML_EventNotificationAlert_AlarmEventInfo
EventNotificationAlert message with alarm/event information in XML format.
<EventNotificationAlert version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<ipAddress><!--dep, xs:string, device IPv4 address--></ipAddress> <ipv6Address><!--dep, xs:string,
device IPv6 address--></ipv6Address> <portNo><!--opt, xs:integer, device port number--></
84
Heat Map Application ISAPI User Manual
6.29 XML_EventNotificationAlert_HeartbeatInfo
EventNotificationAlert message with heartbeat information (when there is no alarm is triggered) in
XML format
<EventNotificationAlert version="2.0" xmlns="http://www.isapi.org/ver20/
XMLSchema">
<ipv6Address><!--dep, xs:string, device IPv6 address--></ipv6Address>
<portNo><!--opt, xs:integer, device port number--></portNo>
<protocol><!--opt, xs:string, protocol type for uploading alarm/event
information, "HTTP,HTTPS"--></protocol>
<macAddress><!--opt, xs:string, MAC address--></macAddress>
<channelID><!--dep, xs:string, device channel No., starts from 1--></
channelID>
<dateTime><!--req, heartbeat uploaded time, format:
2017-07-19T10:06:41+08:00--></dateTime>
<activePostCount><!--req, xs:integer, heartbeat frequency, starts from 1--></
activePostCount>
<eventType><!--req, xs:string, for heartbeat, it is "videoloss"--></eventType>
<eventState>
<!--req, xs:string, for heartbeat, it is "inactive"-->
</eventState>
<eventDescription><!--req, xs: string, description--></eventDescription>
</EventNotificationAlert>
Remarks
• For network camera or network speed dome with the version 5.5.0 and lower, the heartbeat
frequency is 300 ms per heartbeat.
• For network camera or network speed dome with the version 5.5.0 and higher, the heartbeat
frequency is 10 s per heartbeat. If no heartbeat received for continuous 30 s, it indicates that the
heartbeat is timed out.
Example
Message Example of Heartbeat
85
Heat Map Application ISAPI User Manual
6.30 XML_EventTrigger
EventTrigger message in XML format
<EventTrigger version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<id><!--req, xs:string, ID--></id>
<eventType>
<!--req, xs:string, see details in the "Remarks" below-->
</eventType>
<eventDescription><!--opt, xs:string--></eventDescription>
<inputIOPortID><!--dep, xs:string, alarm input ID--></inputIOPortID>
<dynInputIOPortID><!--dep, xs:string, dynamic alarm input ID--></
dynInputPortID>
<videoInputChannelID>
<!--dep, xs:string, video input channel ID, it is valid when <eventType> is
"VMD, videoloss, tamperdetection, regionEntrance, regionExiting, loitering,
group, rapidMove, parking, unattendedBaggage, attendedBaggage"-->
</videoInputChannelID>
<dynVideoInputChannelID><!--dep, xs:string, dynamic video input channel ID--
></dynVideoInputChannelID>
<intervalBetweenEvents><!--opt, xs:integer, unit: second--></
intervalBetweenEvents>
<WLSensorID><!--dep, xs:string, ID--></WLSensorID>
<EventTriggerNotificationList/><!--opt, alarm/event linkage actions, see
details in the message of XML_EventTriggerNotificationList-->
</EventTrigger>
Remarks
The node <eventType> can be the following values: IO, VMD, videoloss, raidfailure,
recordingfailure, badvideo, POS, analytics, fanfailure, overheat, tamperdetection, diskfull, diskerror,
nicbroken, ipconflict, illaccess, videomismatch, resolutionmismatch, radifailure, PIR, WLSensor,
spareException, poePowerException, heatmap, counting, linedetection, fielddetection,
regionEntrance, regionExiting, loitering, group,rapidMove, parking, unattendedBaggage,
attendedBaggage, HUMANATTRIBUTE, blackList, whitelist, peopleDetection, allVehicleList,
86
Heat Map Application ISAPI User Manual
Example
EventTrigger Message Example of Face Picture Comparison Alarm (Rear-End Device)
<EventTrigger version="1.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>faceContrast-1</id>
<eventType>faceContrast</eventType>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>record-1</id>
<notificationMethod>record</notificationMethod>
<dynVideoInputID>1</dynVideoInputID>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
Example
EventTrigger Message Example of Mixed-Target-Type Detection
<?xml version="1.0" encoding="UTF-8"?>
<EventTrigger version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>mixedTargetDetection-1</id>
<eventType>mixedTargetDetection</eventType>
<eventDescription>Mixed-target-type detection</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
87
Heat Map Application ISAPI User Manual
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>center</id>
<notificationMethod>center</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
Example
EventTrigger Message Example of Illegal Parking Detection
<EventTrigger version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>illegalParking-1</id>
<eventType>illegalParking</eventType>
<eventDescription>illegalParking Event trigger Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>center</id>
<notificationMethod>center</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
6.31 XML_EventTriggerList
EventTriggerList message in XML format
<EventTriggerList version="2.0" xmlns="http://www.hikvision.com/ver20/
XMLSchema">
<EventTrigger/><!--opt, see details in the message of XML_EventTrigger-->
</EventTriggerList>
See Also
XML_EventTrigger
Example
XML_EventTriggerList Message Example of Linkage Configurations of Multiple Alarms
<EventTriggerList version="2.0" xmlns="http://www.hikvision.com/ver20/
XMLSchema">
<EventTrigger>
<id>VMD-1</id>
<eventType>VMD</eventType>
<eventDescription>VMD Event trigger Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
88
Heat Map Application ISAPI User Manual
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList></EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>tamper-1</id>
<eventType>tamperdetection</eventType>
<eventDescription>shelteralarm Event trigger Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList></EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>diskfull</id>
<eventType>diskfull</eventType>
<eventDescription>exception Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList></EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>diskerror</id>
<eventType>diskerror</eventType>
<eventDescription>exception Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>beep</id>
<notificationMethod>beep</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>nicbroken</id>
<eventType>nicbroken</eventType>
<eventDescription>exception Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList></EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>ipconflict</id>
<eventType>ipconflict</eventType>
<eventDescription>exception Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList></EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>illaccess</id>
<eventType>illaccess</eventType>
89
Heat Map Application ISAPI User Manual
<eventDescription>exception Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList></EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>videomismatch</id>
<eventType>videomismatch</eventType>
<eventDescription>exception Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>beep</id>
<notificationMethod>beep</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>badvideo</id>
<eventType>badvideo</eventType>
<eventDescription>exception Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList></EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>storageDetection-1</id>
<eventType>storageDetection</eventType>
<eventDescription>storageDetection Event trigger Information</
eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList></EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>illegalParking-1</id>
<eventType>illegalParking</eventType>
<eventDescription>illegalParking Event trigger Information</
eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>center</id>
<notificationMethod>center</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
90
Heat Map Application ISAPI User Manual
<id>pedestrian-1</id>
<eventType>pedestrian</eventType>
<eventDescription>pedestrian Event trigger Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>center</id>
<notificationMethod>center</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>trafficAccident-1</id>
<eventType>trafficAccident</eventType>
<eventDescription>trafficAccident Event trigger Information</
eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>center</id>
<notificationMethod>center</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>construction-1</id>
<eventType>construction</eventType>
<eventDescription>construction Event trigger Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>center</id>
<notificationMethod>center</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>roadBlock-1</id>
<eventType>roadBlock</eventType>
<eventDescription>roadBlock Event trigger Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>center</id>
<notificationMethod>center</notificationMethod>
91
Heat Map Application ISAPI User Manual
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>abandonedObject-1</id>
<eventType>abandonedObject</eventType>
<eventDescription>abandonedObject Event trigger Information</
eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>center</id>
<notificationMethod>center</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>parallelParking-1</id>
<eventType>parallelParking</eventType>
<eventDescription>parallelParking Event trigger Information</
eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>center</id>
<notificationMethod>center</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
<EventTrigger>
<id>trafficJam-1</id>
<eventType>trafficJam</eventType>
<eventDescription>trafficJam Event trigger Information</eventDescription>
<videoInputChannelID>1</videoInputChannelID>
<dynVideoInputChannelID>1</dynVideoInputChannelID>
<EventTriggerNotificationList>
<EventTriggerNotification>
<id>center</id>
<notificationMethod>center</notificationMethod>
<notificationRecurrence>beginning</notificationRecurrence>
</EventTriggerNotification>
</EventTriggerNotificationList>
</EventTrigger>
</EventTriggerList>
92
Heat Map Application ISAPI User Manual
6.32 XML_EventTriggerNotification
EventTriggerNotification message in XML format
<EventTriggerNotification><!--opt-->
<id><!--req, xs:string, device ID--></id>
<notificationMethod>
<!--req, xs:string, linkage actions,
opt="email,IM,IO,syslog,HTTP,FTP,beep,ptz,record, monitorAlarm, center,
LightAudioAlarm,focus,trace,cloud,SMS,whiteLight,…"-->
</notificationMethod>
<notificationRecurrence>
<!--opt, xs:string, "beginning,beginningandend,recurring"-->
</notificationRecurrence>
<notificationInterval><!--dep, xs:integer, unit: millisecond--></
notificationInterval>
<outputIOPortID><!--dep, xs:string, video output No., it is required only
when notificationMethod is "IO"--></outputIOPortID>
<dynOutputIOPortID><!--dep, xs:string, dynamic video output No., it is
required only when notificationMethod is "IO"--></dynOutputIOPortID>
<videoInputID><!--dep, xs:string, video input No., it is required only when
notificationMethod is "record"--></videoInputID>
<dynVideoInputID><!--dep, xs:string, dynamic video input No., it is required
only when notificationMethod is "record"--></dynVideoInputID>
<ptzAction><!--dep, it is required only when notificationMethod is "ptz"-->
<ptzChannelID><!--req, xs:string, PTZ channel ID--></ptzChannelID>
<actionName><!--req, xs:string, PTZ control type: "preset", "pattern",
"patrol"--></actionName>
<actionNum><!--dep, xs:integer></actionNum>
</ptzAction>
</EventTriggerNotification>
6.33 XML_EventTriggerNotificationList
EventTriggerNotificationList message in XML format
<EventTriggerNotificationList version="2.0" xmlns="http://www.isapi.org/ver20/
XMLSchema">
<EventTriggerNotification/><!--opt, see details in the message of
XML_EventTriggerNotification-->
</EventTriggerNotificationList>
See Also
XML_EventTriggerNotification
93
Heat Map Application ISAPI User Manual
6.34 XML_EventTriggersCap
EventTriggersCap capability message in XML format
<EventTriggersCap version="1.0" xmlns="http://www.hikvision.com/ver20/
XMLSchema">
<DiskfullTriggerCap><!--opt, xs: EventTriggerCapType--></DiskfullTriggerCap>
<DiskerrorTriggerCap><!--opt, xs: EventTriggerCapType--></DiskerrorTriggerCap>
<NicbrokenTriggerCap><!--opt, xs: EventTriggerCapType--></NicbrokenTriggerCap>
<IpconflictTriggerCap><!--opt, xs: EventTriggerCapType--></
IpconflictTriggerCap>
<IllaccesTriggerCap><!--opt, xs: EventTriggerCapType--></IllaccesTriggerCap>
<BadvideoTriggerCap><!--opt, xs: EventTriggerCapType--></BadvideoTriggerCap>
<VideomismatchTriggerCap><!--opt, xs: EventTriggerCapType--></
VideomismatchTriggerCap>
<IOTriggerCap><!--opt, xs: EventTriggerCapType--></IOTriggerCap>
<LineDetectTriggerCap><!--opt, xs: EventTriggerCapType--></
LineDetectTriggerCap>
<RegionEntranceTriggerCap><!--opt, xs: EventTriggerCapType--></
RegionEntranceTriggerCap>
<RegionExitingTriggerCap><!--opt, xs: EventTriggerCapType--></
RegionExitingTriggerCap>
<LoiteringTriggerCap><!--opt, xs: EventTriggerCapType--></LoiteringTriggerCap>
<GroupDetectionTriggerCap><!--opt, xs: EventTriggerCapType--></
GroupDetectionTriggerCap>
<RapidMoveTriggerCap><!--opt, xs: EventTriggerCapType--></RapidMoveTriggerCap>
<ParkingTriggerCap><!--opt, xs: EventTriggerCapType--></ParkingTriggerCap>
<UnattendedBaggageTriggerCap><!--opt, xs: EventTriggerCapType--></
UnattendedBaggageTriggerCap>
<AttendedBaggageTriggerCap><!--opt, xs: EventTriggerCapType--></
AttendedBaggageTriggerCap>
<FireDetectionTriggerCap><!--opt, xs: EventTriggerCapType--></
FireDetectionTriggerCap>
<FireDetectionCap><!--opt, xs: EventTriggerCapType--></FireDetectionCap>
<StorageDetectionTriggerCap><!--opt, xs: EventTriggerCapType--></
StorageDetectionTriggerCap>
<ShipsDetectionTriggerCap><!--opt, xs: EventTriggerCapType--></
ShipsDetectionTriggerCap>
<ThermometryCap><!--opt, xs: EventTriggerCapType--></ThermometryCap>
<VandalProofTriggerCap><!--opt, xs: EventTriggerCapType--></
VandalProofTriggerCap>
<BlackListTriggerCap><!--opt, xs: EventTriggerCapType--></BlackListTriggerCap>
<WhiteListTriggerCap><!--opt, xs: EventTriggerCapType--></WhiteListTriggerCap>
<AllVehicleListTriggerCap><!--opt,xs:EventTriggerCapType--></
AllVehicleListTriggerCap>
<OtherVehicleListTriggerCap><!--opt,xs:EventTriggerCapType--></
OtherVehicleListTriggerCap>
<PeopleDetectionTriggerCap><!--opt,xs:EventTriggerCapType--></
PeopleDetectionTriggerCap>
<PIRAlarmCap><!--opt, xs: EventTriggerCapType--></PIRAlarmCap>
<TamperDetectionTriggerCap><!--opt, xs: EventTriggerCapType--></
94
Heat Map Application ISAPI User Manual
TamperDetectionTriggerCap>
<DefocusDetectionTriggerCap><!--opt, xs: EventTriggerCapType--></
DefocusDetectionTriggerCap>
<FaceDetectionTriggerCap><!--opt, xs: EventTriggerCapType--></
FaceDetectionTriggerCap>
<SceneChangeDetectionTriggerCap><!--opt, xs: EventTriggerCapType--></
SceneChangeDetectionTriggerCap>
<VandalProofAlarmCap><!--opt, xs: EventTriggerCapType--></VandalProofAlarmCap>
<JudgmentTriggerCap><!--opt, xs: EventTriggerCapType--></JudgmentTriggerCap>
<FightingTriggerCap><!--opt, xs: EventTriggerCapType--></FightingTriggerCap>
<RisingTriggerCap><!--opt, xs: EventTriggerCapType--></RisingTriggerCap>
<DozingTriggerCap><!--opt, xs: EventTriggerCapType--></DozingTriggerCap>
<CountingTriggerCap><!--opt, xs: EventTriggerCapType--></CountingTriggerCap>
<VideoLossTriggerCap><!--opt, xs: EventTriggerCapType--></VideoLossTriggerCap>
<HideTriggerCap><!--opt, xs:EventTriggerCapType--></HideTriggerCap>
<AlarmInTriggerCap><!--opt, xs: EventTriggerCapType--></AlarmInTriggerCap>
<VehicleDetectionTriggerCap><!--opt, xs: EventTriggerCapType--></
VehicleDetectionTriggerCap>
<AudioExceptionCap><!--opt, xs: EventTriggerCapType--></AudioExceptionCap>
<FiledDetectTriggerCap><!--opt, xs: EventTriggerCapType--></
FiledDetectTriggerCap>
<MotionDetectionTriggerCap><!--opt, xs: EventTriggerCapType--></
MotionDetectionTriggerCap>
<TemperatureCap><!--opt, xs: EventTriggerCapType--></TemperatureCap>
<IntelligentTriggerCap><!--opt, xs: EventTriggerCapType--></
IntelligentTriggerCap>
<FaceContrastTriggerCap><!--opt, xs: EventTriggerCapType, face picture
comparison alarm linkage--></FaceContrastTriggerCap>
<WhiteListFaceContrastTriggerCap><!--opt, xs: EventTriggerCapType--></
WhiteListFaceContrastTriggerCap>
<HumanRecognitionTriggerCap><!--opt,xs: EventTriggerCapType--></
HumanRecognitionTriggerCap>
<FaceSnapTriggerCap><!--opt, xs: EventTriggerCapType--></FaceSnapTriggerCap>
<isSupportWhiteLightAction>
<!--dep, xs: boolean, see details in EventTriggerCapType, it is valid when
isSupportWhiteLight is "true"-->
</isSupportWhiteLightAction>
<isSupportAudioAction>
<!--dep, xs: boolean, see details in EventTriggerCapType, it is valid when
isSupportBeep is "true"-->
</isSupportAudioAction>
<HFPDTriggerCap><!--opt, xs: EventTriggerCapType--></HFPDTriggerCap>
<MixedTargetDetectionCap><!--opt, xs: EventTriggerCapType--></
MixedTargetDetectionCap>
<HVTVehicleDetectionTriggerCap><!--opt, xs: EventTriggerCapType--></
HVTVehicleDetectionTriggerCap>
<VCATriggerCap><!--opt, xs: EventTriggerCapType--></VCATriggerCap>
<PIRCap><!--opt, xs: EventTriggerCapType--></PIRCap>
<IllegalParkingTriggerCap><!--opt, xs: EventTriggerCapType, whether to
support illegal parking detection--></IllegalParkingTriggerCap>
<PedestrianTriggerCap><!--opt, xs: EventTriggerCapType, whether to support
pedestrian detection--></PedestrianTriggerCap>
95
Heat Map Application ISAPI User Manual
See Also
XML_EventTriggerCapType
6.35 XML_EventTriggerCapType
EventTriggerCapType message in XML format
<EventTriggerCapType version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<isSupportCenter><!--opt, xs:boolean--></isSupportCenter>
<isSupportRecord><!--opt, xs:boolean--></isSupportRecord>
<isSupportMonitorAlarm><!--opt, xs:boolean--></isSupportMonitorAlarm>
<isSupportBeep><!--opt, xs: boolean, whether supports audible warning--></
isSupportBeep>
<isSupportIO><!--opt, xs:boolean--></isSupportIO>
<isSupportFTP><!--opt, xs:boolean--></isSupportFTP>
<isSupportEmail><!--opt, xs:boolean--></isSupEmail>
<isSupportLightAudioAlarm><!--opt, xs:boolean--></isSupportLightAudioAlarm>
<isSupportFocus><!--opt, xs:boolean--></isSupportFocus>
<isSupportPTZ><!--opt, xs:boolean--></isSupportPTZ>
<maxPresetActionNum>
<!--dep, xs:integer, it is valid only when <isSupportPTZ> is "true"-->
</maxPresetActionNum>
<maxPatrolActionNum>
<!--dep, xs:integer, it is valid only when <isSupportPTZ> is "true"-->
</maxPatrolActionNum>
<maxPatternActionNum>
<!--dep, xs:integer, it is valid only when <isSupportPTZ> is "true"-->
</maxPatternActionNum>
<isSupportTrack><!--opt, xs:boolean--></isSupportTrack>
<isSupportWhiteLight>
<!--opt, xs: boolean, whether supports supplement light alarm linkage-->
96
Heat Map Application ISAPI User Manual
</isSupportWhiteLight>
<isSupportCloud><!--opt, xs:boolean--></isSupportCloud>
</EventTriggerCapType>
6.36 XML_HttpHostNotification
HttpHostNotification message in XML format
<HttpHostNotification version="2.0" xmlns="http://www.isapi.org/ver20/
XMLSchema">
<id><!--req, xs:string, ID--></id>
<url><!--req, xs:string, the absolute path, e.g., http://<ipAddress>:<portNo>/
<uri>--></url>
<protocolType><!--req, xs:string, "HTTP,HTTPS,EHome"--></protocolType>
<parameterFormatType><!--req, xs:string, alarm/event information format,
"XML,JSON"--></parameterFormatType>
<addressingFormatType><!--req, xs:string, "ipaddress,hostname"--></
addressingFormatType>
<hostName><!--dep, xs:string--></hostName>
<ipAddress><!--dep, xs:string--></ipAddress>
<ipv6Address><!--dep, xs:string--></ipv6Address>
<portNo><!--opt, xs:integer--></portNo>
<userName><!--dep, xs:string--></userName>
<password><!--dep, xs:string--></password>
<httpAuthenticationMethod><!--req, xs:string, "MD5digest,none"--></
httpAuthenticationMethod>
<eventType opt="AID,TFS,TPS"><!--req, xs:string--></eventType>
<uploadImagesDataType>
<!--opt, xs:string, "URL", "binary" (default), for cloud storage, only
"URL" is supported-->
</uploadImagesDataType>
<eventMode><!--opt, xs:string, "all,list"--></eventMode>
<EventList><!--dep, it is valid only when eventMode is "list"-->
<Event><!--req-->
<type><!--req, xs:string--></type>
</Event>
</EventList>
<channels><!--opt, xs:string, "1,2,3,4…"--></channels>
</HttpHostNotification>
Example
Message Example of HttpHostNotification
<HttpHostNotification version="2.0" xmlns="http://www.hikvision.com/ver20/
XMLSchema">
<id>1</id>
<url></url>
<protocolType>HTTP</protocolType>
<parameterFormatType>XML</parameterFormatType>
<addressingFormatType>ipaddress</addressingFormatType>
<ipAddress>0.0.0.0</ipAddress>
97
Heat Map Application ISAPI User Manual
<portNo>80</portNo>
<userName></userName>
<httpAuthenticationMethod>none</httpAuthenticationMethod>
</HttpHostNotification>
6.37 XML_HttpHostNotificationCap
HttpHostNotificationCap capability message in XML format
<HttpHostNotificationCap version="2.0" xmlns="http://www.isapi.org/ver20/
XMLSchema">
<hostNumber><!--Listening host No.--></hostNumber>
<urlLen max=""/>
<protocolType opt="HTTP,HTTPS,EHome"/>
<parameterFormatType opt="XML,querystring,JSON"/>
<addressingFormatType opt="ipaddress,hostname"/>
<ipAddress opt="ipv4,ipv6"/>
<portNo min="" max=""/>
<userNameLen min="" max=""/>
<passwordLen min="" max=""/>
<httpAuthenticationMethod opt="MD5digest,none"/>
<!--req, if the digest authentication is supported, configuring user name
and password should be supported-->
<uploadImagesDataType opt="URL,binary"/>
</HttpHostNotificationCap>
Example
HttpHostNotificationCap Message Example
<HttpHostNotificationCap version="2.0" xmlns="http://www.hikvision.com/ver20/
XMLSchema">
<hostNumber>3</hostNumber>
<urlLen max="64" />
<protocolType opt="HTTP" />
<parameterFormatType opt="XML" />
<addressingFormatType opt="ipaddress,hostname" />
<ipAddress opt="ipv4,ipv6" />
<portNo min="1" max="65535" />
<userNameLen min="5" max="32" />
<passwordLen min="5" max="32" />
<httpAuthenticationMethod opt="none" />
<uploadImagesDataType opt="URL,binary" />
</HttpHostNotificationCap>
6.38 XML_HttpHostNotificationList
HttpHostNotificationList message in XML format
98
Heat Map Application ISAPI User Manual
Example
HttpHostNotificationList Message Example
<HttpHostNotificationList version="2.0" xmlns="http://www.isapi.org/ver20/
XMLSchema">
<HttpHostNotification>
<id>1</id>
<url></url>
<protocolType>HTTP</protocolType>
<parameterFormatType>XML</parameterFormatType>
<addressingFormatType>ipaddress</addressingFormatType>
<ipAddress>0.0.0.0</ipAddress>
<portNo>80</portNo>
<userName></userName>
<httpAuthenticationMethod>none</httpAuthenticationMethod>
</HttpHostNotification>
</HttpHostNotificationList>
99
Heat Map Application ISAPI User Manual
6.39 XML_HttpHostTestResult
HttpHostTestResult message in XML format.
<HttpHostTestResult version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<errorDescription>
<!--req, xs:string-->
</errorDescription>
</HttpHostTestResult>
6.40 XML_Schedule
Schedule message in XML format
<Schedule version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<id><!--req, xs:string, ID--></id>
<eventType>
<!--opt, xs:string, alarm/event types, see details in the "Remarks" below-->
</eventType>
<inputIOPortID><!--ro, dep, xs:string, alarm input No.--></inputIOPortID>
<outputIOPortID><!--ro, dep, xs:string, alarm output No.--></inputIOPortID>
<videoInputChannelID><!--ro, dep, xs:string, video input channel ID--></
videoInputChannelID>
<TimeBlockList size="8"><!--req-->
<TimeBlock>
<dayOfWeek>
<!--opt, xs:integer, day of the week based on ISO8601, "1"=Monday, ...--
>
</dayOfWeek>
<TimeRange><!--req-->
<beginTime><!--req, xs:time, ISO8601 time--></beginTime>
<endTime><!--req, xs:time, ISO8601 time--></endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
<HolidayBlockList><!--opt-->
<TimeBlock>
<TimeRange><!--req-->
<beginTime><!--req, xs:time, ISO8601 time--></beginTime>
<endTime><!--req, xs:time, ISO8601 time--></endTime>
</TimeRange>
</TimeBlock>
</HolidayBlockList>
</Schedule>
Remarks
The node <eventType> can be set to the following values: IO, VMD,videoloss, PIR,linedetection,
fielddetection, audioexception, facedetection, regionEntrance, regionExiting, loitering,group,
100
Heat Map Application ISAPI User Manual
101
Heat Map Application ISAPI User Manual
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
Example
Schedule Message Example of Face Picture Comparison Alarm (Rear-End Device)
<Schedule version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>faceContrast-1</id>
<eventType>faceContrast</eventType>
<videoInputChannelID>1</videoInputChannelID>
<TimeBlockList size="8">
<TimeBlock>
<dayOfWeek>1</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>2</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>3</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>4</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>5</dayOfWeek>
102
Heat Map Application ISAPI User Manual
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>6</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
Example
Schedule Message Example of Stranger Detection Alarm (Rear-End Device)
<Schedule version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>whiteListFaceContrast-1</id>
<eventType>whiteListFaceContrast</eventType>
<videoInputChannelID>1</videoInputChannelID>
<TimeBlockList size="8">
<TimeBlock>
<dayOfWeek>1</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>2</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>3</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
103
Heat Map Application ISAPI User Manual
<dayOfWeek>4</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>5</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>6</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
Example
Schedule Message Example of Mixed-Target-Type Detection Alarm
<?xml version="1.0" encoding="UTF-8"?>
<Schedule version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>mixedTargetDetection-2</id>
<eventType>mixedTargetDetection</eventType>
<videoInputChannelID>2</videoInputChannelID>
<TimeBlockList size="8" >
<TimeBlock>
<dayOfWeek>1</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>2</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
104
Heat Map Application ISAPI User Manual
</TimeBlock>
<TimeBlock>
<dayOfWeek>3</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>4</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>5</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>6</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
<TimeRange>
<beginTime>00:00</beginTime>
<endTime>24:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
Example
XML_Schedule Message Example of Arming Schedule for Illegal Parking Detection
<Schedule version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>illegalParking-1</id>
<eventType>illegalParking</eventType>
<videoInputChannelID>1</videoInputChannelID>
<TimeBlockList size="8" >
<TimeBlock>
<dayOfWeek>1</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
105
Heat Map Application ISAPI User Manual
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>2</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>3</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>4</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>5</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>6</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
Example
XML_Schedule Message Example of Arming Schedule for Pedestrian Detection
<Schedule version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>pedestrian-1</id>
106
Heat Map Application ISAPI User Manual
<eventType>pedestrian</eventType>
<videoInputChannelID>1</videoInputChannelID>
<TimeBlockList size="8" >
<TimeBlock>
<dayOfWeek>1</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>2</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>3</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>4</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>5</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>6</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
107
Heat Map Application ISAPI User Manual
</TimeBlockList>
</Schedule>
Example
XML_Schedule Message Example of Arming Schedule for Traffic Accident Detection
<Schedule version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>trafficAccident-1</id>
<eventType>trafficAccident</eventType>
<videoInputChannelID>1</videoInputChannelID>
<TimeBlockList size="8" >
<TimeBlock>
<dayOfWeek>1</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>2</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>3</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>4</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>5</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>6</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
108
Heat Map Application ISAPI User Manual
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
Example
XML_Schedule Message Example of Arming Schedule for Construction Detection
<Schedule version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>construction-1</id>
<eventType>construction</eventType>
<videoInputChannelID>1</videoInputChannelID>
<TimeBlockList size="8" >
<TimeBlock>
<dayOfWeek>1</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>2</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>3</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>4</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>5</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
109
Heat Map Application ISAPI User Manual
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>6</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
Example
XML_Schedule Message Example of Arming Schedule for Roadblock Detection
<Schedule version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>roadBlock-1</id>
<eventType>roadBlock</eventType>
<videoInputChannelID>1</videoInputChannelID>
<TimeBlockList size="8" >
<TimeBlock>
<dayOfWeek>1</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>2</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>3</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>4</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
110
Heat Map Application ISAPI User Manual
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>5</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>6</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
Example
XML_Schedule Message Example of Arming Schedule for Thrown Object Detection
<Schedule version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>abandonedObject-1</id>
<eventType>abandonedObject</eventType>
<videoInputChannelID>1</videoInputChannelID>
<TimeBlockList size="8" >
<TimeBlock>
<dayOfWeek>1</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>2</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>3</dayOfWeek>
<TimeRange>
111
Heat Map Application ISAPI User Manual
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>4</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>5</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>6</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
Example
XML_Schedule Message Example of Arming Schedule for Congestion Detection
<Schedule version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>congestion-1</id>
<eventType>congestion</eventType>
<videoInputChannelID>1</videoInputChannelID>
<TimeBlockList size="8" >
<TimeBlock>
<dayOfWeek>1</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>2</dayOfWeek>
112
Heat Map Application ISAPI User Manual
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>3</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>4</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>5</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>6</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
Example
XML_Schedule Message Example of Arming Schedule for Fog Detection
<Schedule version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>fogDetection-1</id>
<eventType>fogDetection</eventType>
<videoInputChannelID>1</videoInputChannelID>
<TimeBlockList size="8" >
<TimeBlock>
113
Heat Map Application ISAPI User Manual
<dayOfWeek>1</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>2</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>3</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>4</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>5</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>6</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
114
Heat Map Application ISAPI User Manual
Example
XML_Schedule Message Example of Arming Schedule for Traffic Data Collection
<Schedule version="2.0" xmlns="http://www.hikvision.com/ver20/XMLSchema">
<id>vehicleStatistics-1</id>
<eventType>vehicleStatistics</eventType>
<videoInputChannelID>1</videoInputChannelID>
<TimeBlockList size="8" >
<TimeBlock>
<dayOfWeek>1</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>2</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>3</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>4</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>5</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>6</dayOfWeek>
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
<TimeBlock>
<dayOfWeek>7</dayOfWeek>
115
Heat Map Application ISAPI User Manual
<TimeRange>
<beginTime>08:00</beginTime>
<endTime>18:00</endTime>
</TimeRange>
</TimeBlock>
</TimeBlockList>
</Schedule>
116
Heat Map Application ISAPI User Manual
StatusCode=1
StatusCode=2
117
Heat Map Application ISAPI User Manual
StatusCode=3
118
Heat Map Application ISAPI User Manual
StatusCode=4
119
Heat Map Application ISAPI User Manual
120
Heat Map Application ISAPI User Manual
121
Heat Map Application ISAPI User Manual
122
Heat Map Application ISAPI User Manual
123
Heat Map Application ISAPI User Manual
124
Heat Map Application ISAPI User Manual
125
Heat Map Application ISAPI User Manual
126
Heat Map Application ISAPI User Manual
127
Heat Map Application ISAPI User Manual
128
Heat Map Application ISAPI User Manual
129
Heat Map Application ISAPI User Manual
130
Heat Map Application ISAPI User Manual
131
Heat Map Application ISAPI User Manual
132
Heat Map Application ISAPI User Manual
133
Heat Map Application ISAPI User Manual
134
Heat Map Application ISAPI User Manual
135
Heat Map Application ISAPI User Manual
136
Heat Map Application ISAPI User Manual
137
Heat Map Application ISAPI User Manual
138
Heat Map Application ISAPI User Manual
139
Heat Map Application ISAPI User Manual
140
Heat Map Application ISAPI User Manual
StatusCode=5
StatusCode=6
141
Heat Map Application ISAPI User Manual
142
Heat Map Application ISAPI User Manual
143
Heat Map Application ISAPI User Manual
144
Heat Map Application ISAPI User Manual
StatusCode=7
145
UD14175B