承保-旅意险接口

一、接口名: simpleInsure 去调试

接口含义: 提交保单信息进行承保

接口地址: https://tuneapi.qixin18.com/api/simpleInsure?sign=md5(key+jsonStr)

二、应用场景

数据对接保险产品订单提交处理场景。

三、系统级别输入参数

InsureReq

字段 类型 必填 字段说明
transNo String Y 交易流水号
partnerId int Y 开发者身份标识
subPartnerId int N 开发者子标识,多层级账户使用
caseCode String Y 方案代码
startDate String Y 起保时间 格式:yyyy-MM-dd
endDate String Y 终保时间 格式:yyyy-MM-dd
applicant Applicant Y 投保人信息
insurants List<Insurant> Y 被保人信息列表
partnerUniqKey String N 开发者用户唯一标识
otherInfo OtherInfo N 其他信息,部分产品需填写相关内容

Applicant  

字段 类型 必填 字段说明
cName String Y 中文名
eName String N 中文名拼音或英文名,境外旅游险必填
cardType int Y 证件类型(取值参考附录1)
sex int Y 性别 0:女 1:男
birthday String Y 出生日期 格式:yyyy-MM-dd
mobile String Y 手机号码
email String Y 邮箱
job String N 职业信息,职业id使用“-”拼接 如:101414-101415-101416
country String N 国籍
provCityId String N 居住省市,地区编码使用“-”拼接 如:320000-320100-320104
contactAddress String N 联系地址
contactPost String N 联系地址邮编
applicantType int N 投保人类型 0:个人(默认) 1:公司

Insurant  

字段 类型 必填 字段说明
insurantId int Y 被保人id,由开发者传递(同一单此字段不能重复,取值须在int范围内)
cName String Y 中文名
eName String N 中文名拼音或英文名,境外旅游险必填
cardType int Y 证件类型(取值参考附录1)
sex int Y 性别 0:女 1:男
birthday String Y 出生日期 格式:yyyy-MM-dd
relationId int Y 与投保人关系(取值参考附录3)
count int Y 购买份数
singlePrice int Y 产品单价(单位:分)
mobile String Y 手机号码
email String Y 邮箱
job String N 职业信息,职业id使用“-”拼接 如:101414-101415-101416
country String N 国籍
provCityId String N 居住省市,地区编码使用“-”拼接 如:320000-320100-320104
contactAddress String N 联系地址
contactPost String N 联系地址邮编

OtherInfo  

字段 类型 必填 字段说明
travelNo String N 旅行团号
tripPurpose int N 出行目的,境外旅游险必填(取值参考附录2)
destination String N 出行目的地,境外旅游险必填
visaCity String N 签证办理城市名称,申根签证保险必填
fltNo String N 航班号,航意险必填
fltDate String N 起飞日期,航意险必填,格式:yyyy-MM-dd
flightFromCity String N 航班出发城市名称
flightToCity String N 航班到达城市名称
propertyAddress String N 财产所在地,地区编码使用“-”拼接,具体地址拼接在最后,如:440000-440300-440305-深圳动漫园
propertyPost String N 财产所在地邮编
petOwner int N 宠物主人 1:本人
dogLicense String N 养犬许可证
dogImmuneLicense String N 犬类免疫证号码
dogSpecies String N 宠物犬种类
extMap Map<String,String> N 承保扩展字段,特殊产品必填
urgencyContact String N 紧急联系人
urgencyContactMobile String N 紧急联系人手机号

四、系统响应返回参数

InsureResp

字段 类型 字段说明
transNo String 交易流水号
partnerId int 开发者身份标识
insureNum String 投保单号