文档中心 > 综合交通-商家对接

alitrip.bus.insurance.recommend (汽车票保险推荐接口)

汽车票保险推荐接口-供商家售卖飞猪保险使用

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
insurance_recommend_rq InsuranceRecommendRq 必须 入参
  • └ city_name
  • String
  • 可选
  • 杭州市
  • 出发城市
  • └ machine_number
  • String
  • 可选
  • 1333
  • 机具编号
  • └ station_name
  • String
  • 可选
  • 杭州东站
  • 出发站点
  • └ province_name
  • String
  • 可选
  • 浙江省
  • 出发省份
  • └ trade_source
  • String
  • 必须
  • self
  • 渠道来源:self->自助机机具;window->窗口

响应参数

名称 类型 示例值 描述
ins_product_list InsuranceProductVO [] 保险产品列表
  • └ ins_product_code
  • String
  • 002005.escrow.busacc.F0070100001000073182
  • 保险产品码
  • └ ins_name
  • String
  • 众安汽车乘意险
  • 保险名称
  • special_terms_and_conditions
  • InsurancePropertyVO
  • 特别约定
  • └ name
  • String
  • 特别约定
  • 名称
  • └ type
  • String
  • text
  • 类型
  • └ value
  • String
  • 1.本保险产品的交通工具仅指经相关政府部门登记许可的以客运为目的的汽车。 2.本保险产品的承保区域为中华人民共和国境内(不包括香港、澳门及台湾地区)。 3.保险期间:在保险期限内,被保险人持有效客票乘坐购买本保险产品时所对应车票订单中约定的合法经营客运业务的境内(不含港澳台)汽车,自被保险人持有效车票上车时起,至被保险人到达车票载明或约定的旅程终点下车时终止。本保险产品的意外伤害事故须发生在汽车车厢内,若在汽车车厢外发生的保险事故,保险人不承担赔偿责任。 4.本保险产品必需且合理的医疗费用,应是符合当地社会基本医疗保险报销范围内的费用,且治疗医院范围为当地医保定点二级(含)以上的公立医院,不包括北京市平谷区、密云县、怀柔区的所有医疗机构、四川省宜宾市的所有医疗机构、四川省雅安市雨城区人民医院与四川省雅安市第二人民医院与山东省栖霞市的所有医疗机构。
  • 数据
  • └ key
  • String
  • specialTermsAndConditions
  • key
  • product_feature_image
  • InsurancePropertyVO
  • 产品特色图片
  • └ name
  • String
  • 产品特色图片
  • 名称
  • └ type
  • String
  • url
  • 类型
  • └ value
  • String
  • "https://bxcloudstore.alicdn.com/insmerchantprod/ZAOL/53127244212419242/详情页3.jpg
  • 数据
  • └ key
  • String
  • productFeatureImage
  • productFeatureImage
  • check_dtails
  • InsurancePropertyVO
  • 查看详情
  • └ name
  • String
  • 查看详情
  • 名称
  • └ type
  • String
  • file
  • 类型
  • └ value
  • String
  • https://bxcloudstore.alicdn.com/insmerchantprod/ZAOL/53129211728310009/查看详情.pdf
  • 数据
  • └ key
  • String
  • checkDtails
  • checkDtails
  • claim_flow
  • InsurancePropertyVO
  • 理赔流程
  • └ name
  • String
  • 理赔流程
  • 名称
  • └ type
  • String
  • file
  • 类型
  • └ value
  • String
  • https://bxcloudstore.alicdn.com/insmerchantprod/ZAOL/53307954353408205/理赔说明-线下版.pdf
  • 数据
  • └ key
  • String
  • claimFlow
  • claimFlow
  • product_term
  • InsurancePropertyVO
  • 保险条款
  • └ name
  • String
  • 保险条款
  • 名称
  • └ type
  • String
  • file
  • 类型
  • └ value
  • String
  • https://bxcloudstore.alicdn.com/insmerchantprod/ZAOL/53129079606962062/合并版条款.pdf
  • 数据
  • └ key
  • String
  • productTerm
  • productTerm
  • prod_tag
  • InsurancePropertyVO
  • 产品标签
  • └ name
  • String
  • 产品标签
  • 名称
  • └ type
  • String
  • text
  • 类型
  • └ value
  • String
  • 汽车意外保障 | 意外医疗0免赔
  • 数据
  • └ key
  • String
  • prodTag
  • prodTag
  • product_feature
  • InsurancePropertyVO
  • 产品特色
  • └ name
  • String
  • 产品特色
  • 名称
  • └ type
  • String
  • text
  • 类型
  • └ value
  • String
  • [\"最低3元起,享15万意外保障\",\"所乘车次中意外烫伤、磕碰均保\"]
  • 数据
  • └ key
  • String
  • productFeature
  • productFeature
  • claim_service_phone
  • InsurancePropertyVO
  • 理赔服务电话
  • └ name
  • String
  • 理赔服务电话
  • 名称
  • └ type
  • String
  • text
  • 类型
  • └ value
  • String
  • 10109955
  • 数据
  • └ key
  • String
  • claimServicePhone
  • claimServicePhone
  • product_image
  • InsurancePropertyVO
  • 产品图片
  • └ name
  • String
  • 产品图片
  • 名称
  • └ type
  • String
  • url
  • 类型
  • └ value
  • String
  • https://bxcloudstore.alicdn.com/insmerchantprod/ZAOL/53127259964565794/头图.jpg
  • 数据
  • └ key
  • String
  • productImage
  • productImage
  • ins_must_know
  • InsurancePropertyVO
  • 投保须知
  • └ name
  • String
  • 投保须知
  • 名称
  • └ type
  • String
  • file
  • 类型
  • └ value
  • String
  • https://bxcloudstore.alicdn.com/insmerchantprod/ZAOL/53307960881829822/投保须知.pdf
  • 数据
  • └ key
  • String
  • insMustKnow
  • insMustKnow
  • customer_service_phone
  • InsurancePropertyVO
  • 客服电话
  • └ name
  • String
  • 客服电话
  • 名称
  • └ type
  • String
  • text
  • 类型
  • └ value
  • String
  • 10109955
  • 数据
  • └ key
  • String
  • customerServicePhone
  • customerServicePhone
  • └ ins_price
  • Number
  • 500
  • 保险售卖价格(单位:分)
  • └ ins_title
  • String
  • 众安汽车乘意险
  • 保险标题
result_code String system error 接口业务成功时为空
result_msg String 系统异常 错误信息
is_success Boolean true true:成功;false:失败

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripBusInsuranceRecommendRequest req = new AlitripBusInsuranceRecommendRequest();
AlitripBusInsuranceRecommendRequest.InsuranceRecommendRq obj1 = new AlitripBusInsuranceRecommendRequest.InsuranceRecommendRq();
obj1.setCityName("杭州市");
obj1.setMachineNumber("1333");
obj1.setStationName("杭州东站");
obj1.setProvinceName("浙江省");
obj1.setTradeSource("self");
req.setInsuranceRecommendRq(obj1);
AlitripBusInsuranceRecommendResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alitrip_bus_insurance_recommend_response>
    <ins_product_list>
        <insurance_product_v_o>
            <ins_product_code>002005.escrow.busacc.F0070100001000073182</ins_product_code>
            <ins_name>众安汽车乘意险</ins_name>
            <special_terms_and_conditions>
                <name>特别约定</name>
                <type>text</type>
                <value>1.本保险产品的交通工具仅指经相关政府部门登记许可的以客运为目的的汽车。 2.本保险产品的承保区域为中华人民共和国境内(不包括香港、澳门及台湾地区)。 3.保险期间:在保险期限内,被保险人持有效客票乘坐购买本保险产品时所对应车票订单中约定的合法经营客运业务的境内(不含港澳台)汽车,自被保险人持有效车票上车时起,至被保险人到达车票载明或约定的旅程终点下车时终止。本保险产品的意外伤害事故须发生在汽车车厢内,若在汽车车厢外发生的保险事故,保险人不承担赔偿责任。 4.本保险产品必需且合理的医疗费用,应是符合当地社会基本医疗保险报销范围内的费用,且治疗医院范围为当地医保定点二级(含)以上的公立医院,不包括北京市平谷区、密云县、怀柔区的所有医疗机构、四川省宜宾市的所有医疗机构、四川省雅安市雨城区人民医院与四川省雅安市第二人民医院与山东省栖霞市的所有医疗机构。</value>
                <key>specialTermsAndConditions</key>
            </special_terms_and_conditions>
            <product_feature_image>
                <name>产品特色图片</name>
                <type>url</type>
                <value>&quot;https://bxcloudstore.alicdn.com/insmerchantprod/ZAOL/53127244212419242/详情页3.jpg</value>
                <key>productFeatureImage</key>
            </product_feature_image>
            <check_dtails>
                <name>查看详情</name>
                <type>file</type>
                <value>https://bxcloudstore.alicdn.com/insmerchantprod/ZAOL/53129211728310009/查看详情.pdf</value>
                <key>checkDtails</key>
            </check_dtails>
            <claim_flow>
                <name>理赔流程</name>
                <type>file</type>
                <value>https://bxcloudstore.alicdn.com/insmerchantprod/ZAOL/53307954353408205/理赔说明-线下版.pdf</value>
                <key>claimFlow</key>
            </claim_flow>
            <product_term>
                <name>保险条款</name>
                <type>file</type>
                <value>https://bxcloudstore.alicdn.com/insmerchantprod/ZAOL/53129079606962062/合并版条款.pdf</value>
                <key>productTerm</key>
            </product_term>
            <prod_tag>
                <name>产品标签</name>
                <type>text</type>
                <value>汽车意外保障 | 意外医疗0免赔</value>
                <key>prodTag</key>
            </prod_tag>
            <product_feature>
                <name>产品特色</name>
                <type>text</type>
                <value>[\&quot;最低3元起,享15万意外保障\&quot;,\&quot;所乘车次中意外烫伤、磕碰均保\&quot;]</value>
                <key>productFeature</key>
            </product_feature>
            <claim_service_phone>
                <name>理赔服务电话</name>
                <type>text</type>
                <value>10109955</value>
                <key>claimServicePhone</key>
            </claim_service_phone>
            <product_image>
                <name>产品图片</name>
                <type>url</type>
                <value>https://bxcloudstore.alicdn.com/insmerchantprod/ZAOL/53127259964565794/头图.jpg</value>
                <key>productImage</key>
            </product_image>
            <ins_must_know>
                <name>投保须知</name>
                <type>file</type>
                <value>https://bxcloudstore.alicdn.com/insmerchantprod/ZAOL/53307960881829822/投保须知.pdf</value>
                <key>insMustKnow</key>
            </ins_must_know>
            <customer_service_phone>
                <name>客服电话</name>
                <type>text</type>
                <value>10109955</value>
                <key>customerServicePhone</key>
            </customer_service_phone>
            <ins_price>500</ins_price>
            <ins_title>众安汽车乘意险</ins_title>
        </insurance_product_v_o>
    </ins_product_list>
    <result_code>system error</result_code>
    <result_msg>系统异常</result_msg>
    <is_success>true</is_success>
</alitrip_bus_insurance_recommend_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

返回
顶部