1. 人数统计报警记录

人数统计报警记录


1.1. 报警记录查询

基础信息

路径: /v1/api/personNumber/alarm/record/list

请求方法: POST

请求参数

Headers:

名称 必须 备注
Content-Type application/json

Body:

名称 类型 必须 默认值 备注
pointUuidTypes array 类型_分析源(组)uuid
  |─ string
pointTypes array 分析源类型
0 :分析源
1 :分析源组
  |─ integer
types array 类型
0 :出入口计数(滞留人数)
1 :人数密度
  |─ integer
startTime integer 开始时间,单位:毫秒
endTime integer 结束时间,单位:毫秒
pageNum integer 1 页码,从1开始
当前页码,不传默认1
pageSize integer 20 页面大小
分页大小,不传默认20

Body示例:

{
    "pageNum":1,
    "pageSize":10,
    "startTime":1677081600000,
    "endTime":1679673599000
}

返回数据

Headers:

名称 必须 备注
content-type application/json;charset=UTF-8

Body:

名称 类型 必须 默认值 备注
code integer 返回值code
msg string 返回值消息
data object 具体的返回值
  |─pageNum integer 页码,从1开始
当前页码
  |─pageSize integer 页面大小
分页大小
  |─total integer 总记录数
总数
  |─list array
    |─ object
      |─uuid string 报警记录uuid
      |─pointUuid string 分析源(组)uuid
      |─pointName string 分析源(组)名称
      |─pointType integer 分析源类型
0 :分析源
1 :分析源组
      |─personNumber integer 人数
      |─threshold integer 阈值
      |─type integer 类型
0 :出入口计数(滞留人数)
1 :人数密度
      |─recognitionTime integer 识别时间
      |─areaId integer 录像回放
NVR ID, 判断是否支持录像回放需要这个字段<br>@ApiModelProperty(value = "录像回放 NVR ID")
区域id
      |─areaMsg string 区域信息
      |─snapshotUrl string 抓拍图
      |─fullUrl string 抓拍图

响应示例:

{
    "code":0,
    "data":{
        "list":[
            {
                "areaId":1,
                "areaMsg":"区域1",
                "personNumber":18052,
                "pointName":"哈哈哈哈",
                "pointType":1,
                "pointUuid":"7832ff5412e34c1287a1e23ddf6e0594",
                "recognitionTime":1679638629000,
                "threshold":2,
                "type":0,
                "uuid":"467dedba81f840789229a88aaf0427ad"
            },
            {
                "areaId":1,
                "areaMsg":"区域1",
                "personNumber":18045,
                "pointName":"哈哈哈哈",
                "pointType":1,
                "pointUuid":"7832ff5412e34c1287a1e23ddf6e0594",
                "recognitionTime":1679638569000,
                "threshold":2,
                "type":0,
                "uuid":"707f860a947c469b89428b7724a8cc9f"
            },
            {
                "areaId":1,
                "areaMsg":"区域1",
                "personNumber":18037,
                "pointName":"哈哈哈哈",
                "pointType":1,
                "pointUuid":"7832ff5412e34c1287a1e23ddf6e0594",
                "recognitionTime":1679638509000,
                "threshold":2,
                "type":0,
                "uuid":"2b8ab6c998134ca4935dad7325ced641"
            },
            {
                "areaId":1,
                "areaMsg":"区域1",
                "personNumber":18026,
                "pointName":"哈哈哈哈",
                "pointType":1,
                "pointUuid":"7832ff5412e34c1287a1e23ddf6e0594",
                "recognitionTime":1679638449000,
                "threshold":2,
                "type":0,
                "uuid":"00f42984d1f444febc92b35b65cc3eac"
            },
            {
                "areaId":1,
                "areaMsg":"区域1",
                "personNumber":17841,
                "pointName":"哈哈哈哈",
                "pointType":1,
                "pointUuid":"7832ff5412e34c1287a1e23ddf6e0594",
                "recognitionTime":1679638389000,
                "threshold":2,
                "type":0,
                "uuid":"4120c7104d6d4bcb9a6e0f43835c3fee"
            },
            {
                "areaId":1,
                "areaMsg":"区域1",
                "personNumber":17666,
                "pointName":"哈哈哈哈",
                "pointType":1,
                "pointUuid":"7832ff5412e34c1287a1e23ddf6e0594",
                "recognitionTime":1679638329000,
                "threshold":2,
                "type":0,
                "uuid":"64197c2dcc514615af42594a7c370970"
            },
            {
                "areaId":1,
                "areaMsg":"区域1",
                "personNumber":17639,
                "pointName":"哈哈哈哈",
                "pointType":1,
                "pointUuid":"7832ff5412e34c1287a1e23ddf6e0594",
                "recognitionTime":1679638209000,
                "threshold":2,
                "type":0,
                "uuid":"06f7e416bce8415694d4b5803cc4e467"
            },
            {
                "areaId":1,
                "areaMsg":"区域1",
                "personNumber":17626,
                "pointName":"哈哈哈哈",
                "pointType":1,
                "pointUuid":"7832ff5412e34c1287a1e23ddf6e0594",
                "recognitionTime":1679638149000,
                "threshold":2,
                "type":0,
                "uuid":"1452526851ba4526ac515e3e792bc0cc"
            },
            {
                "areaId":1,
                "areaMsg":"区域1",
                "personNumber":17616,
                "pointName":"哈哈哈哈",
                "pointType":1,
                "pointUuid":"7832ff5412e34c1287a1e23ddf6e0594",
                "recognitionTime":1679638089000,
                "threshold":2,
                "type":0,
                "uuid":"23a540889d9a4fceaae9553c1581a422"
            },
            {
                "areaId":1,
                "areaMsg":"区域1",
                "personNumber":17607,
                "pointName":"哈哈哈哈",
                "pointType":1,
                "pointUuid":"7832ff5412e34c1287a1e23ddf6e0594",
                "recognitionTime":1679638029000,
                "threshold":2,
                "type":0,
                "uuid":"d02e8af2f0c64770a2bb3a7a2ba2a827"
            }
        ],
        "pageNum":1,
        "pageSize":10,
        "total":34809
    },
    "msg":"成功"
}

1.2. 报警记录详情查询

基础信息

路径: /v1/api/personNumber/alarm/record/query

请求方法: POST

请求参数

Headers:

名称 必须 备注
Content-Type application/json

Body:

名称 类型 必须 默认值 备注
uuid string UUID

Body示例:

{
    "uuid":"b2683202609f412a9cfe74d34762abba"
}

返回数据

Headers:

名称 必须 备注
content-type application/json;charset=UTF-8

Body:

名称 类型 必须 默认值 备注
code integer 返回值code
msg string 返回值消息
data object 具体的返回值
  |─uuid string 报警记录uuid
  |─pointUuid string 分析源(组)uuid
  |─pointName string 分析源(组)名称
  |─pointType integer 分析源类型
0 :分析源
1 :分析源组
  |─personNumber integer 人数
  |─threshold integer 阈值
  |─type integer 类型
0 :出入口计数(滞留人数)
1 :人数密度
  |─recognitionTime integer 识别时间
  |─areaId integer 录像回放
NVR ID, 判断是否支持录像回放需要这个字段<br>@ApiModelProperty(value = "录像回放 NVR ID")
区域id
  |─areaMsg string 区域信息
  |─snapshotUrl string 抓拍图
  |─fullUrl string 抓拍图

响应示例:

{
    "code":0,
    "data":{
        "areaId":1,
        "areaMsg":"区域1",
        "personNumber":18712,
        "pointName":"哈哈哈哈",
        "pointType":1,
        "pointUuid":"7832ff5412e34c1287a1e23ddf6e0594",
        "recognitionTime":1679642169000,
        "threshold":2,
        "type":0,
        "uuid":"b2683202609f412a9cfe74d34762abba"
    },
    "msg":"成功"
}

results matching ""

    No results matching ""