注意:以下文档只适用于TOP接口,请谨慎使用!

文档中心 > API类目 > 阿里健康保险-信息交互

alibaba.alihealth.insurance.inst.insure.intention.order.info.sync (保司同步投保意向订单信息)

保司同步投保意向订单信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
inst_sync_insure_intention_order_info_request InstSyncInsureIntentionOrderInfoRequest 必须 请求参数
  • └ inst_product_id
  • String
  • 必须
  • SU1231
  • 保司产品编码
  • └ submit_time
  • String
  • 必须
  • 2023-03-20 12:04:18
  • 提交时间
  • stake_holders
  • StakeHolder []
  • 可选
  • 保险干系人
  • 保险干系人
  • └ birthday
  • String
  • 可选
  • 19991010
  • 干系人生日
  • └ cert_no
  • String
  • 可选
  • 1100032435234
  • 证件号码
  • └ cert_type
  • String
  • 可选
  • ID_CARD
  • 证件类型:ID_CARD(身份证)PASSPORT(护照)
  • └ gender
  • String
  • 可选
  • MALE
  • 干系人性别:MALE(男)FEMALE(女)
  • └ stake_holder_role
  • String
  • 可选
  • HOLDER
  • 干系人在保单中的身份:INSURED(被保人),HOLDER(投保人)
  • └ phone
  • String
  • 可选
  • 1871353498
  • 电话
  • └ name
  • String
  • 可选
  • 李四
  • 姓名
  • └ inst_insure_order_id
  • String
  • 必须
  • 202303201234567
  • 投保意向订单ID
  • └ extras
  • String
  • 可选
  • {}
  • 附加信息

响应参数

名称 类型 示例值 描述
result_status String SUCCESS 响应状态
data Boolean true 处理结果,true:成功,false:失败
result_code String SUCCESS 错误编码
result_msg String SUCCESS 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthInsuranceInstInsureIntentionOrderInfoSyncRequest req = new AlibabaAlihealthInsuranceInstInsureIntentionOrderInfoSyncRequest();
AlibabaAlihealthInsuranceInstInsureIntentionOrderInfoSyncRequest.InstSyncInsureIntentionOrderInfoRequest obj1 = new AlibabaAlihealthInsuranceInstInsureIntentionOrderInfoSyncRequest.InstSyncInsureIntentionOrderInfoRequest();
obj1.setInstProductId("SU1231");
obj1.setSubmitTime("2023-03-20 12:04:18");
List<AlibabaAlihealthInsuranceInstInsureIntentionOrderInfoSyncRequest.StakeHolder> list3 = new ArrayList<AlibabaAlihealthInsuranceInstInsureIntentionOrderInfoSyncRequest.StakeHolder>();
AlibabaAlihealthInsuranceInstInsureIntentionOrderInfoSyncRequest.StakeHolder obj4 = new AlibabaAlihealthInsuranceInstInsureIntentionOrderInfoSyncRequest.StakeHolder();
list3.add(obj4);
obj4.setBirthday("19991010");
obj4.setCertNo("1100032435234");
obj4.setCertType("ID_CARD");
obj4.setGender("MALE");
obj4.setStakeHolderRole("HOLDER");
obj4.setPhone("1871353498");
obj4.setName("李四");
obj1.setStakeHolders(list3);
obj1.setInstInsureOrderId("202303201234567");
obj1.setExtras("{}");
req.setInstSyncInsureIntentionOrderInfoRequest(obj1);
AlibabaAlihealthInsuranceInstInsureIntentionOrderInfoSyncResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_insurance_inst_insure_intention_order_info_sync_response>
    <result_status>SUCCESS</result_status>
    <data>true</data>
    <result_code>SUCCESS</result_code>
    <result_msg>SUCCESS</result_msg>
</alibaba_alihealth_insurance_inst_insure_intention_order_info_sync_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

返回
顶部