文档中心 > API类目 > 天眼工作室API

alibaba.security.deepvision.visionlog.body.pagequery (人体日志分页查询)

人体日志分页查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param DVTBodySampleQueryParam 可选 参数
  • └ page_no
  • Number
  • 必须
  • 1
  • 页号
  • └ request_id
  • String
  • 可选
  • 1111
  • 请求唯一ID
  • └ page_size
  • Number
  • 必须
  • 10
  • 一页记录数
  • └ start_tick
  • Number
  • 必须
  • 1234567890
  • 开始时间
  • └ end_tick
  • Number
  • 必须
  • 1234567890
  • 结束时间
  • └ poi_id
  • String
  • 必须
  • 12qw
  • 门店
  • └ tenant_code
  • String
  • 必须
  • 21qw
  • 租户
  • └ sensor_id
  • String
  • 可选
  • 12qw3213qw
  • 摄像头ID
  • └ token
  • String
  • 可选
  • 12qwas
  • Token

响应参数

名称 类型 示例值 描述
result PageVO 分页
  • └ total
  • Number
  • 1
  • 总记录数
  • └ pages
  • Number
  • 1
  • 总页数
  • └ size
  • Number
  • 1
  • 当前页记录数
  • items
  • Datas []
  • 采样列表
  • └ sensor_id
  • String
  • 123w
  • 摄像头ID
  • └ track_id
  • String
  • 23we
  • TrackID
  • └ sample_id
  • String
  • 1234ewsd
  • 采样ID
  • └ tick
  • Number
  • 1234567890
  • 采样时间
  • └ image_url
  • String
  • http://1.jpg
  • 图片地址
  • rect
  • RectVO
  • 人体框
  • └ top
  • Number
  • 1
  • top
  • └ left
  • Number
  • 1
  • left
  • └ width
  • Number
  • 1
  • width
  • └ height
  • Number
  • 1
  • height
resp_code Number 1 返回码
resp_success Boolean true 是否成功
resp_request_id String 11111 请求唯一ID
message String 成功 返回描述

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaSecurityDeepvisionVisionlogBodyPagequeryRequest req = new AlibabaSecurityDeepvisionVisionlogBodyPagequeryRequest();
AlibabaSecurityDeepvisionVisionlogBodyPagequeryRequest.DVTBodySampleQueryParam obj1 = new AlibabaSecurityDeepvisionVisionlogBodyPagequeryRequest.DVTBodySampleQueryParam();
obj1.setPageNo(1L);
obj1.setRequestId("1111");
obj1.setPageSize(10L);
obj1.setStartTick(1234567890L);
obj1.setEndTick(1234567890L);
obj1.setPoiId("12qw");
obj1.setTenantCode("21qw");
obj1.setSensorId("12qw3213qw");
obj1.setToken("12qwas");
req.setParam(obj1);
AlibabaSecurityDeepvisionVisionlogBodyPagequeryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_security_deepvision_visionlog_body_pagequery_response>
    <result>
        <total>1</total>
        <pages>1</pages>
        <size>1</size>
        <items>
            <datas>
                <sensor_id>123w</sensor_id>
                <track_id>23we</track_id>
                <sample_id>1234ewsd</sample_id>
                <tick>1234567890</tick>
                <image_url>http://1.jpg</image_url>
                <rect>
                    <top>1</top>
                    <left>1</left>
                    <width>1</width>
                    <height>1</height>
                </rect>
            </datas>
        </items>
    </result>
    <resp_code>1</resp_code>
    <resp_success>true</resp_success>
    <resp_request_id>11111</resp_request_id>
    <message>成功</message>
</alibaba_security_deepvision_visionlog_body_pagequery_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部