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

alibaba.security.deepvision.antitheft.stats.product.realtime.recovery.goods.detail.query (事中防损门店下商品维度数据查询接口你)

事中防损门店下商品维度数据查询接口你

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param RealTimeRiskStatsQueryParam 可选 param
  • └ request_id
  • String
  • 可选
  • xxxx
  • requestId
  • └ time_to_eq
  • String
  • 必须
  • xxx
  • timeToEq
  • └ tenant_code
  • String
  • 必须
  • xxxx
  • tenantCode
  • └ field_ids
  • String []
  • 必须
  • xxxx
  • fieldIds
  • └ time_from_eq
  • String
  • 必须
  • xxxx
  • timeFromEq
  • └ token
  • String
  • 必须
  • xxxx
  • token
  • └ authorized_field_ids
  • String []
  • 可选
  • xxx
  • authorizedFieldIds

响应参数

名称 类型 示例值 描述
result Datas [] xxxx
  • └ recovery_time
  • String
  • xxx
  • recoveryTime
  • └ field_name
  • String
  • xxx
  • fieldName
  • └ pos_id
  • String
  • xxx
  • posId
  • └ barcode
  • String
  • xxx
  • barcode
  • └ goods_name
  • String
  • xxx
  • goodsName
  • └ amount
  • String
  • xxx
  • xx
resp_code Number 12 code
resp_success Boolean false success
resp_request_id String 111 requestId

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaSecurityDeepvisionAntitheftStatsProductRealtimeRecoveryGoodsDetailQueryRequest req = new AlibabaSecurityDeepvisionAntitheftStatsProductRealtimeRecoveryGoodsDetailQueryRequest();
AlibabaSecurityDeepvisionAntitheftStatsProductRealtimeRecoveryGoodsDetailQueryRequest.RealTimeRiskStatsQueryParam obj1 = new AlibabaSecurityDeepvisionAntitheftStatsProductRealtimeRecoveryGoodsDetailQueryRequest.RealTimeRiskStatsQueryParam();
obj1.setRequestId("xxxx");
obj1.setTimeToEq("xxx");
obj1.setTenantCode("xxxx");
obj1.setFieldIds("xxxx");
obj1.setTimeFromEq("xxxx");
obj1.setToken("xxxx");
obj1.setAuthorizedFieldIds("xxx");
req.setParam(obj1);
AlibabaSecurityDeepvisionAntitheftStatsProductRealtimeRecoveryGoodsDetailQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_security_deepvision_antitheft_stats_product_realtime_recovery_goods_detail_query_response>
    <result>
        <datas>
            <recovery_time>xxx</recovery_time>
            <field_name>xxx</field_name>
            <pos_id>xxx</pos_id>
            <barcode>xxx</barcode>
            <goods_name>xxx</goods_name>
            <amount>xxx</amount>
        </datas>
    </result>
    <resp_code>12</resp_code>
    <resp_success>false</resp_success>
    <resp_request_id>111</resp_request_id>
</alibaba_security_deepvision_antitheft_stats_product_realtime_recovery_goods_detail_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

返回
顶部