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

alibaba.security.deepvision.antitheft.stats.product.all.theft.use.query (总览查询接口)

总览查询接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param AllTheftStatsQuery 必须 param
  • └ request_id
  • String
  • 可选
  • xx
  • 请求唯一ID
  • └ tenant_code
  • String
  • 必须
  • xx
  • 租户编码
  • └ token
  • String
  • 必须
  • xx
  • token
  • └ authorized_field_ids
  • String []
  • 必须
  • []
  • 拥有权限的门店列表

响应参数

名称 类型 示例值 描述
result AllTheftStatsTopVO res
  • └ product_use_days
  • Number
  • 1
  • productUseDays
  • └ field_count
  • Number
  • 1
  • fieldCount
  • └ device_count
  • Number
  • 1
  • deviceCount
  • └ recover_amount
  • Number
  • 1
  • recoverAmount
  • └ after_recover_amount
  • Number
  • 1
  • afterRecoverAmount
  • └ process_recover_amount
  • Number
  • 1
  • processRecoverAmount
resp_code Number xxx res_code
resp_request_id String 请求唯一ID resp_request_id
resp_success Boolean true is_success

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaSecurityDeepvisionAntitheftStatsProductAllTheftUseQueryRequest req = new AlibabaSecurityDeepvisionAntitheftStatsProductAllTheftUseQueryRequest();
AlibabaSecurityDeepvisionAntitheftStatsProductAllTheftUseQueryRequest.AllTheftStatsQuery obj1 = new AlibabaSecurityDeepvisionAntitheftStatsProductAllTheftUseQueryRequest.AllTheftStatsQuery();
obj1.setRequestId("xx");
obj1.setTenantCode("xx");
obj1.setToken("xx");
obj1.setAuthorizedFieldIds("");
req.setParam(obj1);
AlibabaSecurityDeepvisionAntitheftStatsProductAllTheftUseQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_security_deepvision_antitheft_stats_product_all_theft_use_query_response>
    <result>
        <product_use_days>1</product_use_days>
        <field_count>1</field_count>
        <device_count>1</device_count>
        <recover_amount>1</recover_amount>
        <after_recover_amount>1</after_recover_amount>
        <process_recover_amount>1</process_recover_amount>
    </result>
    <resp_code>xxx</resp_code>
    <resp_request_id>请求唯一ID</resp_request_id>
    <resp_success>true</resp_success>
</alibaba_security_deepvision_antitheft_stats_product_all_theft_use_query_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

返回
顶部