taobao.auction.insurance.insuranceresultcallback (保险结果通知)

保险结果通知

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
insurance_result_a_p_i_request InsuranceResultApiRequest 可选 insuranceResultAPIRequest
  • └ biz_id
  • String
  • 必须
  • 24010900100YSKSSG
  • 拍卖业务编号
  • └ policy_number
  • String
  • 可选
  • 12345678A
  • 保险单号
  • └ insurance_company
  • Number
  • 可选
  • 1
  • 保险公司,1-太保
  • └ stage
  • Number
  • 必须
  • 1
  • 保险阶段,1-预保;2-核保;3-投保;4-退保;5-批改
  • └ status
  • Number
  • 必须
  • 1
  • 状态,1 -成功 ;2-失败
  • └ time_of_occurrence
  • String
  • 必须
  • 2025-04-08 09:55:00
  • 发生时间 格式:yyyy-MM-dd HH:mm:ss
  • └ bank_account_manager_name
  • String
  • 可选
  • 王小丫
  • 客户经理姓名
  • └ insurance_document
  • String
  • 可选
  • oss:aakkloi122
  • 保险单PDF文件
  • └ insurance_type
  • Number
  • 必须
  • 1
  • 保险类型,1-家财险;2-履约险
  • └ appkey
  • String
  • 可选
  • xxxxx
  • appkey
  • └ request_id
  • String
  • 可选
  • xxxxx
  • requestId

响应参数

名称 类型 示例值 描述
call_success Boolean true 是否成功
fail_code String XXX_ERROR 错误编码
fail_message String 错误信息内容 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AuctionInsuranceInsuranceresultcallbackRequest req = new AuctionInsuranceInsuranceresultcallbackRequest();
AuctionInsuranceInsuranceresultcallbackRequest.InsuranceResultApiRequest obj1 = new AuctionInsuranceInsuranceresultcallbackRequest.InsuranceResultApiRequest();
obj1.setBizId("24010900100YSKSSG");
obj1.setPolicyNumber("12345678A");
obj1.setInsuranceCompany(1L);
obj1.setStage(1L);
obj1.setStatus(1L);
obj1.setTimeOfOccurrence("2025-04-08 09:55:00");
obj1.setBankAccountManagerName("王小丫");
obj1.setInsuranceDocument("oss:aakkloi122");
obj1.setInsuranceType(1L);
obj1.setAppkey("xxxxx");
obj1.setRequestId("xxxxx");
req.setInsuranceResultAPIRequest(obj1);
AuctionInsuranceInsuranceresultcallbackResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<auction_insurance_insuranceresultcallback_response>
    <call_success>true</call_success>
    <fail_code>XXX_ERROR</fail_code>
    <fail_message>错误信息内容</fail_message>
</auction_insurance_insuranceresultcallback_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

返回
顶部