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

alibaba.security.deepvision.proxy.smartmonitor.archive.archiveidquery (档案ID查询)

档案ID查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param ArchiveIdQueryParam 可选 参数
  • └ request_id
  • String
  • 可选
  • 1
  • 请求唯一ID
  • └ api_sign
  • String
  • 可选
  • 1
  • 签名
  • └ tenant_code
  • String
  • 必须
  • 1
  • 租户
  • └ token
  • String
  • 可选
  • 1
  • Token
  • └ poi_id
  • String
  • 必须
  • 1
  • 门店
  • └ page_no
  • Number
  • 必须
  • 1
  • 页号
  • └ page_size
  • Number
  • 必须
  • 1
  • 每页记录数

响应参数

名称 类型 示例值 描述
result PageVO 分页
  • └ total
  • Number
  • 1
  • 总记录数
  • └ pages
  • Number
  • 1
  • 总页数
  • └ size
  • Number
  • 1
  • 当前页记录数
  • items
  • Datas []
  • 列表
  • └ archive_id
  • String
  • 1
  • 档案ID
resp_request_id String 1 请求唯一ID
resp_success Boolean false 是否成功
resp_code Number 1 返回码
message String 成功 返回描述

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaSecurityDeepvisionProxySmartmonitorArchiveArchiveidqueryRequest req = new AlibabaSecurityDeepvisionProxySmartmonitorArchiveArchiveidqueryRequest();
AlibabaSecurityDeepvisionProxySmartmonitorArchiveArchiveidqueryRequest.ArchiveIdQueryParam obj1 = new AlibabaSecurityDeepvisionProxySmartmonitorArchiveArchiveidqueryRequest.ArchiveIdQueryParam();
obj1.setRequestId("1");
obj1.setApiSign("1");
obj1.setTenantCode("1");
obj1.setToken("1");
obj1.setPoiId("1");
obj1.setPageNo(1L);
obj1.setPageSize(1L);
req.setParam(obj1);
AlibabaSecurityDeepvisionProxySmartmonitorArchiveArchiveidqueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_security_deepvision_proxy_smartmonitor_archive_archiveidquery_response>
    <result>
        <total>1</total>
        <pages>1</pages>
        <size>1</size>
        <items>
            <datas>
                <archive_id>1</archive_id>
            </datas>
        </items>
    </result>
    <resp_request_id>1</resp_request_id>
    <resp_success>false</resp_success>
    <resp_code>1</resp_code>
    <message>成功</message>
</alibaba_security_deepvision_proxy_smartmonitor_archive_archiveidquery_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

返回
顶部