文档中心 > API类目 > 天猫服务平台

alibaba.ssc.yichao.claim.again (蚁巢全保换新理赔重新发起)

蚁巢全保换新理赔重新发起

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
attachments AttachmentInfo 可选 附件
  • └ path
  • String
  • 可选
  • xxx.img
  • 路径
  • └ name
  • String
  • 可选
  • xxx
  • 名称
  • └ description
  • String
  • 可选
  • to_door_photo
  • 描述
biz_data Json 可选 { "claimInsuranceLiabilityType": "accident", "serviceProviderId": "2200784577670", "checkFee": 1, "newMachineFee": 0, "transportFee": 0, "purchaseServiceFee": 0, "residualAmount": 0, "repairCompleteDate": "1717398974057", "serviceProviderName": "乐朵测试商家账号002", "tpCategory": "1", "repairStartDate": "1717398974057", "applyTime": "1717398974057", "phone_imei": "1", "serviceTaskId":"916948007", "claimFee":"1" } bizData
work_card_id Number 可选 12344 工单ID
claim_fee Number 可选 1000 理赔金额

响应参数

名称 类型 示例值 描述
result ElectricResult result
  • └ display_message
  • String
  • 系统异常,请稍后再试
  • 用于对外展示的信息
  • └ data
  • String
  • 12314
  • 理赔单
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ error_message
  • String
  • 系统异常,请稍后再试
  • 系统级错误信息
  • └ error_code
  • String
  • 400
  • 错误代码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaSscYichaoClaimAgainRequest req = new AlibabaSscYichaoClaimAgainRequest();
AlibabaSscYichaoClaimAgainRequest.AttachmentInfo obj1 = new AlibabaSscYichaoClaimAgainRequest.AttachmentInfo();
obj1.setPath("xxx.img");
obj1.setName("xxx");
obj1.setDescription("to_door_photo");
req.setAttachments(obj1);
req.setBizDataString("{       \"claimInsuranceLiabilityType\": \"accident\",       \"serviceProviderId\": \"2200784577670\",       \"checkFee\": 1,       \"newMachineFee\": 0,       \"transportFee\": 0,       \"purchaseServiceFee\": 0,       \"residualAmount\": 0,       \"repairCompleteDate\": \"1717398974057\",       \"serviceProviderName\": \"乐朵测试商家账号002\",       \"tpCategory\": \"1\",       \"repairStartDate\": \"1717398974057\",       \"applyTime\": \"1717398974057\",       \"phone_imei\": \"1\",       \"serviceTaskId\":\"916948007\",       \"claimFee\":\"1\"     }");
req.setWorkCardId(12344L);
req.setClaimFee(1000L);
AlibabaSscYichaoClaimAgainResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_ssc_yichao_claim_again_response>
    <result>
        <display_message>系统异常,请稍后再试</display_message>
        <data>12314</data>
        <success>true</success>
        <error_message>系统异常,请稍后再试</error_message>
        <error_code>400</error_code>
    </result>
</alibaba_ssc_yichao_claim_again_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

返回
顶部