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

alibaba.security.deepvision.proxy.smartmonitor.recovery.create (挽损单创建)

挽损单创建

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param RiskRecoveryCreateParam 可选 参数
  • └ link_task_ids
  • String []
  • 可选
  • []
  • 关联任务ID
  • └ cross_field
  • String
  • 必须
  • 1
  • 是否跨店支援
  • └ api_sign
  • String
  • 可选
  • 1
  • 参数签名
  • └ link_alarm_risk_id
  • String
  • 可选
  • 1
  • 关联风险预警ID
  • └ remark
  • String
  • 必须
  • 1
  • 说明
  • └ tenant_code
  • String
  • 必须
  • 1
  • 租户
  • └ login_no
  • String
  • 可选
  • 1
  • 登录号
  • └ archive_id
  • String
  • 必须
  • 1
  • 档案ID
  • └ case_type
  • String
  • 必须
  • 1
  • 案件类型
  • └ disposal_way
  • String
  • 必须
  • 1
  • 处置方式
  • └ token
  • String
  • 可选
  • 1
  • token
  • └ recovered_amount
  • Number
  • 必须
  • 1
  • 挽回金额
  • └ request_id
  • String
  • 可选
  • 1
  • 请求唯一ID
  • └ login_name
  • String
  • 可选
  • 1
  • 登录名
  • └ recovery_date
  • String
  • 必须
  • 1
  • 挽回日期
  • └ rescuer
  • String
  • 必须
  • 1
  • 挽回人
  • └ goods_num
  • Number
  • 必须
  • 1
  • 挽回商品数
  • └ field_id
  • String
  • 必须
  • 1
  • 挽回门店

响应参数

名称 类型 示例值 描述
result RiskRecoveryCreatedVO 创建结果
  • └ recovery_id
  • String
  • 1
  • 挽回单ID
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);
AlibabaSecurityDeepvisionProxySmartmonitorRecoveryCreateRequest req = new AlibabaSecurityDeepvisionProxySmartmonitorRecoveryCreateRequest();
AlibabaSecurityDeepvisionProxySmartmonitorRecoveryCreateRequest.RiskRecoveryCreateParam obj1 = new AlibabaSecurityDeepvisionProxySmartmonitorRecoveryCreateRequest.RiskRecoveryCreateParam();
obj1.setLinkTaskIds("");
obj1.setCrossField("1");
obj1.setApiSign("1");
obj1.setLinkAlarmRiskId("1");
obj1.setRemark("1");
obj1.setTenantCode("1");
obj1.setLoginNo("1");
obj1.setArchiveId("1");
obj1.setCaseType("1");
obj1.setDisposalWay("1");
obj1.setToken("1");
obj1.setRecoveredAmount(1L);
obj1.setRequestId("1");
obj1.setLoginName("1");
obj1.setRecoveryDate("1");
obj1.setRescuer("1");
obj1.setGoodsNum(1L);
obj1.setFieldId("1");
req.setParam(obj1);
AlibabaSecurityDeepvisionProxySmartmonitorRecoveryCreateResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_security_deepvision_proxy_smartmonitor_recovery_create_response>
    <result>
        <recovery_id>1</recovery_id>
    </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_recovery_create_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

返回
顶部