UD36994B - Hik-Partner Pro OpenAPI - Developer Guide - V2.0 - 20240315
UD36994B - Hik-Partner Pro OpenAPI - Developer Guide - V2.0 - 20240315
Developer Guide
Hik-Partner Pro OpenAPI Developer Guide
Legal Information
© 2023 Hangzhou Hikvision Digital Technology Co., Ltd. All rights reserved.
This Document (hereinafter referred to be "the Document") is the property of Hangzhou Hikvision
Digital Technology Co., Ltd. or its affiliates (hereinafter referred to as "Hikvision"), and it cannot be
reproduced, changed, translated, or distributed, partially or wholly, by any means, without the
prior written permission of Hikvision. Unless otherwise expressly stated herein, Hikvision does not
make any warranties, guarantees or representations, express or implied, regarding to the
Document, any information contained herein.
LEGAL DISCLAIMER
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE DOCUMENT IS PROVIDED "AS IS"
AND "WITH ALL FAULTS AND ERRORS". HIKVISION MAKES NO REPRESENTATIONS OR WARRANTIES,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. IN NO EVENT WILL HIKVISION BE
LIABLE FOR ANY SPECIAL, CONSEQUENTIAL, INCIDENTAL, OR INDIRECT DAMAGES, INCLUDING,
AMONG OTHERS, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION OR LOSS
OF DATA, CORRUPTION OF SYSTEMS, OR LOSS OF DOCUMENTATION, WHETHER BASED ON BREACH
OF CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE, IN CONNECTION WITH THE USE
OF THE DOCUMENT, EVEN IF HIKVISION HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES OR LOSS.
i
Hik-Partner Pro OpenAPI Developer Guide
Contents
Chapter 1 Overview .................................................................................................................... 1
1.1 Introduction ........................................................................................................................... 1
1.2 Update History ....................................................................................................................... 1
Chapter 2 Typical Applications .................................................................................................... 5
2.1 API Key ................................................................................................................................... 5
2.2 Get Token Information ........................................................................................................... 5
2.3 Site Management ................................................................................................................... 5
2.4 Device Management .............................................................................................................. 6
2.5 Events and Alarms .................................................................................................................. 7
2.5.1 Event Types and Details .............................................................................................. 10
2.6 ARC Service .......................................................................................................................... 10
2.7 VSaaS Service ....................................................................................................................... 11
2.8 Cloud Attendance System .................................................................................................... 12
2.9 Hot Spare ............................................................................................................................. 14
2.9.1 API Calling Flow for Hot Spare (Host) .......................................................................... 15
2.9.2 API Calling Flow for Hot Spare (Spare) ........................................................................ 17
Chapter 3 API Reference ........................................................................................................... 19
3.1 POST /api/hpcgw/v1/token/get ........................................................................................... 19
3.2 POST /api/hpcgw/v1/installers/search ................................................................................ 20
3.3 POST /api/hpcgw/v1/site/add ............................................................................................. 22
3.4 POST /api/hpcgw/v1/site/{id}/delete .................................................................................. 23
3.5 POST /api/hpcgw/v1/site/{id}/update ................................................................................. 24
3.6 POST /api/hpcgw/v1/site/search ......................................................................................... 25
3.7 POST /api/hpcgw/v1/site/share ........................................................................................... 29
3.8 POST /api/hpcgw/v1/site/share/cancel/{id} ........................................................................ 31
3.9 POST /api/hpcgw/v2/site/assign .......................................................................................... 31
ii
Hik-Partner Pro OpenAPI Developer Guide
iii
Hik-Partner Pro OpenAPI Developer Guide
iv
Hik-Partner Pro OpenAPI Developer Guide
v
Hik-Partner Pro OpenAPI Developer Guide
vi
Hik-Partner Pro OpenAPI Developer Guide
vii
Hik-Partner Pro OpenAPI Developer Guide
Chapter 1 Overview
1.1 Introduction
This document introduces the open capabilities and APIs provided by Hik-Partner Pro for the third-
party manufacturers or developers to fast integrate related applications, including managing sites,
managing devices, subscribing to and receiving alarms, ARC services, etc.
1
Hik-Partner Pro OpenAPI Developer Guide
5. Added an API for modifying end user's account information: POST /api/hpcgw/v1/site/
customer/account/update .
6. Added an API for modifying device permission information for end users: POST /api/hpcgw/v1/
site/customer/devices/update .
7. Added an API for canceling the sharing for the end user: POST /api/hpcgw/v1/site/customer/
cancle .
8. Added an API for getting the site health monitoring report: POST /api/hpcgw/v1/site/health/
report .
9. Added an API for getting storage file information by time: POST /api/hpcgw/v1/video/by/time .
10. Added values for the response parameter deviceSubCategory: POST /api/hpcgw/v1/device/
list and POST /api/hpcgw/v1/arcservice/device/list .
11. Added 4 error codes LAP008127, LAP064001, LAP064003, and LAP064007: Status or Error
Code .
2
Hik-Partner Pro OpenAPI Developer Guide
Added an API for searching for person information synchronization progress: POST /api/
hpcgw/v1/person/synchronize/progress ;
Added an API for searching for person synchronization details: POST /api/hpcgw/v1/person/
synchronize/details .
4. Added 2 error codes LAP020047 and LAP030069: Status or Error Code .
3
Hik-Partner Pro OpenAPI Developer Guide
4
Hik-Partner Pro OpenAPI Developer Guide
{
"appKey": "8yedmtihdf5awj4o2pf4h9fy5z0a7gr3",
"secretKey": "b23910pv2i1myvdtn6qlr54ra2jpcp1k"
}
● Response Parameters:
{
"data": {
"accessToken": "hpc.6grytwlw2z1li7k0nk2v0ti2h6kipfb8",
"expireTime": 1640416102626,
"areaDomain": "https://isgpapi.hik-partner.com"
},
"errorCode": "0"
}
The "expireTime" in response parameters represents the expiration time of the token, which is
accurate to millisecond. The obtained token is valid within 7 days. If the token expires, the error
code LAP500004 will be returned, and you need to get a new token by the API key.
5
Hik-Partner Pro OpenAPI Developer Guide
Function API
Add the information of a site POST /api/hpcgw/v1/site/add
Delete the information of a site POST /api/hpcgw/v1/site/{id}/delete
Edit the information of a site POST /api/hpcgw/v1/site/{id}/update
Search for the site information POST /api/hpcgw/v1/site/search
Sharing a site POST /api/hpcgw/v1/site/share
Cancel sharing a site POST /api/hpcgw/v1/site/share/cancel/{id}
6
Hik-Partner Pro OpenAPI Developer Guide
Function API
Add the information of devices POST /api/hpcgw/v2/device/add
Delete the information of a POST /api/hpcgw/v1/device/delete
device
Edit the information of a device POST /api/hpcgw/v1/device/update
Get the device list POST /api/hpcgw/v1/device/list
Get the list of channels linked POST /api/hpcgw/v1/device/camera/list
with a device
Transmit ISAPI protocols GET/PUT/POST/DELETE /api/hpcgw/v1/device/transparent/
{isapi uri}
Note
For site management APIs, refer to Site Management .
7
Hik-Partner Pro OpenAPI Developer Guide
Function API
Subscribe to alarm messages POST /api/hpcgw/v1/mq/subscribe
from the devices
Get alarm messages POST /api/hpcgw/v1/mq/messages
Confirm that messages are POST /api/hpcgw/v1/mq/offset
received
Get the URL for downloading POST /api/hpcgw/v1/alarm/pictureurl
an alarm-related picture
Note
The API " POST /api/hpcgw/v1/mq/messages " uses the long polling method. If there are no
alarms, the API will be blocked for 20s.
Here are some notes for calling the API "Get the URL for downloading an alarm-related picture".
8
Hik-Partner Pro OpenAPI Developer Guide
9
Hik-Partner Pro OpenAPI Developer Guide
single picture. The method of decrypting multiple pictures is based on that of decrypting
one picture. The steps are as follows.
1. Take the first 4 bytes of the encrypted file and get the value of Len, which is the length
of the picture data bytes.
2. Take the byte stream from 0 to Len, which is the complete data of the first picture.
3. Decrypt the single picture data according to different encryption methods, and get the
decrypted picture.
4. From the end of the previous picture, get the next picture data according to the above
method, and then decrypt the data until the end of the data.
10
Hik-Partner Pro OpenAPI Developer Guide
Function API
Get the list of devices with ARC POST /api/hpcgw/v1/arcservice/device/list
service enabled
Disable the ARC service of POST /api/hpcgw/v1/arcservice/device/disable
devices
Get the site information of GET /api/hpcgw/v1/arcservice/site/{id}/info
devices with ARC service
enabled
Note
● For device management APIs, refer to Device Management .
● For APIs about events and alarms, refer to Events and Alarms .
● You can apply for an API key online via Hik-Partner Pro Portal.
11
Hik-Partner Pro OpenAPI Developer Guide
Note
● For device management APIs, refer to Device Management .
● For APIs about events and alarms, refer to Events and Alarms .
● Applying for an API key for integrating VSaaS service can only be done offline via emails or other
methods.
12
Hik-Partner Pro OpenAPI Developer Guide
13
Hik-Partner Pro OpenAPI Developer Guide
Function API
Add a person POST /api/hpcgw/v1/person/add
Edit person information POST /api/hpcgw/v1/person/update
Delete a person POST /api/hpcgw/v1/person/delete
Apply person information and POST /api/hpcgw/v1/acs/privilege/config
permission to an access control
device
Get the applying status of POST /api/hpcgw/v1/acs/privilege/status
person information and
permission
Delete the applied person POST /api/hpcgw/v1/acs/privilege/delete
information and permission
from an access control device
Note
● For device management APIs, refer to Device Management .
● For APIs about events and alarms, refer to Events and Alarms .
● Applying for an API key for integrating cloud attendance service can only be done offline via
emails or other methods.
● Deleting person information and permissions can not be completed if you only call POST /api/
hpcgw/v1/person/delete . You also need to call POST /api/hpcgw/v1/acs/privilege/delete .
14
Hik-Partner Pro OpenAPI Developer Guide
Note
This API is the base API and the token returned can be called by other APIs.
2. Call POST /api/hpcgw/v1/hotspare/add to set the hot spare identity for host device.
15
Hik-Partner Pro OpenAPI Developer Guide
3. The host device calls the API of heartbeat interaction POST /api/hpcgw/v1/hotspare/
heartbeat per minute, to make sure the host device activity status can be detected.
4. Call POST /api/hpcgw/v1/hotspare/file/upload to upload a hot spare file that is no larger than
2 MB.
Note
- For uploading larger files, please contact the technical support.
- When there are updates on the host device configuration, which requires an updated hot
spare file, you can upload a new file for replacement.
16
Hik-Partner Pro OpenAPI Developer Guide
Note
This API is the base API and the token returned can be called by other APIs.
2. Call POST /api/hpcgw/v1/hotspare/add to set the hot spare identity for host device.
17
Hik-Partner Pro OpenAPI Developer Guide
3. The host device calls the API of heartbeat interaction POST /api/hpcgw/v1/hotspare/
heartbeat per minute, to make sure the host device activity status can be detected in case of
any breakdown.
4. Call POST api/hpcgw/v1/hotspare/file/get as scheduled, and compare the time with the last
updating time of the downloaded local file to check if there are updates. If there are, call
POST /api/hpcgw/v1/hotspare/file/downloadurl to get the download URL for downloading the
latest hot spare file from the cloud.
18
Hik-Partner Pro OpenAPI Developer Guide
Note
● The obtained token is valid within 7 days, and it is accurate to millisecond. If the token expires,
the error code LAP500004 error code will be returned, and you need to get a new token with the
API key.
● Request URL: [Domain Name]/api/hpcgw/v1/token/get, and the available domain names are as
follows:
Request Parameters
Response Parameters
19
Hik-Partner Pro OpenAPI Developer Guide
partner.com
● South America: https://isaapi.hik-partner.com
● Singapore: https://isgpapi.hik-partner.com
● Russia: https://api.hik-partnerru.com
Note
You can use the original domain names until the end of 2023.
● Russia: https://api.hik-proconnectru.com
● Others: https://api.hik-proconnect.com
Response Example
{
"accessToken ": "jmna8qnqg8d3dgnzs87m4v2dme3l",
"expireTime ": 1585747008592,
"areaDomain": "https://ieuapi.hik-partner.com"
}
20
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
Request Example
{
"search": "name"
}
Response Parameters
21
Hik-Partner Pro OpenAPI Developer Guide
Response Example
{
"data":{
"page": 1,
"pageSize": 20,
"rows": [{
"email": "string",
"enableStatus": true,
"firstName": "string",
"id": "string",
"invitedStatus": true,
"isAdmin": true,
"lastName": "string",
"phone": "string"
}],
"total": 0,
"totalPage": 0
},
"errorCode": "0"
}
Request Parameters
22
Hik-Partner Pro OpenAPI Developer Guide
Request Example
{
"name": "",
"siteCity": "",
"siteState": "",
"siteStreet": "",
"location": "",
"timeSync": true,
"timeZone": 222
}
Response Example
{
"errorCode": "0"
}
23
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
Note
If you delete a site, all devices of the site will be deleted.
Response Example
{
"errorCode": "0"
}
Request Parameters
24
Hik-Partner Pro OpenAPI Developer Guide
Request Example
{
"name": "",
"siteCity": "",
"siteState": "",
"siteStreet": "",
"location": ""
}
Response Example
{
"errorCode": "0"
}
Request Parameters
25
Hik-Partner Pro OpenAPI Developer Guide
Request Example
{
"page": 0,
"pageSize": 0,
"search": ""
}
Response Parameters
26
Hik-Partner Pro OpenAPI Developer Guide
27
Hik-Partner Pro OpenAPI Developer Guide
Response Example
{
"data": {
"page": 1,
"pageSize": 20,
"rows": [
{
"id": "",
"installerFirstName": "",
"installerId": "",
"installerLastName": "",
"location": "",
"siteCity": "",
"siteName": "",
"siteState": "",
"siteStreet": "",
"timeSync": true,
"timeZone": "182",
"siteDeliveryStatus": 2,
"cloudEnable": true,
"sharedInfo":
{
"shareState": 4,
"shareType": 3,
"shareToCompany":
{
"address": "",
"companyName": "",
"email": "",
"firstName": "",
"lastName": "",
"phone": "",
"street": ""
}
}
},
{
28
Hik-Partner Pro OpenAPI Developer Guide
"id": "",
"installerFirstName": "",
"installerId": "",
"installerLastName": "",
"location": "",
"siteCity": "",
"siteName": "",
"siteState": "",
"siteStreet": "",
"timeSync": true,
"timeZone": "182",
"siteDeliveryStatus": 2,
"cloudEnable": true,
"sharedInfo":
{
"shareState": 4,
"shareType": 4,
"shareFromCompany":
{
"address": "",
"companyName": "",
"email": "",
"firstName": "",
"lastName": "",
"phone": "",
"street": ""
}
}
}
],
"total": 0,
"totalPage": 0
},
"errorCode": "0"
}
Request Parameters
Note
1. There are two scenarios of sharing a site, and this API is only applicable to the first scenario.
29
Hik-Partner Pro OpenAPI Developer Guide
- A site is not handed over but shared with an installation service provider to get device
installation services.
- Installers are authorized by end users to manage a site, and the site is shared with a
maintenance service partner to cooperatively provide services for end users.
2. Only sites that are not transferred can be shared.
Request Example
{
"email": "[email protected]",
"describe": "additional information",
"siteId": "xxxxx",
"applyTimeType ": 0
}
30
Hik-Partner Pro OpenAPI Developer Guide
Response Example
{
"errorCode": "0"
}
Request Parameters
Response Example
{
"errorCode": "0"
}
Note
After the caller assign new manager(s), the previous manager(s) will be removed. However, the
manager(s) with Manage All Sites permission will not be removed.
31
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
Request Example
{
"siteIds": [
"aaaa",
"bbbb"
],
"installerPermissionTimes":[
{
"installerId":"xxxx",
32
Hik-Partner Pro OpenAPI Developer Guide
"expiredDurationTime":-1
}
]
}
Response Example
{
"errorCode": "0"
}
Request Parameters
Request Example
{
"siteId": "aaaaa"
}
Response Parameters
33
Hik-Partner Pro OpenAPI Developer Guide
Response Example
{
"data":{
"installerMangers":[
{
"installerId":"aaa",
"installerFirstName":"aa",
"installerLastName":"bb",
"installerEmail":"[email protected]",
"installerPhone":"6523123",
"expireDurationTime":"1873727183782"
}
]
},
"errorCode":"0"
}
Note
After the installation and configurations of devices are completed, you can hand over devices to
your customer (end user) by sharing. After your customer accepts the handover:
● You still take the ownership of the devices, and your customer only has the permission to use
them.
● You can set the device permissions shared with your customer.
● For sites that have been handed over by sharing, you can call this API to share them with more
users.
34
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
35
Hik-Partner Pro OpenAPI Developer Guide
36
Hik-Partner Pro OpenAPI Developer Guide
alarm.
● Switch and router: no
Request Example
{
"siteId": "aaaaa",
"batchHcAccount":[
{
"hcAccount":"[email protected]",
"type":0
37
Hik-Partner Pro OpenAPI Developer Guide
}],
"userSharePermission":[
{
"deviceSerial":"ABC",
"otherPermissionDetails":[{
"permission":1,
"channelNo":["1","2"]
},
{
"permission":3,
"channelNo":["-1"]
}
]
},
{
"deviceSerial":"DEF",
"ax2PermissionDetails":{
"ax2Permission":[1,2],
"areaPermission":["-1"]
}
}]
}
Response Example
{
"errorCode": "0"
}
Request Parameters
38
Hik-Partner Pro OpenAPI Developer Guide
Request Example
{
"siteId": "aaaaa"
}
Response Parameters
Response Example
{
"data":{
"customers":[
{
"hcAccount":"[email protected]",
"type":0,
"status":"0"
}
]
},
"errorCode":"0"
}
39
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
Request Example
{
"siteId": "aaaaa",
"hcAccount": "[email protected]"
}
Response Parameters
40
Hik-Partner Pro OpenAPI Developer Guide
Response Example
{
"data":{
"shareDevices":[
{
"deviceSerial":"ABC",
"otherPermissionDetails":[
{
"permission":1,
"channelNo":["1","2"]
}]
},
{
"deviceSerial":"DEF",
"ax2PermissionDetails":{
"ax2Permission":[1,2],
"areaPermission":["1","2"]
}
}
]
},
"errorCode":"0"
}
41
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
Request Example
{
"siteId": "aaaaa",
"oldShareHc": {
"hcAccount":"[email protected]",
"type":0
},
"newShareHc": {
"hcAccount":"[email protected]",
"type":0
}
}
Response Example
{
"errorCode": "0"
}
42
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
43
Hik-Partner Pro OpenAPI Developer Guide
Request Example
{
"siteId": "aaaaa",
"sharedHc": {
"hcAccount":"[email protected]",
"type":0,
"shareDevices":[
{
"deviceSerial":"ABC",
"otherPermissionDetails":[
{
"permission":1,
"channelNo":["1","2"]
}]
},
{
"deviceSerial":"DEF",
"ax2PermissionDetails":{
"ax2Permission":[1,2],
"areaPermission":["1","2"]
}
}]
}
}
44
Hik-Partner Pro OpenAPI Developer Guide
Response Example
{
"errorCode": "0"
}
Request Parameters
Request Example
{
"siteId": "aaaaa",
"hcAccounts": [
"aaa",
"bbb"
]
}
Response Example
{
"errorCode": "0"
}
45
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
Request Example
{
"siteId": "aaaaa"
}
Response Parameters
46
Hik-Partner Pro OpenAPI Developer Guide
47
Hik-Partner Pro OpenAPI Developer Guide
48
Hik-Partner Pro OpenAPI Developer Guide
49
Hik-Partner Pro OpenAPI Developer Guide
50
Hik-Partner Pro OpenAPI Developer Guide
Response Example
{
"data":{
"siteId": "8a748c538837c238018837d715ec0045",
"reportDetail": [
{
"deviceSerial": "Q11111111",
"deviceVersion": "V1.2.7",
"deviceModel":"DS-PWA96-M-WE",
"deviceIp":"127.0.0.1",
"category": "1",
"deviceSubCategory": "1",
"deviceId": "HQ11111111",
"onlineStatus": 0,
"lastOfflineTime": "2021-03-25T06:26:01",
"enCodingDeviceStatus": {
"loopEnable": 1,
"diskUsage": 90.0,
"diskStatus": 0,
"videoSingle": 0,
"channels": [
{
"name": "xxx",
"deviceId": "xxx",
"status": 0,
"channelNo": 35,
"channelIpaddr": "xxx"
}
],
"hdds": [
{
"deviceId": "1",
"temperature": 60,
"poweronday": 5,
"hddNo": 0,
51
Hik-Partner Pro OpenAPI Developer Guide
"selfevaluatingstatus": 1,
"allevaluatingstatus": 0
}
],
"hddAttributeDtoList": [
{
"hddNo": 1,
"status": 0,
"attributed ": "0"
}
]
},
"alarmDeviceStatus": {
"operRes": "pass",
"cloudStatus": "online",
"workStatus": "alarm",
"cellConnectStatus": "connected",
"cellSignalStrength": "strong",
"dataUsed": "70M",
"networkCable": "ok",
"wifiSignalStrength": "strong",
"batteryStatus": "ok",
"arcConnectStatus": "not connected[1],notEnabled[2]",
"lastInspected": "20,May,2023 16:56:12",
"IPCStatusList": [
{
"id": "1",
"status": "normal ",
"type": "Network Camera ",
"lastTriggerTime": "5,Sep,2023 18:14:59"
}
],
"zones": [
{
"name": "Wireless Zone 1",
"zoneId": 0,
"deviceId": "HQ11111111",
"tamperStatus": "true",
"diagnosticsResult": "PASS",
"networkStatus": "ok",
"batteryStatus": "ok",
"signalStrength": "strong",
"peripheralType": "Wired Zone",
"byPassStatus": "No",
"externalPower": "Connected",
"lastTriggerTime": "5,Sep,2023 18:14:59",
"lastCaptureTime": "5,Sep,2023 18:14:59"
}
],
"keyPadList ": [
{
"id": 0,
52
Hik-Partner Pro OpenAPI Developer Guide
53
Hik-Partner Pro OpenAPI Developer Guide
54
Hik-Partner Pro OpenAPI Developer Guide
"id": 0,
"name": "Wireless Zone 1",
"diagnosticsResult": "PASS",
"seq": "Q1323441",
"peripheralType": "Wired Zone",
"lastOperationTime": "5,Sep,2023 18:14:59"
}
]
}
}
]
},
"errorCode":"0"
}
Request Parameters
55
Hik-Partner Pro OpenAPI Developer Guide
Request Example
{
"deviceList": [
{
"deviceSerial": "abc",
"validateCode": "def",
"extendInfo": "xxx"
}
],
"siteId": "aaaaa"
}
Response Parameters
Response Example
{
"data":{
"addFailedList":[{
"deviceSerial":"abc",
"failReason":"add Exception{LAP006001}"
56
Hik-Partner Pro OpenAPI Developer Guide
},
{
"deviceSerial":"def",
"failReason":"add Exception{LAP006001}"
}],
"addSuccessList":[{
"deviceCategory":"0",
"deviceName":"string",
"deviceSerial":"abc"
}]
},
"errorCode":"0"
}
Request Parameters
Request Example
{
"id": ""
}
Response Example
{
"errorCode": "0"
}
57
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
Request Example
{
"deviceId": "",
"deviceName": "",
“extendInfo”: “xxx”
}
Response Example
{
"errorCode": "0"
}
58
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
Request Example
{
"page": 1,
"pageSize": 20
}
Response Parameters
59
Hik-Partner Pro OpenAPI Developer Guide
Response Example
{
"data":{
"page": 1,
"pageSize": 20,
"rows": [{
"deviceCategory": 3,
"deviceName": "xxx",
"deviceOnlineStatus": 0,
"deviceSerial": " Q01728482",
"deviceVersion": " V2.0.0 build 200224",
"id": "xxxxxxxxxx",
"deviceSubCategory":0,
"deviceType": "DS-PWA96-M-WE",
"isSubscribed": 1,
"deviceAddTime":”2014-03-25T06:26:01.927Z”,
"timeZone":"182",
"extInfo":"xxxx",
"siteID":"xxxxxxxx",
"siteName":"xxx"
}],
"total": 0,
"totalPage": 0
},
"errorCode": "0"
}
60
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
Request Example
{
"deviceSerial": "abc"
}
Response Parameters
61
Hik-Partner Pro OpenAPI Developer Guide
Response Example
{
"data":[{
"deviceSerial":"427734222",
"ipcSerial":"427734222",
"channelNo":1,
"deviceName":"My(427734222)427734222",
"channelName":"My(427734222)427734222",
"status":1,
"isShared":"0",
"picUrl":"https://portal.ys7.com/assets/imgs/public/homeDevice.jpeg",
"isEncrypt":0,
"videoLevel":2,
"relatedIpc":false
}],
"errorCode":"0"
}
Note
● Refer to Request URIs for details about the supported URIs. Contact technical support or log into
tpp.hikvision.com if you need the complete list of supported URIs.
● This API can be called by ACR to control devices of other installers.
Request Parameters
62
Hik-Partner Pro OpenAPI Developer Guide
Request Example
XML Message:
<?xml version="1.0" encoding="UTF-8"?>
<NTPServer version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<id>1</id>
<addressingFormatType>ipaddress</addressingFormatType>
<ipAddress>10.10.10.10</ipAddress>
<portNo>123</portNo>
<synchronizeInterval>1</synchronizeInterval>
</NTPServer>
JSON Message:
{
"Zone":{
"id":1,
"zoneName":"test",
"zoneType":"Instant",
"delayTime":1,
"stayAwayEnabled":true,
"chimeEnabled":true,
"silentEnabled":true,
"timeOut":true,
"detectorSeqCfg":"mod",
"detectorSeq":"123456789"
}
}
HTTP Request Message
PUT /api/hpcgw/v1/device/transparent/ISAPI/System/time/ntpServers/1 HTTP/1.1
Host: api.hik-partner.com
Authorization: Bearer at.2eafygyuabvmptnbak3ctbiq03eotm8x-6pkihc3byk-1w21rv5-dhjflmofu
X-Devserial: 519928976
Content-Type: application/xml
63
Hik-Partner Pro OpenAPI Developer Guide
Response Parameters
Response Example
XML Message
<?xml version="1.0" encoding="UTF-8"?>
<NTPServer version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<id>1</id>
<addressingFormatType>ipaddress</addressingFormatType>
<ipAddress>10.10.10.10</ipAddress>
<portNo>123</portNo>
<synchronizeInterval>1</synchronizeInterval>
</NTPServer>
JSON Message
{
"Zone": {
"id": 1,
"zoneName": "test",
"zoneType": "Instant",
"delayTime": 1,
"stayAwayEnabled": true,
"chimeEnabled": true,
"silentEnabled": true,
"timeOut": true,
"detectorSeqCfg": "mod",
"detectorSeq": "123456789"
}
}
64
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
Request Example
{
"deviceSerial": "abc"
}
Response Parameters
Response Example
{
"data": {
"isNeedUpgrade": 1
},
"errorCode": "0"
}
65
Hik-Partner Pro OpenAPI Developer Guide
Note
After handing over the site by sharing it to the end user, you can disable the Hik-Connect Mobile
Client for the devices. Once it is disabled, the end user cannot perform device operations (such as
live view, playback, arming and disarming, etc.) on Hik-Connect Mobile Client.
Request Parameters
Request Example
{
"siteId": "abcdcedfhg",
"cloudEnable": false
}
Response Example
{
"errorCode": "0"
}
66
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
Request Example
{
"subType": 1,
"subMode": "list",
"deviceSerialList": ["abc", "def"]
}
Response Example
{
"errorCode": "0"
}
67
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
Response Parameters
Note
It is recommended to call the API continuously to get event information. After getting event
information, it is recommended to call the offset API to confirm that the messages are received as
soon as possible. By default, the platform only caches two hours of event information.
Response Example
{
"data":{
"batchId":"xxxxx",
"list":[{
"formatType":"XML",
"deviceSerial": "DS2323", //device serial number,
"alarmData":"xxx"
},
{
"formatType":"JSON",
"deviceSerial": "DS2323", //device serial number,
68
Hik-Partner Pro OpenAPI Developer Guide
"alarmData":{
"deviceSerial":"xxx",
"eventType":"VMD"
}
}]
},
"errorCode":"0"
}
Request Parameters
Request Example
{
"batchId": "xxxx"
}
Response Example
{
"errorCode": "0"
}
69
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
Request Example
{
"filePath":“ISAPI_FILES/C94115305_6/20210809105618274-
C94115305-6-10000-2$encrypt=2,2021-08-09T12:54:25,fd9b7f16393203046d40be71da380128”
}
Response Parameters
Response Example
{
"data":{
"pictureUrl": "",
"encrypt": true
},
"errorCode": "0"
}
70
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
Request Example
{
"page": 1,
"pageSize": 20
}
Response Parameters
71
Hik-Partner Pro OpenAPI Developer Guide
Response Example
{
"data":{
"page": 1,
"pageSize": 20,
"rows": [{
"deviceCategory": 3,
"deviceName": "xxx",
"deviceOnlineStatus": 0,
"deviceSerial": " Q01728482",
"deviceVersion": " V2.0.0 build 200224",
"id": "xxxxxxxxxx",
"deviceSubCategory":0,
"deviceType": "DS-PWA96-M-WE",
"isSubscribed": 1,
"deviceAddTime":”2014-03-25T06:26:01.927Z”,
"timeZone":"182",
"extInfo":"xxxx",
"siteID":"xxxxxxxx",
"siteName":"xxx"
}],
"total": 0,
"totalPage": 0
},
"errorCode": "0"
}
72
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
Request Example
{
"deviceSerial": "xxx"
}
Response Example
{
"errorCode": "0"
}
Request Parameters
73
Hik-Partner Pro OpenAPI Developer Guide
Response Parameters
74
Hik-Partner Pro OpenAPI Developer Guide
Response Example
For sites shared with others:
{
"data": {
"id": "",
"siteName": "",
"siteCity": "",
"siteState": "",
"siteStreet": "",
"location": "",
"timeSync": true,
"timeZone": "",
"installerId": "",
"installerFirstName": "",
"installerLastName": "",
"installerEmail": "",
75
Hik-Partner Pro OpenAPI Developer Guide
"installerPhone": "",
"siteOwnerName ": "",
"siteOwnerEmail": "",
"siteOwnerPhone": ""
"sharedInfo":
{
"shareState": 4,
"shareType": 3,
"shareToCompany":
{
"address": "",
"companyName": "",
"email": "",
"firstName": "",
"lastName": "",
"phone": "",
"street": ""
}
}
},
{
"id": "",
"installerFirstName": "",
"installerId": "",
"installerLastName": "",
"location": "",
"siteCity": "",
"siteName": "",
"siteState": "",
"siteStreet": "",
"timeSync": true,
"timeZone": "182",
"sharedInfo":
{
"shareState": 4,
"shareType": 4,
"shareFromCompany":
{
"address": "",
"companyName": "",
"email": "",
"firstName": "",
"lastName": "",
"phone": "",
"street": ""
}
}
},
"errorCode": "0"
}
76
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
Note
Calling this API will not result in person information being added to devices. To apply person
information, refer to POST /api/hpcgw/v1/acs/privilege/config .
77
Hik-Partner Pro OpenAPI Developer Guide
Request Example
{
"employeeNo": "",
"type": 1,
"familyName": "aa",
"givenName": "aa",
"email": "aaa",
"phone": "12344535",
"facePicture": "xxxxxxxxxxxxxxxxxxxxxxx",
"cardNo": "xxxxxxxxxxxxxxxxxxxxxxx"
}
78
Hik-Partner Pro OpenAPI Developer Guide
Response Parameters
Response Example
{
"data":{
"personId":"xxx"
},
"errorCode": "0"
}
Request Parameters
79
Hik-Partner Pro OpenAPI Developer Guide
Request Example
{
"personId": "xxx",
"employeeNo": “1111122”
}
Response Example
{
"errorCode": "0"
}
Note
Calling this API will not result in person information being edited on devices. To apply edited
person information, refer to POST /api/hpcgw/v1/acs/privilege/config .
Request Parameters
Note
Calling this API will not delete persons on devices. If you need to delete person information on
devices, call the API POST /api/hpcgw/v1/acs/privilege/delete .
80
Hik-Partner Pro OpenAPI Developer Guide
Request Example
{
"personIds": ["abc", "def"]
}
Response Example
{
"errorCode": "0"
}
Request Parameters
Note
It is an asynchronous API. For getting the applying status of person information and permissions,
see POST /api/hpcgw/v1/acs/privilege/status .
81
Hik-Partner Pro OpenAPI Developer Guide
Request Example
{
"deviceAuthorities": [
{
"deviceSerial":"xxxxx",
"personIdList":["xxx","xxxx"]
}
]
}
Response Example
{
"errorCode": "0"
}
Request Parameters
Request Example
82
Hik-Partner Pro OpenAPI Developer Guide
"personIdList": ["abc","def"]
}
Response Parameters
Response Example
{
"data":{
"personAuthorities": [{
"personId": "12345",
"deviceLists": [{
"deviceSerial": "",
"status": 0,
83
Hik-Partner Pro OpenAPI Developer Guide
"subStatus": 7,
"error": "xxx"
}]
}]
},
"errorCode": "0"
}
Request Parameters
Note
Deleting person information and permissions can not be completed if you only call POST /api/
hpcgw/v1/person/delete . You also need to call POST /api/hpcgw/v1/acs/privilege/delete .
Request Example
{
"deviceAuthorities": [{
"deviceSerial":"abc",
"personIdList":["12233", "2344545"]
}]
}
Response Example
84
Hik-Partner Pro OpenAPI Developer Guide
"errorCode": "0"
}
Request Parameters
Note
● It is an asynchronous API.
● On each device, you can only create and perform one task at a time. Each task is identified by
the returned syncTaskID.
● Call POST /api/hpcgw/v1/person/synchronize/progress to search for the task progress.
● Call POST /api/hpcgw/v1/person/synchronize/details to search for the synchronized person
details.
● If a person owns multiple cards, only the first regular card along with the first fingerprint, the
face picture, and the basic person information will be synchronized for the person's credential.
Request Example
{
"deviceSerial":"DIPZ497",
"employeeNoList": ["00001","00002"]
}
85
Hik-Partner Pro OpenAPI Developer Guide
Response Parameters
Response Example
{
"data":{
"syncTaskID":"123"
},
"errorCode": "0"
}
Request Parameters
Response Parameters
86
Hik-Partner Pro OpenAPI Developer Guide
Response Example
{
"data": {
"totalNum": 3,
"syncSucceedNum": 1,
"syncFailedNum": 1,
"taskStates": 2
},
"errorCode": "0"
}
Request Parameters
87
Hik-Partner Pro OpenAPI Developer Guide
88
Hik-Partner Pro OpenAPI Developer Guide
"rows": [
{
"employeeNo": "10000",
"errorCode": "EVZ20008",
"subStatus": 7
}
]
},
"totalPage": 1,
"errorCode": "0"
}
89
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
90
Hik-Partner Pro OpenAPI Developer Guide
Request Example
{
"deviceSerial": "Q124434",
"channelNo": 1,
"startTime": 1689929320315,
"endTime": 1689929356315,
"recType": 2
}
Response Parameters
Response Example
{
"data":[{
"recType": 2,
"startTime": 1689929320315,
"endTime": 1689929356315,
"localType": "0",
91
Hik-Partner Pro OpenAPI Developer Guide
"crypt": 1
}],
"errorCode": "0"
}
Note
● For configuring the hot spare device type, you should configure the host device before the spare
device, or the error code LAP026338 will be returned.
● A spare device can only be configured once. For example, if spare device No.1 has been
configured and is to be configured again, the error code LAP026339 will be returned.
● Up to 3 spare devices can be configured.
Request Parameters
Request Example
{
"uuid": "e7c0cee2-74a0-473f-802e-1afbb33d5303",
"type": 0
}
92
Hik-Partner Pro OpenAPI Developer Guide
Response Example
{
"errorCode": "0"
}
Request Parameters
Response Parameters
Response Example
{
"errorCode": "0",
"message": "ok",
"data": {
"list": [{
"uuid": "e7c0cee2-74a0-473f-802e-1afbb33d5303",
"type": 0
}]
}
}
93
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
Request Example
{
"deleteMode":"list", "list": ["e7c0cee2-74a0-473f-802e-1afbb33d5303"]
}
Response Example
{
"errorCode": "0"
}
94
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
Request Example
{
"uuid":" e7c0cee2-74a0-473f-802e-1afbb33d5303"
}
Response Parameters
Response Example
{
"errorCode": "0",
"message": "ok",
"data": {
"list": [{
"uuid": "e7c0cee2-74a0-473f-802e-1afbb33d5303",
"type": 0,
"timeLag": 1707102237228
}]
}
}
95
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
Response Parameters
Response Example
{
"errorCode": "0",
"message": "ok",
"data": {
"key": ""
}
}
}
96
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
Request Example
{
"key":""
}
Response Parameters
Response Example
{
"errorCode": "0",
"message": "ok",
"data": {
"url": ""
}
}
}
97
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
Response Parameters
Response Example
{
"errorCode": "0",
"message": "ok",
"data": {
"list": [{
"key": "",
"lastModifiedTime ": 1707102237228
}]
}
}
98
Hik-Partner Pro OpenAPI Developer Guide
Request Parameters
Request Example
{
"key":""
}
Response Example
{
"errorCode": "0"
}
99
Hik-Partner Pro OpenAPI Developer Guide
Appendix A. Appendixes
100
Hik-Partner Pro OpenAPI Developer Guide
101
Hik-Partner Pro OpenAPI Developer Guide
102
Hik-Partner Pro OpenAPI Developer Guide
103
Hik-Partner Pro OpenAPI Developer Guide
104
Hik-Partner Pro OpenAPI Developer Guide
105
Hik-Partner Pro OpenAPI Developer Guide
106
Hik-Partner Pro OpenAPI Developer Guide
107
Hik-Partner Pro OpenAPI Developer Guide
108
Hik-Partner Pro OpenAPI Developer Guide
109
Hik-Partner Pro OpenAPI Developer Guide
110
Hik-Partner Pro OpenAPI Developer Guide
A.3.1 JSON_EventNotificationAlert_cidEvent
JSON message about CID event information
111
Hik-Partner Pro OpenAPI Developer Guide
112
Hik-Partner Pro OpenAPI Developer Guide
Message Example
{
"deviceSerial":"xxx",
"triggerTime": "2009-11-14T15:27:12",
"eventType": "",
"eventDescription": "CID event",
"CIDEvent": {
"code": 1103,
"description":"",
"system": 1,
"systemName":"",
"zone": 1,
"userNo":1,
"userName": "test",
"ipcChannel": 0,
"channelSerial": "",
"zoneName": "",
"partitionNo":"",
"ModNo”:1,
"deviceNo”:1,
"temp”:1,
"longitude": "",
"latitude": ""
"evttype": "11",
"isTalk": 1,
"media": 3
}
}
A.3.2 JSON_EventNotificationAlert_devicedeleted
JSON message about device deleted alarm information
113
Hik-Partner Pro OpenAPI Developer Guide
Message Example
{
"deviceSerial":"xxx",
"dateTime": "2009-11-14T15:27:12Z",
"eventType": "",
"eventDescription": ""
}
A.3.3 JSON_EventNotificationAlert_deviceadded
JSON message about device added alarm information
114
Hik-Partner Pro OpenAPI Developer Guide
Message Example
{
"deviceSerial": "xxx",
"deviceType": "xxx",
"companyName": "xxx",
"companyPhone": "xxx",
"companyEmail": "xxx",
"hcAccount": "xxx",
"dateTime": "2009-11-14T15:27:12Z",
"eventType": "",
"eventDescription": ""
}
A.3.4 JSON_EventNotificationAlert_deviceoffline
JSON message about device offline alarm information
115
Hik-Partner Pro OpenAPI Developer Guide
Message Example
{
"deviceSerial":"xxx",
"dateTime": "2009-11-14T15:27:12Z",
"eventType": "",
"eventDescription": ""
}
A.3.5 JSON_EventNotificationAlert_deviceonline
JSON message about device online alarm information
Message Example
{
"deviceSerial":"xxx",
"dateTime": "2009-11-14T15:27:12Z",
"eventType": "",
"eventDescription": ""
}
116
Hik-Partner Pro OpenAPI Developer Guide
A.3.6 JSON_EventNotificationAlert_Linkage
JSON message about video review alarm information
Message Example
{
"deviceSerial":"xxx",
"triggerTime": "2009-11-14T15:27:12",
"eventType": "Linkage",
117
Hik-Partner Pro OpenAPI Developer Guide
"eventDescription": "",
"pictureList":[{
"id": "20220809023446-Q04814335-0-40002-2-1",
"url":"https://isgp.ezvizlife.com/v3/alarms/pic/get?fileId=20201013030822-
Q03110476-0-40002-2-1&deviceSerialNo=Q03110476&cn=0&isEncrypted=0&isCloudStored=0&a
mp;ct=4&lc=7&bn=4_alialarm-sgp&isDevVideo=0"
},
{
"id": "20220809023446-Q04814335-0-40002-2-2",
"url":"https://isgp.ezvizlife.com/v3/alarms/pic/get?fileId=20201013030822-
Q03110476-0-40002-2-2&deviceSerialNo=Q03110476&cn=0&isEncrypted=0&isCloudStored=0&a
mp;ct=4&lc=7&bn=4_alialarm-sgp&isDevVideo=0"
}],
"media":1,
"relationId":"5c09bee8-0d44-11eb-b416-4308bd0ace10"
}
A.3.7 JSON_EventNotificationAlert_ACSEvent
JSON message about access control events
{
"ipv6Address": "",
/*optional, string, IPv6 address of the alarm device, the maximum length is 128 bytes*/
"portNo": ,
/*optional, integer32, port No. of the alarm device*/
"protocol": "",
/*optional, string, protocol type: "HTTP", "HTTPS", the maximum length is 32 bytes*/
"macAddress": "",
/*optional, string, MAC address, the maximum length is 32 bytes*/
"channelID": ,
/*optional, integer32, device channel No. that triggered the alarm*/
"dateTime": "",
/*required, string, time when the alarm is triggered (UTC time), the maximum length is 32 bytes*/
"activePostCount": ,
/*required, integer32, number of times that the same alarm has been uploaded*/
"eventType": "",
/*required, string, triggered event type, here it should be "AccessControllerEvent", and the maximum length is 128
bytes*/
"eventState": "",
/*required, string, event triggering status: "active" (triggered), "inactive" (not triggered), the maximum length is 32
bytes*/
"eventDescription": "",
/*required, string, event description*/
"deviceID": "",
/*optional, string, device ID (PUID); this node must be returned when accessing via ISUP (Intelligent Security Uplink
Protocol)*/
"AccessControllerEvent":{
"deviceName": "",
/*optional, string, device name*/
118
Hik-Partner Pro OpenAPI Developer Guide
"majorEventType": ,
/*required, int, major alarm and event types (the type value should be converted to a decimal number for
transmission), see Access Control Event Types for details*/
"subEventType": ,
/*required, int, minor alarm and event types (the type value should be converted to a decimal number for
transmission), see Access Control Event Types for details*/
"inductiveEventType": "",
/*optional, string, inductive event type. This field is used by storage devices; for access control devices, this field is
invalid*/
"netUser": "",
/*optional, string, user name for network operations*/
"remoteHostAddr": "",
/*optional, string, remote host address*/
"cardNo": "",
/*optional, string, card No.*/
"cardType": ,
/*optional, integer, card types: 1-normal card, 2-disabled card, 3-blocklist card, 4-patrol card, 5-duress card, 6-super
card, 7-visitor card, 8-dismiss card*/
"name": "",
/*optional, string, person name*/
"whiteListNo": ,
/*optional, integer, allowlist No., which is between 1 and 8*/
"reportChannel": ,
/*optional, integer, channel type for uploading alarm/event: 1-for uploading arming information, 2-for uploading by
central group 1, 3-for uploading by central group 2*/
"cardReaderKind": ,
/*optional, integer, authentication unit type: 1-IC card reader, 2-ID card reader, 3-QR code scanner, 4-fingerprint
module*/
"cardReaderNo": ,
/*Optional, integer, authentication unit No.*/
"doorNo": ,
/*optional, integer, door or floor No.*/
"verifyNo": ,
/*optional, integer, multiple authentication No.*/
"alarmInNo": ,
/*optional, integer, alarm input No.*/
"alarmOutNo": ,
/*optional, integer, alarm output No.*/
"caseSensorNo": ,
/*optional, integer, event trigger No.*/
"RS485No": ,
/*optional, integer, RS-485 channel No.*/
"multiCardGroupNo": ,
/*optional, integer, group No.*/
"accessChannel": ,
/*optional, integer, swing barrier No.*/
"deviceNo": ,
/*optional, integer, device No.*/
"distractControlNo": ,
/*optional, integer, distributed controller No.*/
"employeeNoString": "",
/*optional, integer, employee ID. (person ID)*/
119
Hik-Partner Pro OpenAPI Developer Guide
"localControllerID": ,
/*optional, integer, distributed access controller No.: 0-access controller, 1 to 64-distributed access controller No.1 to
distributed access controller No.64*/
"InternetAccess": ,
/*optional, integer, network interface No.: 1-upstream network interface No.1, 2-upstream network interface No.2, 3-
downstream network interface No.1*/
"type": ,
/*optional, integer, zone type: 0-instant alarm zone, 1-24-hour alarm zone, 2-delayed zone, 3-internal zone, 4-key
zone, 5-fire alarm zone, 6-perimeter protection, 7-24-hour silent alarm zone, 8-24-hour auxiliary zone, 9-24-hour
shock alarm zone, 10-emergency door open alarm zone, 11-emergency door closed alarm zone, 255-none*/
"MACAddr": "",
/*optional, string, physical address*/
"swipeCardType": ,
/*optional, integer, card swiping types: 0-invalid, 1-QR code*/
"serialNo": ,
/*optional, integer, event serial No., which is used to judge whether the event loss occurred*/
"channelControllerID": ,
/*optional, integer, lane controller No.: 1-main lane controller, 2-sub lane controller*/
"channelControllerLampID": ,
/*optional, integer, light board No. of lane controller, which is between 1 and 255*/
"channelControllerIRAdaptorID": ,
/*optional, integer, IR adapter No. of lane controller, which is between 1 and 255*/
"channelControllerIREmitterID": ,
/*optional, integer, active infrared intrusion detector No. of lane controller, which is between 1 and 255*/
"userType": "",
/*optional, string, person type: "normal"-normal person (household), "visitor"-visitor, "blacklist"-person in blocklist,
"administrators"-administrator*/
"currentVerifyMode": "",
/*optional, string, authentication mode: "cardAndPw"-card+password, "card", "cardOrPw"-card or password, "fp"-
fingerprint, "fpAndPw"-fingerprint+password, "fpOrCard"-fingerprint or card, "fpAndCard"-fingerprint+card,
"fpAndCardAndPw"-fingerprint+card+password, "faceOrFpOrCardOrPw"-face or fingerprint or card or password,
"faceAndFp"-face+fingerprint, "faceAndPw"-face+password, "faceAndCard"-face+card, "face", "employeeNoAndPw"-
employee ID.+password, "fpOrPw"-fingerprint or password, "employeeNoAndFp"-employee ID.+fingerprint,
"employeeNoAndFpAndPw"-employee ID.+fingerprint+password, "faceAndFpAndCard"-face+fingerprint+card,
"faceAndPwAndFp"-face+password+fingerprint, "employeeNoAndFace"-employee ID.+face, "faceOrfaceAndCard"-
face or face+card, "fpOrface"-fingerprint or face, "cardOrfaceOrPw"-card or face or password, "cardOrFpOrPw"-card
or fingerprint or password*/
"QRCodeInfo":"test",
/*optional, string, QR code information*/
"thermometryUnit": "",
/*optional, string, temperature unit: "celsius"-Celsius (default), "fahrenheit"-Fahrenheit, "kelvin"-Kelvin*/
"currTemperature": ,
/*optional, float, face temperature which is accurate to one decimal place*/
"isAbnomalTemperature": ,
/*optional, boolean, whether the face temperature is abnormal: true-yes, false-no*/
"RegionCoordinates":{
/*optional, face temperature's coordinates*/
"positionX": ,
/*optional, int, normalized X-coordinate which is between 0 and 1000*/
"positionY":
/*optional, int, normalized Y-coordinate which is between 0 and 1000*/
},
120
Hik-Partner Pro OpenAPI Developer Guide
"picEnable": ,
/*optional, boolean, whether contains picture*/
"attendanceStatus":"",
/*optional, string, attendance status: "undefined", "checkIn"-check in, "checkOut"-check out, "breakOut"-break out,
"breakIn"-break in, "overtimeIn"-overtime in, "overTimeOut"-overtime out*/
"statusValue": ,
/*optional, integer, status value*/
"label":"",
/*optional, string, custom attendance name*/
"filename":"",
/*optional, string, file name. If multiple pictures are returned at a time, filename of each picture should be unique*/
"mask": "",
/*optional, string, whether the person is wearing mask: "unknown", "yes"-wearing mask, "no"-not wearing mask*/
"pictureURL": "",
/*optional, string, picture URL*/
"helmet": "",
/*optional, string, whether the person is wearing hard hat: "unknown", "yes"-wearing hard hat, "no"-not wearing
hard hat*/
"visibleLightPicUrl": "test",
/*optional, string, URL of the visible light picture*/
"thermalPicUrl": "test",
/*optional, string, URL of the thermal picture*/
"appType": "attendance",
/*optional, string, application type: "attendance" (attendance application), "signIn" (check-in application, which is
only used for information release products)*/
"HealthInfo": {
/*optional, object, health information*/
"healthCode": 1,
/*optional, int, health code status: 0 (no request), 1 (no health code), 2 (green QR code), 3 (yellow QR code), 4 (red QR
code), 5 (no such person), 6 (other error, e.g., searching failed due to API exception), 7 (searching for the health code
timed out)*/
"NADCode": 1,
/*optional, int, nucleic acid test result: 0 (no result), 1 (negative, which means normal), 2 (positive, which means
diagnosed), 3 (the result has expired)*/
"travelCode": 1,
/*optional, int, trip code: 0 (no trip in the past 14 days), 1 (once left in the past 14 days), 2 (has been to the high-risk
area in the past 14 days), 3 (other)*/
"vaccineStatus": 1
/*optional, int, whether the person is vaccinated: 0 (not vaccinated), 1 (vaccinated)*/
},
"PhysicalInfo": {
/*optional, object, phisical information*/
"weight": 7000,
/*optional, integer, weight, actual weight is (kg)*100*/
"height": 18000
/*optional, integer, height, actual weight is (cm)*100*/
},
"meetingID": "test",
/*required, string, meeting number, range:[1,32]*/
"PersonInfoExtends": [
/*optional, array, extended person information*/
{
121
Hik-Partner Pro OpenAPI Developer Guide
"id": 1,
/*optional, integer, extended person ID, range:[1,32]*/
"value": "test"
/*optional, string, content of extended person information*/
}
],
"customPrompt": "test",
/*optional, string, customized prompt, range:[1,128]*/
"FaceRect": {
/*optional, object, rectangle for face picture*/
"height": 1.000,
/*optional, float, height, range:[0.000,1.000]*/
"width": 1.000,
/*optional, float, width, range:[0.000,1.000]*/
"x": 0.000,
/*optional, float, horizontal coordinate in the upper-left corner, range:[0.000,1.000]*/
"y": 0.000
/*optional, float, vertical coordinate in the upper-left corner, range:[0.000,1.000]*/
}
},
"URLCertificationType": "digest",
/*optional, string, authentication type of picture URL: no (no authentication type), digest (digest authentication)*/
"deviceSerial": "ABCEDF"
/*required, string, device serial number*/
}
A.3.8 XML_EventNotificationAlert_diskerror
XML message about disk error alarm information
<?xml version="1.0" encoding="utf-8"?>
<EventNotificationAlert version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<deviceSerial><!--required, xs:string, device serial No.--></deviceSerial>
<dateTime>
<!--required, xs:datetime, alarm triggered time, which is in ISO 8601 time format with time zone, i.e., yyyy-MM-
ddTHH:mm:ssZ-->
</dateTime>
<eventType><!--required, xs:string, event type, here it is "diskerror"--></eventType>
<eventDescription><!--required, xs:string, event description--></eventDescription>
<diskNo><!--optional, xs:integer, disk No.--></diskNo>
<HDDList><!--optional-->
<HDD>
<id><!--required, xs:integer, HDD No., which starts from 1--></id>
<diskNumber><!--required, xs:integer, number of HDDs--></diskNumber>
</HDD>
</HDDList>
</EventNotificationAlert>
122
Hik-Partner Pro OpenAPI Developer Guide
A.3.9 XML_EventNotificationAlert_diskfull
XML message about disk full alarm information
<?xml version="1.0" encoding="utf-8"?>
<EventNotificationAlert version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<deviceSerial><!--required, xs:string, device serial No.--></deviceSerial>
<dateTime>
<!--required, xs:datetime, alarm triggered time, which is in ISO 8601 time format with time zone, i.e., yyyy-MM-
ddTHH:mm:ssZ-->
</dateTime>
<eventType><!--required, xs:string, event type, here it is "diskfull"--></eventType>
<eventDescription><!--required, xs:string, event description--></eventDescription>
<diskNo><!--optional, xs:integer, disk No.--></diskNo>
<HDDList><!--optional-->
<HDD>
<id><!--required, xs:integer, HDD No., which starts from 1--></id>
<diskNumber><!--required, xs:integer, number of HDDs--></diskNumber>
</HDD>
</HDDList>
</EventNotificationAlert>
A.3.10 XML_EventNotificationAlert_diskrecover
XML message about disk recovered alarm information
<?xml version="1.0" encoding="utf-8"?>
<EventNotificationAlert version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<deviceSerial><!--required, xs:string, device serial No.--></deviceSerial>
<dateTime>
<!--required, xs:datetime, alarm triggered time, which is in ISO 8601 time format with time zone, i.e., yyyy-MM-
ddTHH:mm:ssZ-->
</dateTime>
<eventType><!--required, xs:string, event type, here it is "diskrecover"--></eventType>
<eventDescription><!--required, xs:string, event description--></eventDescription>
<diskNo><!--optional, xs:integer, disk No.--></diskNo>
<HDDList><!--optional-->
<HDD>
<id><!--required, xs:integer, HDD No., which starts from 1--></id>
<diskNumber><!--required, xs:integer, number of HDDs--></diskNumber>
</HDD>
</HDDList>
</EventNotificationAlert>
A.3.11 XML_EventNotificationAlert_fielddetection
XML message about intrusion alarm information
123
Hik-Partner Pro OpenAPI Developer Guide
A.3.12 XML_EventNotificationAlert_IO
XML message about alarm input alarm information
<?xml version="1.0" encoding="utf-8"?>
<EventNotificationAlert version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<deviceSerial><!--required, xs:string, device serial No.--></deviceSerial>
<channelID><!--dependent, xs:string, channel No.--></channelID>
<triggerTime><!--required, xs:datetime, alarm triggered time, format: yyyy-MM-ddTHH:mm:ss--></triggerTime>
<eventType><!--required, xs:string, event type, here it is "IO"--></eventType>
<eventDescription><!--required, xs:string, event description--></eventDescription>
<inputIOPortID><!--optional, xs:integer, local alarm input ID--></inputIOPortID>
<dynInputIOPortID><!--optional, xs:integer, dynamic alarm input ID--></dynInputIOPortID>
<channelName><!--optional, xs:string, channel name--></channelName>
</EventNotificationAlert>
A.3.13 XML_EventNotificationAlert_linedetection
XML message about line crossing alarm information
124
Hik-Partner Pro OpenAPI Developer Guide
A.3.14 XML_EventNotificationAlert_recordException
XML message about video file exception information
<?xml version="1.0" encoding="utf-8"?>
<EventNotificationAlert version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<deviceSerial><!--required, xs:string, device serial No.--></deviceSerial>
<channelID><!--dependent, xs:string, channel No.--></channelID>
<triggerTime><!--required, xs:datetime, alarm triggered time, format: yyyy-MM-ddTHH:mm:ss--></triggerTime>
<eventType><!--required, xs:string, event type, here it is "recordException"--></eventType>
<eventDescription><!--required, xs:string, event description--></eventDescription>
<channelName><!--optional, xs:string, channel name--></channelName>
</EventNotificationAlert>
A.3.15 XML_EventNotificationAlert_regionExiting
XML message about region exiting alarm information
125
Hik-Partner Pro OpenAPI Developer Guide
A.3.16 XML_EventNotificationAlert_regionEntrance
XML message about region entrance alarm information
<?xml version="1.0" encoding="utf-8"?>
<EventNotificationAlert version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<deviceSerial><!--required, xs:string, device serial No.--></deviceSerial>
<channelID><!--dependent,xs:string channel number--></channelID>
<dateTime><!--optional, xs:datetime, event occurred time, which is in IOS 8601 format, e.g.,
2017-04-22T15:39:01+08:00--></dateTime>
<triggerTime><!--required, xs:datetime, alarm triggered time, format: yyyy-MM-ddTHH:mm:ss--></triggerTime>
<activePostCount><!--optional, xs:integer, event occurred times--></activePostCount>
<eventType><!--required, xs:string, event types, here it should be set to "regionEntrance"--></eventType>
<eventState><!--optioanl, xs:string, event status (for persistent event): "active, inactive"--></eventState>
<eventDescription><!--required, xs:string, event description--></eventDescription>
<DetectionRegionList><!--optional-->
<DetectionRegionEntry><!--list-->
<regionID><!--required, xs:string, detection region ID--></regionID>
<sensitivityLevel><!--optional, xs:integer, sensitivity level, which is between 0 and 100--></sensitivityLevel>
<RegionCoordinatesList><!--optional, target region-->
<RegionCoordinates><!--optional-->
<positionX><!--required, xs:integer, x-coordinate--></positionX>
<positionY><!--required, xs:integer, y-coordinate--></positionY>
</RegionCoordinates>
126
Hik-Partner Pro OpenAPI Developer Guide
</RegionCoordinatesList>
</DetectionRegionEntry>
</DetectionRegionList>
<channelName><!--optional, xs:string, channel name--></channelName>
</EventNotificationAlert>
A.3.17 XML_EventNotificationAlert_shelteralarm
XML message about video tampering alarm information
<?xml version="1.0" encoding="utf-8"?>
<EventNotificationAlert version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<deviceSerial><!--required, xs:string, device serial No.--></deviceSerial>
<channelID><!--dependent, xs:string, channel No.--></channelID>
<triggerTime><!--required, xs:datetime, alarm triggered time, format: yyyy-MM-ddTHH:mm:ss--></triggerTime>
<eventType><!--required, xs:string, event type, here it is "shelteralarm"--></eventType>
<eventDescription><!--required, xs:string, event description--></eventDescription>
<channelName><!--optional, xs:string, channel name--></channelName>
</EventNotificationAlert>
A.3.18 XML_EventNotificationAlert_videoloss
XML message about video loss alarm information
<?xml version="1.0" encoding="utf-8"?>
<EventNotificationAlert version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<deviceSerial><!--required, xs:string, device serial No.--></deviceSerial>
<channelID><!--dependent, xs:string, channel No.--></channelID>
<triggerTime><!--required, xs:datetime, alarm triggered time, format: yyyy-MM-ddTHH:mm:ss--></triggerTime>
<eventType><!--required, xs:string, event type, here it is "videoloss"--></eventType>
<eventDescription><!--required, xs:string, event description--></eventDescription>
<channelName><!--optional, xs:string, channel name--></channelName>
</EventNotificationAlert>
A.3.19 XML_EventNotificationAlert_VMD
XML message about motion detection alarm information
<?xml version="1.0" encoding="utf-8"?>
<EventNotificationAlert version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<deviceSerial><!--required, xs:string, device serial No.--></deviceSerial>
<channelID><!--dependent, xs:string, channel No.--></channelID>
<triggerTime><!--required, xs:datetime, alarm triggered time, format: yyyy-MM-ddTHH:mm:ss--></triggerTime>
<eventType><!--required, xs:string, event type, here it is "VMD"--></eventType>
<eventDescription><!--required, xs:string, event description--></eventDescription>
<channelName><!--optional, xs:string, channel name--></channelName>
</EventNotificationAlert>
127
Hik-Partner Pro OpenAPI Developer Guide
128
Hik-Partner Pro OpenAPI Developer Guide
129
Hik-Partner Pro OpenAPI Developer Guide
A.4.1 /ISAPI/AccessControl/AcsEvent?format=json
Search for access control events.
Remarks
● The recommended timeout of this URI is 10 seconds.
● If the response message contains picture data, the picture data will be returned by boundary
method; otherwise, the response message in JSON format will be returned directly.
Example
Sample Response Message with Picture Data
--MIME_boundary
Content-Type: application/json
Content-Length:480
130
Hik-Partner Pro OpenAPI Developer Guide
"AcsEvent":{
"searchID":"",
"responseStatusStrg":"OK",
"numOfMatches":1,
"totalMatches":1,
"InfoList":[{
"major":1,
"minor":1,
"time":"2016-12-12T17:30:08+08:00",
"netUser":"",
"remoteHostAddr":"",
"cardNo":"",
"cardType":1,
"whiteListNo":1,
"reportChannel":1,
"cardReaderKind":1,
"cardReaderNo":1,
"doorNo":1,
"verifyNo":1,
"alarmInNo":1,
"alarmOutNo":1,
"caseSensorNo":1,
"RS485No":1,
"multiCardGroupNo":1,
"accessChannel":1,
"deviceNo":1,
"distractControlNo":1,
"employeeNoString":"",
"localControllerID":1,
"InternetAccess":1,
"type":1,
"MACAddr":"",
"swipeCardType":1,
"serialNo":1,
"channelControllerID":1,
"channelControllerLampID":1,
"channelControllerIRAdaptorID":1,
"channelControllerIREmitterID":1,
"userType":"normal",
"currentVerifyMode":"",
"attendanceStatus":"",
"statusValue":1,
"pictureURL":"",
"picturesNumber":1,
"filename":"picture1"
}]
}
}
--MIME_boundary
Content-Disposition: form-data; filename="picture1"; //Picture data
Content-Type:image/jpeg
Content-Length:12345
131
Hik-Partner Pro OpenAPI Developer Guide
fgagasghshgshdasdad…
--MIME_boundary--
A.4.2 /ISAPI/AccessControl/UserInfo/Search?format=json
Search for person information.
Remarks
The Request (user information search condition JSON_UserInfoSearchCond ) depends on the user
information capability JSON_Cap_UserInfo (related node: <UserInfoSearchCond>).
A.4.3 /ISAPI/ContentMgmt/InputProxy/channels
Operations about management of all digital channels.
132
Hik-Partner Pro OpenAPI Developer Guide
Request None.
Response XML_InputProxyChannelList
A.4.4 /ISAPI/ContentMgmt/InputProxy/channels/status
Get status of all digital channels.
133
Hik-Partner Pro OpenAPI Developer Guide
A.4.5 /ISAPI/ContentMgmt/record/control/manualRefresh/channels/<ID>
Refresh the video mode manually before playback.
Remarks
The <ID> in the request URI refers to the channel No.
A.4.6 /ISAPI/PTZCtrl/channels/<ID>/continuous
Control PTZ to pan and tilt.
Remarks
The <ID> in the URL refers to the channel ID.
A.4.7 /ISAPI/PTZCtrl/channels/<ID>/presets
Operations about all presets' configurations.
134
Hik-Partner Pro OpenAPI Developer Guide
Remarks
The <ID> in the URI is the camera ID.
A.4.8 /ISAPI/PTZCtrl/channels/<ID>/presets/<ID>
Get or set the a preset's parameters, or delete a preset.
135
Hik-Partner Pro OpenAPI Developer Guide
A.4.9 /ISAPI/PTZCtrl/channels/<ID>/presets/<ID>/goto
Call a preset.
136
Hik-Partner Pro OpenAPI Developer Guide
Remarks
The first <ID> in the request URL refers to the channel ID, and the second <ID> refers to the preset
ID.
A.4.10 /ISAPI/SecurityCP/control/arm/<ID>?ways=<string>&format=json
Arm the partition.
Remarks
● The <ID> in the request URI refers to the partition No., which starts from 1, and 0xffffffff refers to
all partitions.
● If armProcess is returned in the response message, it indicates that the device supports arming,
and the arming process will be executed.
137
Hik-Partner Pro OpenAPI Developer Guide
A.4.11 /ISAPI/SecurityCP/control/bypass?format=json
Perform bypass on multiple zones.
A.4.12 /ISAPI/SecurityCP/control/bypassRecover?format=json
Recover bypass of multiple zones.
A.4.13 /ISAPI/SecurityCP/control/clearAlarm/<ID>?format=json
Clear alarms for a partition.
138
Hik-Partner Pro OpenAPI Developer Guide
Remarks
The <ID> in the request URI refers to the partition No., which starts from 1, and 0xffffffff indicates
all partitions.
A.4.14 /ISAPI/SecurityCP/control/disarm/<ID>?format=json
Disarm the partition.
Remarks
The <ID> in the request URI refers to partition No., which starts from 1, and 0xffffffff indicates all
partitions.
A.4.15 /ISAPI/SecurityCP/control/outputs?format=json
Control relay in batch.
139
Hik-Partner Pro OpenAPI Developer Guide
A.4.16 /ISAPI/SecurityCP/status/subSystems?format=json
Get the status of all partitions.
A.4.17 /ISAPI/SecurityCP/status/outputStatus?format=json
Get the relay status by specific conditions.
140
Hik-Partner Pro OpenAPI Developer Guide
Request JSON_OutputCond
Response Succeeded: JSON_OutputSearch_Status
Failed: JSON_ResponseStatus
A.4.18 /ISAPI/SecurityCP/status/zones?format=json
Get the zone status.
A.4.19 /ISAPI/System/deviceInfo
Operations about the device information.
141
Hik-Partner Pro OpenAPI Developer Guide
A.4.20 /ISAPI/System/IO/outputs
Get the information of all I/O output ports.
A.4.21 /ISAPI/System/IO/outputs/<ID>/status
Get status of a specific alarm output.
142
Hik-Partner Pro OpenAPI Developer Guide
Remarks
The <ID> in the request URI refers to the alarm output ID.
A.4.22 /ISAPI/System/IO/outputs/<ID>/trigger
Manually trigger a specific alarm output.
Remarks
The <ID> in the request URI refers to the alarm output ID.
A.4.23 /ISAPI/System/time
Get or set device time parameters.
143
Hik-Partner Pro OpenAPI Developer Guide
A.5.1 JSON_AcsEvent
AcsEvent message in JSON format
{
"AcsEvent":{
"searchID": "",
/*required, string type, search ID, which is used to confirm the upper-level platform or system. If the platform or the
system is the same one during two searching, the search history will be saved in the memory to speed up next
searching*/
"responseStatusStrg": "",
/*required, string, search status: "OK"-searching completed, "MORE"-searching for more results, "NO MATCH"-no
matched results*/
"numOfMatches": ,
/*required, integer, number of returned results*/
"totalMatches": ,
/*required, integer, total number of matched results*/
"InfoList": [{
144
Hik-Partner Pro OpenAPI Developer Guide
145
Hik-Partner Pro OpenAPI Developer Guide
"localControllerID": ,
/*optional, integer, distributed access controller No.: 0-access controller, 1 to 64-distributed access controller No.1 to
distributed access controller No.64*/
"InternetAccess": ,
/*optional, integer, network interface No.: 1-upstream network interface No.1, 2-upstream network interface No.2, 3-
downstream network interface No.1*/
"type": ,
/*optional, integer, zone type: 0-instant alarm zone, 1-24-hour alarm zone, 2-delayed zone, 3-internal zone, 4-key
zone, 5-fire alarm zone, 6-perimeter protection, 7-24-hour silent alarm zone, 8-24-hour auxiliary zone, 9-24-hour
shock alarm zone, 10-emergency door open alarm zone, 11-emergency door closed alarm zone, 255-none*/
"MACAddr": "",
/*optional, string, physical address*/
"swipeCardType": ,
/*optional, integer, card swiping types: 0-invalid, 1-QR code*/
"serialNo": ,
/*optional, integer, event serial No., which is used to judge whether the event loss occurred*/
"channelControllerID": ,
/*optional, integer, lane controller No.: 1-main lane controller, 2-sub lane controller*/
"channelControllerLampID": ,
/*optional, integer, light board No. of lane controller, which is between 1 and 255*/
"channelControllerIRAdaptorID": ,
/*optional, integer, IR adapter No. of lane controller, which is between 1 and 255*/
"channelControllerIREmitterID": ,
/*optional, integer, active infrared intrusion detector No. of lane controller, which is between 1 and 255*/
"userType": "",
/*optional, string, person type: "normal"-normal person (household), "visitor"-visitor, "blacklist"-person in blocklist,
"administrators"-administrator*/
"currentVerifyMode": "",
/*optional, string, authentication mode: "cardAndPw"-card+password, "card", "cardOrPw"-card or password, "fp"-
fingerprint, "fpAndPw"-fingerprint+password, "fpOrCard"-fingerprint or card, "fpAndCard"-fingerprint+card,
"fpAndCardAndPw"-fingerprint+card+password, "faceOrFpOrCardOrPw"-face or fingerprint or card or password,
"faceAndFp"-face+fingerprint, "faceAndPw"-face+password, "faceAndCard"-face+card, "face", "employeeNoAndPw"-
employee ID.+password, "fpOrPw"-fingerprint or password, "employeeNoAndFp"-employee ID.+fingerprint,
"employeeNoAndFpAndPw"-employee ID.+fingerprint+password, "faceAndFpAndCard"-face+fingerprint+card,
"faceAndPwAndFp"-face+password+fingerprint, "employeeNoAndFace"-employee ID.+face, "faceOrfaceAndCard"-
face or face+card, "fpOrface"-fingerprint or face, "cardOrfaceOrPw"-card or face or password, "cardOrFpOrPw"-card
or fingerprint or password*/
"QRCodeInfo":"test",
/*optional, string, QR code information*/
"thermometryUnit": "",
/*optional, string, temperature unit: "celsius"-Celsius (default), "fahrenheit"-Fahrenheit, "kelvin"-Kelvin*/
"currTemperature": ,
/*optional, float, face temperature which is accurate to one decimal place*/
"isAbnomalTemperature": ,
/*optional, boolean, whether the face temperature is abnormal: true-yes, false-no*/
"RegionCoordinates":{
/*optional, face temperature's coordinates*/
"positionX": ,
/*optional, int, normalized X-coordinate which is between 0 and 1000*/
"positionY":
/*optional, int, normalized Y-coordinate which is between 0 and 1000*/
},
146
Hik-Partner Pro OpenAPI Developer Guide
"mask": "",
/*optional, string, whether the person is wearing mask: "unknown", "yes"-wearing mask, "no"-not wearing mask*/
"pictureURL": "",
/*optional, string, picture URL*/
"filename":"",
/*optional, string, file name. If multiple pictures are returned at a time, filename of each picture should be unique*/
"attendanceStatus":"",
/*optional, string, attendance status: "undefined", "checkIn"-check in, "checkOut"-check out, "breakOut"-break out,
"breakIn"-break in, "overtimeIn"-overtime in, "overTimeOut"-overtime out*/
"label":"",
/*optional, string, custom attendance name*/
"statusValue": ,
/*optional, integer, status value*/
"helmet": "",
/*optional, string, whether the person is wearing hard hat: "unknown", "yes"-wearing hard hat, "no"-not wearing
hard hat*/
"visibleLightPicUrl": "test",
/*optional, string, URL of the visible light picture*/
"thermalPicUrl": "test",
/*optional, string, URL of the thermal picture*/
"appType": "attendance",
/*optional, string, application type: "attendance" (attendance application), "signIn" (check-in application, which is
only used for information release products)*/
"HealthInfo": {
/*optional, object, health information*/
"healthCode": 1,
/*optional, int, health code status: 0 (no request), 1 (no health code), 2 (green QR code), 3 (yellow QR code), 4 (red QR
code), 5 (no such person), 6 (other error, e.g., searching failed due to API exception), 7 (searching for the health code
timed out)*/
"NADCode": 1,
/*optional, int, nucleic acid test result: 0 (no result), 1 (negative, which means normal), 2 (positive, which means
diagnosed), 3 (the result has expired)*/
"travelCode": 1,
/*optional, int, trip code: 0 (no trip in the past 14 days), 1 (once left in the past 14 days), 2 (has been to the high-risk
area in the past 14 days), 3 (other)*/
"vaccineStatus": 1
/*optional, int, whether the person is vaccinated: 0 (not vaccinated), 1 (vaccinated)*/
},
"meetingID": "test",
/*required, string, meeting number, range:[1,32]*/
"PersonInfoExtends": [
/*optional, array, extended person information*/
{
"id": 1,
/*optional, integer, extended person ID, range:[1,32]*/
"value": "test"
/*optional, string, content of extended person information*/
}],
"name": "test",
/*optional, string, name*/
"FaceRect": {
/*optional, object, rectangle for face picture*/
147
Hik-Partner Pro OpenAPI Developer Guide
"height": 1.000,
/*optional, float, height, range:[0.000,1.000]*/
"width": 1.000,
/*optional, float, width, range:[0.000,1.000]*/
"x": 0.000,
/*optional, float, horizontal coordinate in the upper-left corner, range:[0.000,1.000]*/
"y": 0.000
/*optional, float, vertical coordinate in the upper-left corner, range:[0.000,1.000]*/
}
}],
}
}
A.5.2 JSON_AcsEventCond
AcsEventCond message in JSON format
{
"AcsEventCond": {
"searchID": "",
/*required, string type, search ID, which is used to confirm the upper-level platform or system. If the platform or the
system is the same one during two searching, the search history will be saved in the memory to speed up next
searching*/
"searchResultPosition": ,
/*required, integer, the start position of the search result in the result list. When there are multiple records and you
cannot get all search results at a time, you can search for the records after the specified position next time*/
"maxResults": ,
/*required, integer, maximum number of search results. If maxResults exceeds the range returned by the device
capability, the device will return the maximum number of search results according to the device capability and will not
return error message*/
"major": ,
/*required, integer, major alarm/event types (the type value should be transformed to the decimal number), see
Access Control Alarm Types for details*/
"minor": ,
/*required, integer, minor alarm/event types (the type value should be transformed to the decimal number), see
Access Control Alarm Types for details*/
"startTime": "",
/*optional, string, start time (UTC time), e.g., 2016-12-12T17:30:08+08:00*/
"endTime": "",
/*optional, string, end time (UTC time), e.g.,2017-12-12T17:30:08+08:00*/
"cardNo": "",
/*optional, string, card No.*/
"name": "",
/*optional, string,cardholder name*/
"picEnable": ,
/*optional, boolean, whether to contain pictures: "false"-no, "true"-yes*/
"beginSerialNo": ,
/*optional, integer, start serial No.*/
"endSerialNo": ,
/*optional, integer, end serial No.*/
"employeeNoString":"",
148
Hik-Partner Pro OpenAPI Developer Guide
A.5.3 JSON_List_ID
JSON message about zone ID list
{
"List":[{
"id":
/*int, zone No., which starts from 0; it is required when performing bypass or bypass recovered on multiple zones; it is
not required when performing bypass or bypass recovered on a zone*/
}]
}
A.5.4 JSON_OutputCond
JSON message about conditions of getting relay status
{
"OutputCond":{
"searchID":"",
/*required, string, search ID, which is used to confirm the upper-level platform or system. If the platform or the
system is the same one during two searching, the search history will be saved in the memory to speed up next
searching*/
"searchResultPosition": ,
/*required, integer32, the start position of the search result in the result list. When there are multiple records and you
cannot get all search results at a time, you can search for the records after the specified position next time*/
"maxResults": ,
/*required, integer32, maximum number of search results this time by calling this URI. If maxResults exceeds the
range returned by the device capability, the device will return the maximum number of search results according to the
device capability and will not return error message*/
"outputModuleNo": ,
/*optional, int, linked output module No.*/
"moduleType":""
149
Hik-Partner Pro OpenAPI Developer Guide
/*optional, string, module type: "localWired"-local wired module, "extendWired"-extended wired module,
"localWireless"-local wireless module, "extendWireless"-extended wireless module*/
}
}
A.5.5 JSON_OutputsCtrl
JSON message about relay control parameters
{
"OutputsCtrl":{
"switch":""
/*required, string, "open"-enable relay, "close"-disable relay*/
"List":[{
/*it is required when control multiple relays, and it is not required when control only one relay*/
"id":
/*int, relay No., which starts from 0*/
}]
}
}
A.5.6 JSON_OutputSearch_Status
JSON message about results of getting relay status
{
"OutputSearch":{
"searchID":"",
/*required, string, search ID, which is used to confirm the upper-level platform or system. If the platform or the
system is the same one during two searching, the search history will be saved in the memory to speed up next
searching*/
"responseStatusStrg":"",
/*required, string, search status: "OK"-searching completed, "NO MATCH"-no matched results, "MORE"-searching for
more results*/
"numOfMatches": ,
/*required, integer32, number of results returned this time*/
"totalMatches": ,
/*required, integer32, total number of matched results*/
"OutputList":[{
/*optional, relay list*/
"Output":{
"id": ,
/*required, int, relay No.*/
"name":"",
/*optional, string, relay name*/
"status":"",
/*optional, string, relay status: "notRelated"-not linked, "on", "off", "offline", "heartbeatAbnormal"-heartbeat
exception*/
"tamperEvident": ,
150
Hik-Partner Pro OpenAPI Developer Guide
/*optional, boolean, zone tampering status: true (tampered), false (not tampered)*/
"charge":"",
/*optional, string, state of charge: "normal", "lowPower"-low battery*/
"linkage":"",
/*optional, string, event type linked to the relay: "alarm", "arming", "disarming", "manualCtrl"-manually control*/
"signal": ,
/*optional, int, signal strength, it is between 0 and 255*/
"temperature": 1,
/*optional, int, temperature*/
"devIndex": "test",
/*optional, string, device ID, the maximum length is 64 bytes*/
"devName": "test",
/*optional, string, device name, the maximum length is 64 bytes*/
"durationConstOutputEnable": true,
/*optional, boolean, whether to always keep the relay open*/
"isAvailable": true,
/*optional, boolean, whether the relay is enabled, if this node is not returned, it indicates that the relay is enabled by
default*/
"accessModuleType": "transmitter",
/*optional, enum, access module type: "transmitter", "localTransmitter", "multiTransmitter", "localRelay", "keypad"*/
"relatedAccessModuleID": 1,
/*optional, int, linked access module ID*/
"address": 254,
/*optional, int, wired (extended) module address, this node works with accessModuleType*/
"subSystemList": [1, 2, 3],
/*optional, array, list of linked partitions*/
"scenarioType": ["alarm"],
/*optional, array, scenario type*/
"relayAttrib": "wired",
/*optional, string, relay attribute: "wired", "wireless" (default)*/
"deviceNo": 1
/*optional, int, device ID, range:[1,1000]*/
}
}]
}
}
A.5.7 JSON_Operate
JSON message about operation parameters
{
"Operate": {
/*optional, object, operation parameters*/
"moduleOperateCode": "12345"
/*optional, string, module operation code, which should be encrypted*/
}
}
151
Hik-Partner Pro OpenAPI Developer Guide
A.5.8 JSON_ResponseStatus
JSON message about response status
{
"requestURL":"",
/*optional, string, request URL*/
"statusCode": ,
/*optional, int, status code*/
"statusString":"",
/*optional, string, status description*/
"subStatusCode":"",
/*optional, string, sub status code*/
"errorCode": ,
/*required, int, error code, which corresponds to subStatusCode, this field is required when statusCode is not 1. The
returned value is the transformed decimal number*/
"errorMsg":"",
/*required, string, error details, this field is required when statusCode is not 1*/
"MErrCode": "0xFFFFFFFF",
/*optional, string, error code categorized by functional modules*/
"MErrDevSelfEx": "0xFFFFFFFF"
/*optional, string, extension of MErrCode. It is used to define the custom error code, which is categorized by
functional modules*/
}
A.5.9 JSON_SubSysList
JSON message about partition information list
{
"SubSysList":[{
/*required, partition list*/
"SubSys":{
/*optional, partition, it can be set to NULL if partitions are not needed*/
"id": ,
/*required, int, partition No., which starts from 1*/
"armType":"",
/*required, string, partition arming type: "stay"-stay arming, "away"-away arming. This node is only valid for arming
partitions in a batch*/
"arming":"",
/*optional, string, partition arming/disarming status, "stay"-stay arming, "away"-away arming, "disarm"-disarmed,
"arming"*/
"alarm": ,
/*optional, boolean, whether the partition alarm is triggered: true, false*/
"preventFaultArm": ,
/*optional, boolean, whether to prevent fault arming: true, false*/
"enabled": ,
/*optional, boolean, whether to enable the partition*/
"name":"",
152
Hik-Partner Pro OpenAPI Developer Guide
A.5.10 JSON_UserInfoSearch
UserInfoSearch message in JSON format
{
"UserInfoSearch":{
"searchID":"",
/*required, string type, search ID, which is used to confirm the upper-level platform or system. If the platform or the
system is the same one during two searching, the search history will be saved in the memory to speed up next
searching*/
"responseStatusStrg":"",
/*required, string, search status: "OK"-searching completed, "NO MATCH"-no matched results, "MORE"-searching for
more results*/
"numOfMatches": ,
/*required, integer32, number of returned results this time*/
"totalMatches": ,
/*required, integer32, total number of matched results*/
"UserInfo":[{
/*optional, person information*/
"employeeNo":"",
/*required, string, employee ID. (person ID)*/
"name":"",
/*optional, string, person name*/
"userType":"",
/*required, string, person type: "normal"-normal person (household), "visitor", "blackList"-person in blocklist*/
"closeDelayEnabled": ,
/*optional, boolean, whether to enable door close delay: "true"-yes, "false"-no*/
"Valid":{
/*required, parameters of the effective period*/
"enable":"",
/*required, boolean, whether to enable the effective period: "false"-disable, "true"-enable. If this node is set to
"false", the effective period is permanent*/
"beginTime":"",
/*required, start time of the effective period (if timeType does not exist or is "local", the beginTime is the device local
time, e.g., 2017-08-01T17:30:08; if timeType is "UTC", the beginTime is UTC time, e.g., 2017-08-01T17:30:08+08:00)*/
"endTime":"",
/*required, end time of the effective period (if timeType does not exist or is "local", the endTime is the device local
time, e.g., 2017-08-01T17:30:08; if timeType is "UTC", the endTime is UTC time, e.g., 2017-08-01T17:30:08+08:00)*/
"timeType":""
/*optional, string, time type: "local"- device local time, "UTC"- UTC time*/
},
153
Hik-Partner Pro OpenAPI Developer Guide
"belongGroup":"",
/*optional, string, group*/
"password":"",
/*optional, string, password*/
"doorRight":"",
/*optional, string, No. of door or lock that has access permission, e.g., "1,3" indicates having permission to access
door (lock) No. 1 and No. 3*/
"RightPlan":[{
/*optional, access permission schedule of the door or lock*/
"doorNo": ,
/*optional, integer, door No. (lock ID)*/
"planTemplateNo":""
/*optional, string, schedule template No.*/
}],
"maxOpenDoorTime": ,
/*optional, integer, the maximum authentication attempts, 0-unlimited*/
"openDoorTime": ,
/*optional, integer, read-only, authenticated attempts*/
"roomNumber": ,
/*optional, integer, room No.*/
"floorNumber": ,
/*optional, integer, floor No.*/
"doubleLockRight": ,
/*optional, boolean, whether to have the permission to open the double-locked door: "true"-yes, "false"-no*/
"localUIRight": ,
/*optional, boolean, whether to have the permission to access the device local UI: "true"-yes, "false"-no*/
"localUIUserType":"",
/*optional, string, user type of device local UI: "admin" (administrator), "operator", "viewer" (normal user). This node
is used to distinguish different users with different operation permissions of device local UI*/
"userVerifyMode":"",
/*optional, string, person authentication mode: "cardAndPw"-card+password, "card"-card, "cardOrPw"-card or
password, "fp"-fingerprint, "fpAndPw"-fingerprint+password, "fpOrCard"-fingerprint or card, "fpAndCard"-fingerprint
+card, "fpAndCardAndPw"-fingerprint+card+password, "faceOrFpOrCardOrPw"-face or fingerprint or card or
password, "faceAndFp"-face+fingerprint, "faceAndPw"-face+password, "faceAndCard"-face+card, "face"-face,
"employeeNoAndPw"-employee ID.+password, "fpOrPw"-fingerprint or password, "employeeNoAndFp"-employee ID.
+fingerprint, "employeeNoAndFpAndPw"-employee ID.+fingerprint+password, "faceAndFpAndCard"-face+fingerprint
+card, "faceAndPwAndFp"-face+password+fingerprint, "employeeNoAndFace"-employee ID.+face,
"faceOrfaceAndCard"-face or face+card, "fpOrface"-fingerprint or face, "cardOrfaceOrPw"-card or face or password,
"cardOrFace"-card or face, "cardOrFaceOrFp"-card or face or fingerprint, "cardOrFpOrPw"-card or fingerprint or
password. The priority of the person authentication mode is higher than that of the card reader authentication
mode*/
"dynamicCode": "123456",
/*optional, string, dynamic permission code, this node is write-only*/
"callNumbers": ["","",""],
/*optional, array of string, list of called numbers, the default rule is "X-X-X-X", e.g., "1-1-1-401". This node is the
extension of the node roomNumber. When the number list is supported, you need to use this node to configure
parameters*/
"floorNumbers": [1,2],
/*optional, array of int, floor No. list. This node is the extension of floorNumber. When the number list is supported,
you need to use this node to configure parameters*/
"numOfFace":0,
/*optional, int, number of linked face pictures. This node is read-only and if it is not returned, it indicates that this
154
Hik-Partner Pro OpenAPI Developer Guide
155
Hik-Partner Pro OpenAPI Developer Guide
"SIPVersion": "V10"
/*optional, string, private SIP version, range:[0,32]*/
},
"ESDType": "handAndFoot"
/*optional, enumerate, ESD detection type: handAndFoot (detect both hand and foot), no (no detection), hand
(detect hand), foot (detect foot)*/
}]
}
}
A.5.11 JSON_UserInfoSearchCond
UserInfoSearchCond message in JSON format
{
"UserInfoSearchCond":{
"searchID":"",
/*required, string type, search ID, which is used to confirm the upper-level platform or system. If the platform or the
system is the same one during two searching, the search history will be saved in the memory to speed up next
searching*/
"searchResultPosition": ,
/*required, integer32 type, the start position of the search result in the result list. When there are multiple records
and you cannot get all search results at a time, you can search for the records after the specified position next time*/
"maxResults": ,
/*required, integer32 type, maximum number of search results. If maxResults exceeds the range returned by the
device capability, the device will return the maximum number of search results according to the device capability and
will not return error message*/
"EmployeeNoList":[{
/*optional, person ID list (if this node does not exist or is empty, it indicates searching for all person information)*/
"employeeNo":""
/*optional, string type, employee No. (person ID)*/
}],
"fuzzySearch":"",
/*optional, string, key words for fuzzy search*/
"userType": "normal",
/*optional, string, normal(normal user), visitor (visitor), blockList (person in blocklist), patient (patient), maintenance
(maintenance people)*/
"deviceIDList": [1, 2]
/*optional, array, device ID list*/
}
}
A.5.12 JSON_ZoneCond
ZoneCond message in JSON format
{
"ZoneCond":{
"searchID":"",
156
Hik-Partner Pro OpenAPI Developer Guide
/*required, string type, search ID, which is used to confirm the upper-level platform or system. If the platform or the
system is the same one during two searching, the search history will be saved in the memory to speed up next
searching*/
"searchResultPosition": ,
/*required, integer32 type, the start position of the search result in the result list. When there are multiple records
and you cannot get all search results at a time, you can search for the records after the specified position next time*/
"maxResults":
/*required, integer32 type, maximum number of search results that can be obtained this time by calling the URI. If
maxResults exceeds the range returned by the device capability, the device will return the maximum number of
search results according to the device capability and will not return error message*/
}
}
A.5.13 JSON_ZoneList
JSON message about zone status list
{
"ZoneList":[{
"Zone":{
"id": ,
/*required, int, zone ID*/
"name":"",
/*optional, string, zone name*/
"status":"",
/*optional, string, zone status, "notRelated"-no zone linked, "online"-online, "offline"-offline, "trigger"-triggered,
"breakDown"-fault, "heartbeatAbnormal"-heartbeat exception*/
"reason": "short",
/*optional, string, default reason: "short", "break"*/
"tamperEvident": ,
/*optional, boolean, zone tampering alarm status, true-triggered, false-not triggered*/
"shielded": ,
/*optional, boolean, zone disabling status, true-disabled, false-not disabled*/
"bypassed": ,
/*optional, boolean, whether to bypass the zone, true-bypassed, false-bypass recovered*/
"armed": ,
/*required, boolean, whether to arm the zone, true-armed, false-disarmed*/
"isArming": ,
/*optional, boolean, whether the zone is armed, this node can only be set to "true"*/
"alarm": ,
/*optional, boolean, whether the zone alarm is triggered, true-triggered, false-not triggered*/
"charge": "",
/*optional, string, zone battery status, "normal", "lowPower"-low battery*/
"chargeValue": ,
/*optional, int, battery power value which is between 0 and 100*/
"signal": ,
/*optional, int, signal strength, which ranges from 0 to 255*/
"temperature": ,
/*optional, read-only, int, temperature*/
"detectorType":"",
/*optional, string, type of the detector linked to the zone, see details about the supported detector types in
157
Hik-Partner Pro OpenAPI Developer Guide
JSON_ZoneCap*/
"model": "",
/*optional, string, model*/
"zoneType":""
/*optional, string, zone type: "Instant"-instant zone, "Delay"-delay zone, "Follow"-follow zone, "Perimeter"-perimeter
zone, "24hNoSound"-24-hour silent zone, "Emergency"-panic zone, "Fire"-fire zone, "Gas"-gas zone, "Medical"-
medical zone, "Timeout"-timeout zone, "Non-Alarm"-disabled zone, "Key"-key zone*/
"humidity": 20,
/*optional, int, read-only, humidity, the value is between 10% and 90%*/
"healthStatus": "normal",
/*optional, string, read-only, health status: "normal", "fault"*/
"antiMaskingEnabled": true,
/*optional, boolean, read-only, whether to enable anti-masking: true-enable,false-disable*/
"mountingType": "wall",
/*optional, string, read-only, mounting type: "wall", "ceiling"*/
"magnetOpenStatus": true,
/*optional, boolean, whether the magnetic contact is open: true (open), false (closed)*/
"version": "test",
/*optional, string, detector version No., the maximum length is 32 bytes*/
"pirCamConnected": true,
/*optional, boolean, whether the outdoor triple signal detector and PIR camera are connected: true (yes), false (no)*/
"accessModuleType": "transmitter",
/*optional, enum, access module type: "transmitter", "localTransmitter", "multiTransmitter", "localZone", "keypad"*/
"relatedAccessModuleID": 1,
/*optional, int, linked access module ID*/
"address": 254,
/*optional, int, wired (extended) module address, this node works with accessModuleType*/
"zoneAttrib": "wired",
/*optional, enum, zone attribute: "wired", "wireless" (default)*/
"voltage": 1,
/*optional, int, voltage of the zone*/
"signalStrength": 1,
/*optional, int, signal strength, range:[-128,127]*/
"mainCharge": "normal",
/*optional, enum, main (adapter) power status: "normal", "lowPower". Main power and zone power refers to the
zone's adapter power status and the zone's battery status respectively*/
"preheatStatus": "processing",
/*optional, enum, pre-heat status: "processing", "success"*/
"userfulLifeStatus": "expire",
/*optional, enum, expiry status: "expire", "normal"*/
"mazeStatus": "abnormal",
/*optional, enum, maze status: "abnormal", "normal"*/
"sensorStatus": "abnormal",
/*optional, enum, sensor status: "abnormal", "normal"*/
"deviceNo": 1
/*optional, int, device No., range:[1,1000]*/
}
}]
}
158
Hik-Partner Pro OpenAPI Developer Guide
A.5.14 JSON_ZoneSearch
JSON message about the result of zone status
{
"ZoneSearch":{
"searchID":"",
/*required, string type, search ID, which is used to confirm the upper-level platform or system. If the platform or the
system is the same one during two searching, the search history will be saved in the memory to speed up next
searching*/
"responseStatusStrg":"",
/*required, string type, search status: "OK"-searching completed, "NO MATCH"-no matched results, "MORE"-
searching for more results*/
"numOfMatches": ,
/*required, integer32, number of returned results this time*/
"totalMatches": ,
/*required, integer32, total number of matched results*/
"ZoneList":[{
"Zone":{
"id": ,
/*required, integer type, zone No.*/
"name":"",
/*optional, string type, zone name*/
"status":"",
/*optional, string type, zone status: "notRelated"-not linked, "online", "offline", "trigger", "breakDown"-fault,
"heartbeatAbnormal"-heartbeat exception*/
"tamperEvident": ,
/*optional, boolean type, zone tampering status: "true"-tampered, "false"-not tampered*/
"shielded": ,
/*optional, boolean type, zone shielding status: "true"-shielded, "false"-not shielded*/
"bypassed": ,
/*optional, boolean type, whether the zone is bypassed: "true"-yes, "false"-no*/
"armed": ,
/*required, boolean type, whether the zone is armed: "true"-yes, "false"-no*/
"isArming": ,
/*optional, boolean type, whether the zone is armed, this node can only be set to "true"*/
"alarm": ,
/*optional, boolean type, whether the alarm is triggered in the zone: "true-yes, "false"-no*/
"charge":"",
/*optional, string type, state of charge of the zone: "normal", "lowPower"-low battery*/
"signal": ,
/*optional, integer type, signal strength, it is between 0 and 255*/
"subSystemNo ": ,
/*optional, integer type, partition No.*/
"zoneAttrib":"",
/*optional, string, zone attribute: "wired", "wireless". If this node is not returned, the default zone attribute is
"wireless"*/
"RelatedChanList":[{
/*optional, list of linked channel No.*/
"RelatedChan":{
"relator":"",
159
Hik-Partner Pro OpenAPI Developer Guide
/*required, string type, device linked to the channel when the alarm is triggered*/
"cameraSeq":"",
/*optional, string type, camera serial No.*/
"relatedChan":
/*optional, integer type, linked channel No.*/
}
}],
"detectorType": "test",
/*optional, string, type of the detector linked to the zone*/
"model": "DS-PM1-O8-WE",
/*optional, enum, model, subType:string, "DS-PM1-O8-WE", "DS-PM1-O2-WE"*/
"zoneType": "Instant",
/*optional, string, zone type: "Instant"-instant zone, "Delay"-delay zone, "Follow"-follow zone, "Perimeter"-perimeter
zone, "24hNoSound"-24-hour silent zone, "Emergency"-panic zone, "Fire"-fire zone, "Gas"-gas zone, "Medical"-
medical zone, "Timeout"-timeout zone, "Non-Alarm"-disabled zone, "Key"-key zone*/
"InputList": [
/*optional, array, list of input status*/
{
"id": 1,
/*required, int, input ID*/
"enabled": true,
/*required, boolean, whether it is enabled*/
"mode": "NO"
/*optional, enum, input type: "rolling shutter", "NC" (always closed), "NO" (always open)*/
}
],
"humidity": 10,
/*optional, int, humidity, the value is between 10% and 90%*/
"healthStatus": "normal",
/*optional, string, read-only, health status: "normal", "fault"*/
"antiMaskingEnabled": true,
/*optional, boolean, read-only, whether to enable anti-masking: true-enable,false-disable*/
"mountingType": "wall",
/*optional, string, read-only, mounting type: "wall", "ceiling"*/
"magnetOpenStatus": true,
/*optional, boolean, whether the magnetic contact is open: true (open), false (closed)*/
"devIndex": "test",
/*optional, string, device ID, the maximum length is 64 bytes*/
"devName": "test",
/*optional, string, device name, the maximum length is 64 bytes*/
"isAvailable": true,
/*optional, boolean, whether the partition is available: true (default), false*/
"isBypassedAvailable": true,
/*optional, boolean, whether bypass is configurable: true (yes), false (no). By default, it is configurable*/
"version": "test",
/*optional, string, detector version No., the maximum length is 32 bytes*/
"pirCamConnected": true,
/*optional, boolean, whether the outdoor triple signal detector and PIR camera are connected: true (yes), false (no)*/
"accessModuleType": "transmitter",
/*optional, enum, access module type: "transmitter", "localTransmitter", "multiTransmitter", "localZone", "keypad"*/
"relatedAccessModuleID": 1,
/*optional, int, linked access module ID*/
160
Hik-Partner Pro OpenAPI Developer Guide
"address": 254,
/*optional, int, wired (extended) module address, this node works with accessModuleType*/
"deviceNo": 1
/*optional, int, device ID, range:[1,1000]*/
}
}]
}
}
A.5.15 XML_Absolute_PTZData
XML message about PTZ control parameters
<?xml version="1.0" encoding="UTF-8"?>
A.5.16 XML_DeviceInfo
XML message about device information
<?xml version="1.0" encoding="utf-8"?>
<DeviceInfo version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<deviceName><!--required, xs:string--></deviceName>
<deviceID><!--required, read-only, xs:string, uuid--></deviceID>
<deviceDescription>
<!--optional, xs:string, description about the device defined in RFC1213. For network camera, this node is set to
"IPCamera"; for network speed dome, this node is set to "IPDome"; for DVR or DVS, this node is set to "DVR" or
"DVS"-->
161
Hik-Partner Pro OpenAPI Developer Guide
</deviceDescription>
<deviceLocation><!--optional, xs:string, actual location of the device--></deviceLocation>
<deviceStatus><!--optional, read-only, xs:string, device status: "normal", "abnormal"--></deviceStatus>
<DetailAbnormalStatus>
<!--dependent, error status details, it is valid only when deviceStatus is "abnormal"-->
<hardDiskFull>
<!--optional, read-only, xs: boolean, whether the error of "HDD full" occurred: "true"-yes,"false"-no-->
</hardDiskFull>
<hardDiskError>
<!--optional, read-only, xs:boolean, whether the error of "HDD error" occurred: "true"-yes,"false"-no-->
</hardDiskError>
<ethernetBroken>
<!--optional, read-only, xs: boolean, whether the error of "network disconnected" occurred: "true"-yes,"false"-no--
>
</ethernetBroken>
<ipaddrConflict>
<!--optional, read-only, xs: boolean, whether the error of "IP address conflicted" occurred: "true"-yes,"false"-no-->
</ipaddrConflict>
<illegalAccess>
<!--optional, read-only, xs: boolean, whether the error of "illegal login" occurred: "true"-yes,"false"-no-->
</illegalAccess>
<recordError>
<!--optional, read-only, xs: boolean, whether the error of "recording exception" occurred: "true"-yes,"false"-no-->
</recordError>
<raidLogicDiskError>
<!--optional, read-only, xs: boolean, whether the error of "RAID exception" occurred: "true"-yes,"false"-no-->
</raidLogicDiskError>
<spareWorkDeviceError>
<!--optional, read-only, xs: boolean, whether the error of "working device exception" occurred: "true"-yes,"false"-
no-->
</spareWorkDeviceError>
</DetailAbnormalStatus>
<systemContact><!--optional, xs:string, contact information of the device--></systemContact>
<model><!--required, read-only, xs:string--></model>
<serialNumber><!--required, read-only, xs:string--></serialNumber>
<macAddress><!--required, read-only, xs:string--></macAddress>
<firmwareVersion><!--required, read-only, xs:string--></firmwareVersion>
<firmwareReleasedDate><!--optional, read-only, xs:string--></firmwareReleasedDate>
<bootVersion><!--optional, read-only, xs:string--></bootVersion>
<bootReleasedDate><!--optional, read-only, xs:string--></bootReleasedDate>
<hardwareVersion><!--optional, read-only, xs:string--></hardwareVersion>
<encoderVersion><!--optional, read-only, xs:string--></encoderVersion>
<encoderReleasedDate><!--optional, read-only, xs:stirng--></encoderReleasedDate>
<decoderVersion><!--optional, read-only, xs:string--></decoderVersion>
<decoderReleasedDate><!--optional, read-only, xs:stirng--></decoderReleasedDate>
<softwareVersion><!--optional, read-only, xs:string, software version--></softwareVersion>
<capacity><!--optional, read-only, xs:integer, unit: MB, device capacity--></capacity>
<usedCapacity><!--optional, read-only, xs:integer, unit: MB, capacity usage--></usedCapacity>
<deviceType>
<!--required, read-only, xs:string, device type: "IPCamera", "IPDome", "DVR", "HybirdNVR", "NVR", "DVS", "IPZoom",
"CVR", "Radar", "PerimeterRadar"-perimeter radar, "ACS", "PHA"-Axiom hybrid security control panel-->
</deviceType>
162
Hik-Partner Pro OpenAPI Developer Guide
<telecontrolID><!--optional, xs:integer, keyfob control ID, the value is between 1 and 255--></telecontrolID>
<supportBeep><!--optional, xs:boolean--></supportBeep>
<supportVideoLoss><!--optional, xs:boolean, whether it supports video loss detection--></supportVideoLoss>
<firmwareVersionInfo><!--optional, read-only, xs:string, firmware version information--></firmwareVersionInfo>
<actualFloorNum>
<!--required, xs: integer, actual number of floors, which is between 1 and 128-->
</actualFloorNum>
<subChannelEnabled><!--optional, xs:boolean, whether to support sub-stream live view: "true"-yes, "false"-no--></
subChannelEnabled>
<thrChannelEnabled><!--optional, xs:boolean, whether to support third stream live view: "true"-yes, "false"-no--></
thrChannelEnabled>
<radarVersion><!--optional, xs:string, radar version--></radarVersion>
<cameraModuleVersion><!--read-only, xs:string, camera module version--></cameraModuleVersion>
<mainversion><!--optional, xs:integer, main version No. which is between 1 and 255--></mainversion>
<subversion><!--optional, xs:integer, sub version No. which is between 1 and 255--></subversion>
<upgradeversion><!--optional, xs:integer, upgraded version No. which is between 1 and 255--></upgradeversion>
<customizeversion><!--optional, xs:integer, customized version No. which is between 1 and 255--></
customizeversion>
<companyName><!--optional, xs:string, the manufacturing company's abbreviation--></companyName>
<copyright><!--optional, xs:string, copyright information--></copyright>
<systemName><!--optional, xs:string , storage system name: "storageManagement"-storage management system,
"distributedStorageManagement"-distrubuted storage management system--></systemName>
<systemStatus><!--optional, xs:string,system status: "configured"-configured, "unConfigured"-not configured--></
systemStatus>
<isLeaderDevice><!--optional, xs:boolean, whether it is the corresponding device of the resource IP address--></
isLeaderDevice>
<clusterVersion><!--dependent, xs:string, system cluster version. This node is valid when the value of isLeaderDevice
is true--></clusterVersion>
<manufacturer><!--optional, xs:string, manufacturer information: "hikvision"-Hikvision devices; for neutral devices,
this node should be empty--></manufacturer>
<customizedInfo><!--optional, xs:string, order No. of the customization project. For baseline devices, this node is
empty; for custom devices, the order No. of the customization project will be returned by this node--></
customizedInfo>
<localZoneNum><!--optional, xs:integer, number of local zones--></localZoneNum>
<alarmOutNum><!--optional, xs:integer, number of alarm outputs--></alarmOutNum>
<distanceResolution><!--optional, xs:float, resolution of distance, unit: meter--></distanceResolution>
<angleResolution><!--optional, xs:float, resolution of angle, unit: degree--></angleResolution>
<speedResolution><!--optional, xs:float, resolution of speed, unit: m/s--></speedResolution>
<detectDistance><!--optional, xs:float, detection distance, unit: meter--></detectDistance>
<languageType><!--optional, xs:string, language type: Chinese, English, Spanish, Portuguese, Italian, French, Russian,
German, Polish, Turkish, Greek, Czech, Brazilian, Portuguese, Slovenian, Swedish, Norwegian, Slovak, Serbian, Dutch,
Hungarian, Irish, Bulgarian, Hebrew, Thai, Indonesian, Arabic, Traditional Chinese--></languageType>
<relayNum><!--optional, xs:integer, number of local relays--></relayNum>
<electroLockNum><!--optional, xs:integer, number of local electronic locks--></electroLockNum>
<RS485Num><!--optional, xs:integer, number of local RS-485--></RS485Num>
<powerOnMode><!--optional, xs:string, device startup mode: "button"-press button to power on (default), "adapter"-
connect adapter to power on--></powerOnMode>
<DockStation>
<!--optional, dock station configuration-->
<Platform>
<!--optional, platform configuration-->
<type><!--required, xs:string, platform type: none, 9533, 8618, ISAPI--></type>
163
Hik-Partner Pro OpenAPI Developer Guide
A.5.17 XML_InputProxyChannel
InputProxyChannel message in XML format
<?xml version="1.0" encoding="utf-8"?>
<InputProxyChannel version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<id><!--req, xs:string, starts from 1--></id>
<name><!--opt, xs:string--></name>
<sourceInputPortDescriptor><!--req-->
<adminProtocol><!--req, xs:string, "HIKVISION,SONY,ISAPI,ONVIF,..."--></adminProtocol>
<addressingFormatType><!--req, xs:string, "ipaddress,hostname"--></addressingFormatType>
<hostName><!--dep, xs:string, domain name--></hostName>
<ipAddress><!--dep, xs:string, IP address--></ipAddress>
<ipv6Address><!--dep, xs:string, IPv6 address--></ipv6Address>
<managePortNo><!--req, xs:integer--></managePortNo>
164
Hik-Partner Pro OpenAPI Developer Guide
A.5.18 XML_InputProxyChannelList
InputProxyChannelList message in XML format
<?xml version="1.0" encoding="utf-8"?>
<InputProxyChannelList version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<InputProxyChannel/><!--opt, see details in InputProxyChannel-->
</InputProxyChannelList>
See Also
XML_InputProxyChannel
A.5.19 XML_InputProxyChannelStatus
InputProxyChannelStatus message in XML format
<InputProxyChannelStatus version="1.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<id><!--req, xs:string--></id>
<sourceInputPortDescriptor/><!--req-->
<online><!--req, xs:boolean, whether the camera is online--></online>
<streamingProxyChannelIdList><!--req-->
<streamingProxyChannelId>
165
Hik-Partner Pro OpenAPI Developer Guide
<!--req, xs:string, stream channel No., e.g., 101-main stream of channel 1, 102-sub-stream of channel 1-->
</streamingProxyChannelId>
</streamingProxyChannelIdList>
<chanDetectResult>
<!--opt, xs:string, network camera status: "connect"-connected, "overSysBandwidth"-insufficient bandwidth,
"domainError"-incorrect domain name, "ipcStreamFail"-getting stream failed, "connecting", "chacnNoError"-incorrect
channel No., "cipAddrConflictWithDev": IP address is conflicted with device address, "ipAddrConflicWithIpc"-IP
address conflicted, "errorUserNameOrPasswd"-incorrect user name or password, "netUnreachable"-invalid network
address, "unknownError"-unknown error, "notExist"-does not exist, "ipcStreamTypeNotSupport"-the stream
transmission mode is not supported, "ipcResolutionNotSupport"-the resolution of network camera is not supported-->
</chanDetectResult>
</InputProxyChannelStatus>
A.5.20 XML_InputProxyChannelStatusList
InputProxyChannelStatusList message in XML format
<InputProxyChannelStatusList version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<InputProxyChannelStatus/><!--opt, see details in XML_InputProxyChannelStatus-->
</InputProxyChannelStatusList>
See Also
XML_InputProxyChannelStatus
A.5.21 XML_IOOutputPort
JSON message about alarm output information
<?xml version="1.0" encoding="utf-8"?>
<IOOutputPort version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<id><!--required, xs:integer, "2"--></id>
<IODescriptor><!--optional, camera IO description-->
<userName><!--required, xs:string, user name--></userName>
<addressingFormatType><!--required, xs:string, address type: "ipaddress", "hostname"--></addressingFormatType>
<hostName><!--dependent, xs:string, host name--></hostName>
<ipAddress><!--dependent, xs:string, IPv4 address--></ipAddress>
<ipv6Address><!--dependent, xs:string, IPv6 address--></ipv6Address>
<managePortNo><!--required, xs:integer, management port No.--></managePortNo>
<innerIOPortID><!--required, xs:integer, camera IO port No.--></innerIOPortID>
</IODescriptor>
<PowerOnState>
<!--required, output port configuration parameters when the device is powered on-->
<defaultState>
<!--read-only, required, xs:string, default output port signal when it is not triggered, "high,low"-->
</defaultState>
<outputState>
<!--read-only, required, output port signal when it is being triggered, xs:string, "high,low,pulse"-->
</outputState>
166
Hik-Partner Pro OpenAPI Developer Guide
<pulseDuration>
<!--dependent, xs:integer, duration of a output port signal when it is being triggered, it is valid when outputState is
"pulse", unit: milliseconds -->
</pulseDuration>
</PowerOnState>
<name><!--optional, xs:string--></name>
<IOUseType><!--optional, xs:string, "disable,electricLock,custom"--></IOUseType>
<normalStatus><!--optional, xs:string, normal status: open-remain open, close-remain closed--></normalStatus>
<enabled><!--optional, xs:boolean, enable DND of corresponding IO; default value: true--></enabled>
<IOType><!--optional, read-only, xs:string, supported IO port type: "local", "digitalChannel", "analogChannel"; the
default value is "local"--></IOType>
</IOOutputPort>
A.5.22 XML_IOOutputPortList
XML message about alarm output list
<?xml version="1.0" encoding="utf-8"?>
<IOOutputPortList version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<IOOutputPort/><!--optional, see details in IOOutputPort-->
</IOOutputPort>
See Also
XML_IOOutputPort
A.5.23 XML_IOPortData
XML message about triggering parameters of alarm output
<?xml version="1.0" encoding="utf-8"?>
<IOPortData xmlns=“http://www.isapi.org/ver20/XMLSchema”>
<outputState><!--required, xs:string, output level: "high, low"--></outputState>
</IOPortData>
A.5.24 XML_IOPortStatus
XML message about alarm output status
<?xml version="1.0" encoding="utf-8"?>
<IOPortStatus version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<ioPortID><!--required, xs: integer, I/O No.: 1, 2--></ioPortID>
<ioPortType><!--required, xs: string, I/O type: "input", "output"--></ioPortType>
<ioState><!--required, xs: string, I/O status: "active", "inactive"--></ioState>
</IOPortStatus>
167
Hik-Partner Pro OpenAPI Developer Guide
A.5.25 XML_PTZPreset
XML message about preset parameters
<?xml version="1.0" encoding="utf-8"?>
<PTZPreset version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<enabled><!--required, xs:boolean, whether to enable preset configuration--></enabled>
<id><!--required, xs:string, preset No.--></id>
<presetName><!--required, xs:string, preset name--></presetName>
<AbsoluteHigh>
<elevation><!--optional, xs:integer, tilting parameter, the value is between -900 and 2700--></elevation>
<azimuth><!--optional, xs:integer, panning parameter, the value is between 0 and 3600--></azimuth>
<absoluteZoom><!--optional, xs:integer, zooming parameter, the value is between 1 and 1000--></absoluteZoom>
</AbsoluteHigh>
</PTZPreset>
A.5.26 XML_PTZPresetList
XML message about preset information list
<?xml version="1.0" encoding="utf-8"?>
<PTZPresetList version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<PTZPreset/><!--optional, see details in XML_PTZPreset-->
</PTZPresetList>
See Also
XML_PTZPreset
A.5.27 XML_ResponseStatus
XML message about response status
<?xml version="1.0" encoding="utf-8"?>
<ResponseStatus version="2.0" xmlns="http://www.std-cgi.org/ver20/XMLSchema">
<requestURL>
<!--required, read-only, xs:string, request URL-->
</requestURL>
<statusCode>
<!--required, read-only, 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, 9-Additional Error-->
</statusCode>
<statusString>
<!--required, read-only, xs:string, status description: OK, Device Busy, Device Error, Invalid Operation, Invalid XML
Format, Invalid XML Content, Reboot, Additional Error-->
</statusString>
<subStatusCode>
<!--required, read-only, xs:string, describe the error reason in detail-->
168
Hik-Partner Pro OpenAPI Developer Guide
</subStatusCode>
<MErrCode>
<!--optional, xs:string, error code categorized by functional modules, e.g., 0x12345678-->
</MErrCode>
<MErrDevSelfEx>
<!--optional, xs:string, extension field of MErrCode. It is used to define the custom error code, which is categorized
by functional modules-->
</MErrDevSelfEx>
</ResponseStatus>
A.5.28 XML_ResponseStatus_IFSTime
XML message about the device time parameters
<ResponseStatus version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<requestURL><!--required, xs:string, request URL, read-only--></requestURL>
<statusCode><!--required, xs:integer, status code: 0 or 1-OK, 2-Device Busy, 3-Device Error, 4-Invalid Operation, 5-
Invalid XML Format, 6-Invalid XML Content, 7-Reboot Required, read-only--></statusCode>
<statusString><!--required, xs:string, status description: "OK,Device Busy,Device Error,Invalid Operation,Invalid XML
Format,Invalid XML Content,Reboot", read-only--></statusString>
<subStatusCode><!--required, xs:string, detailed description of the error code, read-only--></subStatusCode>
<FailedNodeInfoList>
<!--optional, information list of failed nodes-->
<FailedNodeInfo>
<!--optional, failed node information. When the main node in the data center cluster synchronizes device time, the
main node will synchronize time of all sub nodes at the same time. If synchronizing time of all nodes failed, the failed
response message will be returned. If synchronizing time of part of nodes failed, the succeeded response message will
be returned and this node will returned detailed information of failed nodes-->
<nodeID><!--required, xs:string, node ID--></nodeID>
<nodeIP><!--required, xs:string, node IP--></nodeIP>
<reason><!--optional, xs:string, reason why the node failed to synchronize time, which can be displayed on the
interface--></reason>
</FailedNodeInfo>
</FailedNodeInfoList>
</ResponseStatus>
A.5.29 XML_Set_PTZPreset
XML message about preset configuration parameters
<?xml version="1.0" encoding="utf-8"?>
<PTZPreset version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<enabled><!--required, xs:boolean, whether to enable preset configuration--></enabled>
<id><!--required, xs:string, preset number--></id>
<presetName><!--required, xs:string, preset name--></presetName>
</PTZPreset>
169
Hik-Partner Pro OpenAPI Developer Guide
A.5.30 XML_Time
XML message about time parameters
<?xml version="1.0" encoding="utf-8"?>
<Time version="2.0" xmlns="http://www.isapi.org/ver20/XMLSchema">
<timeMode><!--required, xs:string, timing mode: "manual, NTP, local, satellite, timecorrect, platform"--></
timeMode>
<localTime>
<!--required, xs:datetime, ISO 8601 time format, device time set manually, e.g.: 2018-02-01T19:54:04. This node is
required when <timemode> is "manual" or "local"-->
</localTime>
<timeZone>
<!--required, xs:string, POSIX time zone based on CST for NTP synchronization, e.g.,
CST-8:00:00DST00:30:00,M4.1.0/02:00:00,M10.5.0/02:00:00; this node is valid when <timemode> is "manual", "local"
or "NTP"-->
</timeZone>
<satelliteInterval><!--dependent, xs:integer, unit: minute--></satelliteInterval>
<isSummerTime><!--optional, xs:boolean, whether the time returned by the current device is that in the DST
(daylight saving time) mode: true, false--></isSummerTime>
<platformType>
<!--dependent, xs: string, platform type: "EZVIZ"-Hik-Connect; it is valid only when the value of timeMode is
"platform"-->
</platformType>
</Time>
StatusCode=1
170
Hik-Partner Pro OpenAPI Developer Guide
StatusCode=2
StatusCode=3
171
Hik-Partner Pro OpenAPI Developer Guide
172
Hik-Partner Pro OpenAPI Developer Guide
173
Hik-Partner Pro OpenAPI Developer Guide
174
Hik-Partner Pro OpenAPI Developer Guide
StatusCode=4
175
Hik-Partner Pro OpenAPI Developer Guide
176
Hik-Partner Pro OpenAPI Developer Guide
177
Hik-Partner Pro OpenAPI Developer Guide
178
Hik-Partner Pro OpenAPI Developer Guide
179
Hik-Partner Pro OpenAPI Developer Guide
180
Hik-Partner Pro OpenAPI Developer Guide
181
Hik-Partner Pro OpenAPI Developer Guide
182
Hik-Partner Pro OpenAPI Developer Guide
183
Hik-Partner Pro OpenAPI Developer Guide
184
Hik-Partner Pro OpenAPI Developer Guide
185
Hik-Partner Pro OpenAPI Developer Guide
186
Hik-Partner Pro OpenAPI Developer Guide
187
Hik-Partner Pro OpenAPI Developer Guide
188
Hik-Partner Pro OpenAPI Developer Guide
189
Hik-Partner Pro OpenAPI Developer Guide
190
Hik-Partner Pro OpenAPI Developer Guide
191
Hik-Partner Pro OpenAPI Developer Guide
192
Hik-Partner Pro OpenAPI Developer Guide
193
Hik-Partner Pro OpenAPI Developer Guide
194
Hik-Partner Pro OpenAPI Developer Guide
195
Hik-Partner Pro OpenAPI Developer Guide
196
Hik-Partner Pro OpenAPI Developer Guide
197
Hik-Partner Pro OpenAPI Developer Guide
198
Hik-Partner Pro OpenAPI Developer Guide
199
Hik-Partner Pro OpenAPI Developer Guide
200
Hik-Partner Pro OpenAPI Developer Guide
StatusCode=5
StatusCode=6
201
Hik-Partner Pro OpenAPI Developer Guide
202
Hik-Partner Pro OpenAPI Developer Guide
203
Hik-Partner Pro OpenAPI Developer Guide
204
Hik-Partner Pro OpenAPI Developer Guide
205
Hik-Partner Pro OpenAPI Developer Guide
206
Hik-Partner Pro OpenAPI Developer Guide
207
Hik-Partner Pro OpenAPI Developer Guide
StatusCode=7
208
Hik-Partner Pro OpenAPI Developer Guide
209
Hik-Partner Pro OpenAPI Developer Guide
is not allowed.
● Editing your own level or
210
Hik-Partner Pro OpenAPI Developer Guide
211
Hik-Partner Pro OpenAPI Developer Guide
212
Hik-Partner Pro OpenAPI Developer Guide
213
Hik-Partner Pro OpenAPI Developer Guide
214
Hik-Partner Pro OpenAPI Developer Guide
215
Hik-Partner Pro OpenAPI Developer Guide
216
Hik-Partner Pro OpenAPI Developer Guide
217
Hik-Partner Pro OpenAPI Developer Guide
218
Hik-Partner Pro OpenAPI Developer Guide
219
Hik-Partner Pro OpenAPI Developer Guide
220
Hik-Partner Pro OpenAPI Developer Guide
221
Hik-Partner Pro OpenAPI Developer Guide
222
Hik-Partner Pro OpenAPI Developer Guide
configured.
● Node value exceeds the
configured.
● Node value exceeds the
223
Hik-Partner Pro OpenAPI Developer Guide
224
Hik-Partner Pro OpenAPI Developer Guide
225
UD36994B