文档中心 > API类目 > 场景金融保险

alibaba.finance.insurance.claimreport.logistics.notify (物流信息回传接口)

物流信息回传接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
logisticsAddRequest LogisticsAddRequest 可选 请求体
  • └ logisticsTime
  • Date
  • 可选
  • 2021-12-09 15:17:11
  • 物流时间
  • └ institution
  • String
  • 可选
  • GUO_TAI
  • 机构
  • └ productCode
  • String
  • 可选
  • ICBU_FREE_RETURN
  • 产品码
  • └ currentStatus
  • String
  • 可选
  • SHIPPING
  • 当前状态
  • └ logisticsCompany
  • String
  • 可选
  • SF
  • 物流公司
  • └ wayBillNo
  • String
  • 可选
  • 52424342
  • 物流面单号
  • └ claimReportNo
  • String
  • 可选
  • 01960100011063821091000000147002
  • 报案单号
  • └ logisticsInfo
  • String
  • 可选
  • 已揽件
  • 物流信息
  • └ tenant
  • String
  • 可选
  • B2B_FOREIGN_TRADE
  • 租户
  • └ identifier
  • String
  • 可选
  • C100010
  • 幂等号

响应参数

名称 类型 示例值 描述
responseMessage String xxx 响应消息
responseCode String xxxx 响应码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaFinanceInsuranceClaimreportLogisticsNotifyRequest req = new AlibabaFinanceInsuranceClaimreportLogisticsNotifyRequest();
AlibabaFinanceInsuranceClaimreportLogisticsNotifyRequest.LogisticsAddRequest obj1 = new AlibabaFinanceInsuranceClaimreportLogisticsNotifyRequest.LogisticsAddRequest();
obj1.setLogisticsTime(StringUtils.parseDateTime("2021-12-09 15:17:11"));
obj1.setInstitution("GUO_TAI");
obj1.setProductCode("ICBU_FREE_RETURN");
obj1.setCurrentStatus("SHIPPING");
obj1.setLogisticsCompany("SF");
obj1.setWayBillNo("52424342");
obj1.setClaimReportNo("01960100011063821091000000147002");
obj1.setLogisticsInfo("已揽件");
obj1.setTenant("B2B_FOREIGN_TRADE");
obj1.setIdentifier("C100010");
req.setLogisticsAddRequest(obj1);
AlibabaFinanceInsuranceClaimreportLogisticsNotifyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_finance_insurance_claimreport_logistics_notify_response>
    <responseMessage>xxx</responseMessage>
    <responseCode>xxxx</responseCode>
</alibaba_finance_insurance_claimreport_logistics_notify_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

返回
顶部