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

alibaba.security.deepvision.proxy.smartmonitor.archive.search (风险档案检索)

风险档案检索

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param ArchiveSearchParam 可选 参数
  • └ picture_path
  • String
  • 可选
  • 1
  • 检索照片,bucket:path
  • └ request_id
  • String
  • 可选
  • 1
  • 请求唯一ID
  • └ usage_scene
  • String
  • 可选
  • other
  • 使用场景
  • └ payer_id
  • String
  • 可选
  • 1
  • 支付ID
  • └ api_sign
  • String
  • 可选
  • 1
  • 签名
  • └ tenant_code
  • String
  • 必须
  • 1
  • 租户
  • └ poi_id
  • String
  • 必须
  • 1
  • 门店
  • └ member_id
  • String
  • 可选
  • 1
  • 会员ID
  • └ token
  • String
  • 可选
  • 1
  • Token
  • └ archive_id
  • String
  • 可选
  • 1
  • 档案ID

响应参数

名称 类型 示例值 描述
result Datas [] 返回数据
  • └ field_id
  • String
  • 1
  • 归属门店,即首次发现该人员风险的门店
  • └ archive_id
  • String
  • 1
  • 档案ID
  • └ member_id
  • String
  • 1
  • 会员ID
  • └ picture_url
  • String
  • 1
  • 照片URL,有效期1小时
  • └ last_time
  • String
  • 1
  • 最后一次出现的时间, 格式:yyyy-MM-dd HH:mm:ss
  • └ last_field
  • String
  • 1
  • 最后一次出现的门店
  • └ last_field_name
  • String
  • 1
  • 最后一次出现的门店名称
  • └ risk_task_count
  • Number
  • 1
  • 风险任务总数
  • └ risk_task_todo_count
  • Number
  • 1
  • 待排查风险任务数
  • └ risk_alarm_count
  • Number
  • 1
  • 风险预警总数
  • └ recoverable_amount_sum
  • Number
  • 1
  • 应挽回金额
  • └ goods_num
  • Number
  • 1
  • 商品件数
  • └ recovered_amount_sum
  • Number
  • 1
  • 已挽回金额
  • └ status
  • String
  • 1
  • 状态
  • └ field_name
  • String
  • 1
  • 归属门店名称
  • └ payer_ids
  • String []
  • 支付ID
  • └ disable_type
  • String
  • 1
  • 档案停用类型
  • └ share_type
  • String
  • 1
  • 档案共享类型
  • └ gmt_create
  • String
  • 1
  • 档案创建时间
resp_request_id String 1 请求唯一ID
resp_success Boolean true 是否成功
resp_code Number 1 返回码
message String 成功 返回描述

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaSecurityDeepvisionProxySmartmonitorArchiveSearchRequest req = new AlibabaSecurityDeepvisionProxySmartmonitorArchiveSearchRequest();
AlibabaSecurityDeepvisionProxySmartmonitorArchiveSearchRequest.ArchiveSearchParam obj1 = new AlibabaSecurityDeepvisionProxySmartmonitorArchiveSearchRequest.ArchiveSearchParam();
obj1.setPicturePath("1");
obj1.setRequestId("1");
obj1.setUsageScene("other");
obj1.setPayerId("1");
obj1.setApiSign("1");
obj1.setTenantCode("1");
obj1.setPoiId("1");
obj1.setMemberId("1");
obj1.setToken("1");
obj1.setArchiveId("1");
req.setParam(obj1);
AlibabaSecurityDeepvisionProxySmartmonitorArchiveSearchResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_security_deepvision_proxy_smartmonitor_archive_search_response>
    <result>
        <datas>
            <field_id>1</field_id>
            <archive_id>1</archive_id>
            <member_id>1</member_id>
            <picture_url>1</picture_url>
            <last_time>1</last_time>
            <last_field>1</last_field>
            <last_field_name>1</last_field_name>
            <risk_task_count>1</risk_task_count>
            <risk_task_todo_count>1</risk_task_todo_count>
            <risk_alarm_count>1</risk_alarm_count>
            <recoverable_amount_sum>1</recoverable_amount_sum>
            <goods_num>1</goods_num>
            <recovered_amount_sum>1</recovered_amount_sum>
            <status>1</status>
            <field_name>1</field_name>
            <disable_type>1</disable_type>
            <share_type>1</share_type>
            <gmt_create>1</gmt_create>
        </datas>
    </result>
    <resp_request_id>1</resp_request_id>
    <resp_success>true</resp_success>
    <resp_code>1</resp_code>
    <message>成功</message>
</alibaba_security_deepvision_proxy_smartmonitor_archive_search_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

返回
顶部