查询采集数据
POST
https://api2.hik-cloud.com/api/v1/open/collectors/local/actions/search
查询已采集的人员数据
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api2.hik-cloud.com/api/v1/open/collectors/local/actions/search' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"deviceSerial": "X34289430",
"searchId": "uu67hhjjk",
"searchResultPosition": 0,
"maxResults": 1,
"searchType": "new",
"employeeNos": ["1234567"]
}'
响应示例响应示例
{
"code": 200,
"message": "操作成功",
"data": {
"searchId": "uu67hhjjk",
"numOfMatches": 1,
"totalMatches": 1,
"records": [
{
"lastCaptureNo": 1,
"captureNo": 1,
"name": "王大锤",
"employeeNo": "1234567",
"idcardNo": "000000000000000000",
"riskDataMark": true,
"dataType": "new",
"faceUrl": "http://xxxxxxxxx.jpg",
"cards": [
{
"cardNo": "101112",
"cardType": "TypeA_M1"
}
],
"fingerprints": [
{
"fingerprintNo": 1,
"fingerprintData": "QwEHEgELUQAAAAAAAAAAAAAAAB4BmniwAP///////0U1x"
}
],
"identityInfo": {
"chnName": "王大锤",
"enName": "wangdachui",
"gender": "male",
"birth": "20121224",
"addr": "杭州市滨江区xxx街道0号",
"idcardNo": "000000000000000000",
"issuingAuthority": "杭州市滨江区公安局",
"startDate": "20201224",
"endDate": "20301224",
"nation": 1,
"passNo": "",
"issueNumber": "",
"certificateType": "",
"permanentResidenceCardNo": "",
"nationalityOrAreaCode": "",
"version": "",
"receivingAuthorityCode": "",
"faceData": "/9j/2wCEAAIBAQEBAQIBAQECAgICAgQ...",
"fingerprints": [
"QwEHEgELUQAAAAAAAAAAAAAAAB4BmniwAP///////0U1xf",
"QwEHEgELUQAAAAAAAAAAAAAAAB4BmniwAP///////601C/z"
]
}
}
]
}
}
请求参数
Header 参数
Authorization
string
可选
默认值:
Bearer {{access_token}}
Body 参数application/json
返回响应
修改于 2022-05-25 07:18:47