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

alibaba.security.deepvision.proxy.smartmonitor.task.finish (风险任务完成)

风险任务完成

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param RiskTaskFinishParam 可选 参数
  • add_proofs
  • RiskTaskProofVO []
  • 可选
  • 1
  • 新增证据列表
  • └ device_type
  • String
  • 可选
  • 1
  • 证据所属设备类型
  • └ proof_type
  • String
  • 可选
  • 1
  • 证据类型
  • └ start_time
  • Number
  • 可选
  • 1
  • 开始时间
  • └ remark
  • String
  • 可选
  • 1
  • 备注
  • └ proof
  • String
  • 可选
  • 1
  • 证据
  • └ end_time
  • Number
  • 可选
  • 1
  • 结束时间
  • └ device_id
  • String
  • 可选
  • 1
  • 证据所属设备
  • └ transaction_id
  • String
  • 可选
  • 1
  • transactionId
  • └ risk_time
  • Number
  • 可选
  • 1
  • 风险发生时间
  • └ risk_task_id
  • String
  • 必须
  • 1
  • 风险任务ID
  • └ order_id
  • String
  • 可选
  • 1
  • 订单ID
  • add_losses
  • RiskTaskLossVO []
  • 可选
  • 1
  • 新增损失列表
  • └ unit
  • String
  • 可选
  • 1
  • 单位
  • └ quantity
  • String
  • 可选
  • 1
  • 数量
  • └ price
  • Number
  • 可选
  • 1
  • 价格
  • └ name
  • String
  • 可选
  • 1
  • 名称
  • └ discount_amount
  • Number
  • 可选
  • 1
  • 优惠金额
  • └ image
  • String
  • 可选
  • 1
  • 图片相对地址
  • └ barcode
  • String
  • 可选
  • 1
  • 条形码
  • └ sku_code
  • String
  • 可选
  • 1
  • 商品编码
  • └ cost_price
  • Number
  • 可选
  • 1
  • 商品进价
  • └ sort_no
  • Number
  • 可选
  • 1
  • 损失序号
  • └ payer_id
  • String
  • 可选
  • 1
  • 支付者ID
  • └ api_sign
  • String
  • 可选
  • 1
  • 参数签名
  • └ tenant_code
  • String
  • 必须
  • 1
  • 租户
  • └ deal_detail
  • String
  • 可选
  • 1
  • 处置备注
  • └ disposer
  • String
  • 可选
  • 1
  • 处置人
  • └ login_no
  • String
  • 可选
  • 1
  • 登录账号
  • └ token
  • String
  • 可选
  • 1
  • Token
  • └ disposer_field_id
  • String
  • 可选
  • 1
  • 处置人所属门店
  • └ del_loss_ids
  • String []
  • 可选
  • 1
  • 删除已有损失
  • └ request_id
  • String
  • 可选
  • 1
  • 请求唯一ID
  • └ hq_face
  • String
  • 可选
  • 1
  • 优质人脸
  • └ del_proof_ids
  • String []
  • 可选
  • 1
  • 删除已有证据
  • └ login_name
  • String
  • 可选
  • 1
  • 登录账号名
  • └ deal_result_type
  • String
  • 可选
  • 1
  • 处理结果类型
  • └ trait
  • String
  • 可选
  • 1
  • trait
  • └ deal_reason
  • String
  • 可选
  • 1
  • 处置原因
  • └ poi_id
  • String
  • 必须
  • 1
  • 门店
  • └ member_id
  • String
  • 可选
  • 1
  • 会员ID

响应参数

名称 类型 示例值 描述
result Boolean true 是否操作成功
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);
AlibabaSecurityDeepvisionProxySmartmonitorTaskFinishRequest req = new AlibabaSecurityDeepvisionProxySmartmonitorTaskFinishRequest();
AlibabaSecurityDeepvisionProxySmartmonitorTaskFinishRequest.RiskTaskFinishParam obj1 = new AlibabaSecurityDeepvisionProxySmartmonitorTaskFinishRequest.RiskTaskFinishParam();
List<AlibabaSecurityDeepvisionProxySmartmonitorTaskFinishRequest.RiskTaskProofVO> list3 = new ArrayList<AlibabaSecurityDeepvisionProxySmartmonitorTaskFinishRequest.RiskTaskProofVO>();
AlibabaSecurityDeepvisionProxySmartmonitorTaskFinishRequest.RiskTaskProofVO obj4 = new AlibabaSecurityDeepvisionProxySmartmonitorTaskFinishRequest.RiskTaskProofVO();
list3.add(obj4);
obj4.setDeviceType("1");
obj4.setProofType("1");
obj4.setStartTime(1L);
obj4.setRemark("1");
obj4.setProof("1");
obj4.setEndTime(1L);
obj4.setDeviceId("1");
obj4.setTransactionId("1");
obj1.setAddProofs(list3);
obj1.setRiskTime(1L);
obj1.setRiskTaskId("1");
obj1.setOrderId("1");
List<AlibabaSecurityDeepvisionProxySmartmonitorTaskFinishRequest.RiskTaskLossVO> list6 = new ArrayList<AlibabaSecurityDeepvisionProxySmartmonitorTaskFinishRequest.RiskTaskLossVO>();
AlibabaSecurityDeepvisionProxySmartmonitorTaskFinishRequest.RiskTaskLossVO obj7 = new AlibabaSecurityDeepvisionProxySmartmonitorTaskFinishRequest.RiskTaskLossVO();
list6.add(obj7);
obj7.setUnit("1");
obj7.setQuantity("1");
obj7.setPrice(1L);
obj7.setName("1");
obj7.setDiscountAmount(1L);
obj7.setImage("1");
obj7.setBarcode("1");
obj7.setSkuCode("1");
obj7.setCostPrice(1L);
obj7.setSortNo(1L);
obj1.setAddLosses(list6);
obj1.setPayerId("1");
obj1.setApiSign("1");
obj1.setTenantCode("1");
obj1.setDealDetail("1");
obj1.setDisposer("1");
obj1.setLoginNo("1");
obj1.setToken("1");
obj1.setDisposerFieldId("1");
obj1.setDelLossIds("1");
obj1.setRequestId("1");
obj1.setHqFace("1");
obj1.setDelProofIds("1");
obj1.setLoginName("1");
obj1.setDealResultType("1");
obj1.setTrait("1");
obj1.setDealReason("1");
obj1.setPoiId("1");
obj1.setMemberId("1");
req.setParam(obj1);
AlibabaSecurityDeepvisionProxySmartmonitorTaskFinishResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_security_deepvision_proxy_smartmonitor_task_finish_response>
    <result>true</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_task_finish_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

返回
顶部