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

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

alibaba.alihealth.insurance.inst.policy.attachment.sync (保司向我方同步保单相关附件信息)

保司向我方同步保单相关附件信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
biz_data InstSyncPolicyAttachmentRequest 可选 附件信息
  • └ alipay_user_open_id
  • String
  • 可选
  • 20885243520156
  • 支付宝 用户 OPEN ID
  • attachment
  • Attachment []
  • 可选
  • 附件
  • └ audit_time
  • String
  • 可选
  • 20210512140008
  • 审核时间
  • └ audit_fail_reason
  • String
  • 可选
  • 非法文件类型
  • 审核拒绝原因
  • └ attachment_id
  • String
  • 可选
  • 412345234
  • 附件编号
  • └ audit_status
  • String
  • 可选
  • SUCCESS
  • 审核状态
  • content
  • AttachmentContent []
  • 可选
  • 附件内容
  • └ type
  • String
  • 可选
  • image
  • 类型
  • └ examination_time
  • String
  • 可选
  • 20210512140008
  • 检查时间
  • └ sort_order
  • Number
  • 可选
  • 1
  • 附件排序
  • └ attachment_url
  • String
  • 可选
  • https://zhongan.com/1.png
  • 附件下载地址
  • └ inst_policy_id
  • String
  • 可选
  • ZA523452435
  • 保司保单 ID
  • └ upload_status
  • String
  • 可选
  • SUCCESS
  • 上传状态
  • └ uad_type
  • String
  • 可选
  • 1
  • 增值权益类型,1. 上传报告享受次年投保费用减 120 元,2.肝癌早筛,3. 名医会诊权益
  • └ upload_time
  • String
  • 可选
  • 20210512140008
  • 上传时间
  • └ flow_id
  • String
  • 可选
  • 1852345435243
  • 投保流水号

响应参数

名称 类型 示例值 描述
result_status String SUCCESS 响应状态
data Boolean true 数据同步结果
result_code String SUCCESS 响应码
result_msg String SUCCESS 响应消息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthInsuranceInstPolicyAttachmentSyncRequest req = new AlibabaAlihealthInsuranceInstPolicyAttachmentSyncRequest();
AlibabaAlihealthInsuranceInstPolicyAttachmentSyncRequest.InstSyncPolicyAttachmentRequest obj1 = new AlibabaAlihealthInsuranceInstPolicyAttachmentSyncRequest.InstSyncPolicyAttachmentRequest();
obj1.setAlipayUserOpenId("20885243520156");
List<AlibabaAlihealthInsuranceInstPolicyAttachmentSyncRequest.Attachment> list3 = new ArrayList<AlibabaAlihealthInsuranceInstPolicyAttachmentSyncRequest.Attachment>();
AlibabaAlihealthInsuranceInstPolicyAttachmentSyncRequest.Attachment obj4 = new AlibabaAlihealthInsuranceInstPolicyAttachmentSyncRequest.Attachment();
list3.add(obj4);
obj4.setAuditTime("20210512140008");
obj4.setAuditFailReason("非法文件类型");
obj4.setAttachmentId("412345234");
obj4.setAuditStatus("SUCCESS");
List<AlibabaAlihealthInsuranceInstPolicyAttachmentSyncRequest.AttachmentContent> list7 = new ArrayList<AlibabaAlihealthInsuranceInstPolicyAttachmentSyncRequest.AttachmentContent>();
AlibabaAlihealthInsuranceInstPolicyAttachmentSyncRequest.AttachmentContent obj8 = new AlibabaAlihealthInsuranceInstPolicyAttachmentSyncRequest.AttachmentContent();
list7.add(obj8);
obj8.setType("image");
obj8.setExaminationTime("20210512140008");
obj8.setSortOrder(1L);
obj8.setAttachmentUrl("https://zhongan.com/1.png");
list5.setContent(list7);
obj1.setAttachment(list3);
obj1.setInstPolicyId("ZA523452435");
obj1.setUploadStatus("SUCCESS");
obj1.setUadType("1");
obj1.setUploadTime("20210512140008");
obj1.setFlowId("1852345435243");
req.setBizData(obj1);
AlibabaAlihealthInsuranceInstPolicyAttachmentSyncResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

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

返回
顶部