租车分销商品详情接口
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| rent_car_b2b_product_detail_req | RentCarB2bProductDetailReq | 可选 | 入参 | ||
|
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| driver_strategy_list | DriverStrategy [] | 租车须知 | |
|
|||
| rent_car_tips_list | RentCarTips [] | 补充说明模块(其它说明) | |
|
|||
| pick_car_materials | PickCarMaterials | 取车材料 | |
|
|||
| ret_code | String | 1001 | 错误码 |
| ret_msg | String | 错误原因 | 错误信息 |
| item_id | String | eJxGwQkBACEIBMAwFoDlkyAXQET6R7gZ+oJIZQGsniaGANZcHGytmg4PlyeT5JbTG5WMlcxHFVevd+MhvO6pftuMRgI/pQUWSg== | itemId |
| price_info | RentCarDetailPriceInfo | 价格信息 | |
|
|||
| return_store | RentCarStore | 还车商家 | |
|
|||
| successful | Boolean | true | 请求是否成功 |
| car_info | RentCarInfo | 车辆信息 | |
|
|||
| supplier_info | RentCarSupplier | 供应商信息 | |
|
|||
| added_service_list | AddedService [] | 增值服务,大致如下11 车辆租金 12 零散小时费 13 手续费 14 商家优惠,负值 21 基础服务费 22 尊享服务费 23 车损无忧 24 其他保险服务费 31 送车上门服务费 32 上门还车服务费 33 异地还车费 34 夜间服务费 101 婴儿座椅(0~15个月) 102 儿童座椅(9个月~6岁) 103 儿童增高座垫(6~12岁) 111 防滑链 112 雪地胎 PROMO_1 飞猪平台优惠,负值,用于B2B分销场景,传飞猪最大优惠 OTHER 其他费用(商家传的其他费用,可能为正值或负值) | |
|
|||
| cancel_strategy_struct | CancelStrategyStruct | 取消政策 | |
|
|||
| exts | Json | {"key","value"} | 响应扩展字段 |
| pick_up_store | RentCarStore | 取车门店 | |
|
|||
| car_use_time | Date | 2022-12-11 11:11:11 | 用车时间 |
| car_return_time | Date | 2022-12-13 11:11:11 | 还车时间 |
| pick_up_info | RentCarAddressInfo | 用户搜索取车位置点信息 | |
|
|||
| return_info | RentCarAddressInfo | 用户搜索还车位置点信息 | |
|
|||
| insurance_struct_info | InsuranceStructInfo | 保险结构化信息(仅用于C端展示) | |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripRentcarBtbDetailQueryRequest req = new AlitripRentcarBtbDetailQueryRequest();
AlitripRentcarBtbDetailQueryRequest.RentCarB2bProductDetailReq obj1 = new AlitripRentcarBtbDetailQueryRequest.RentCarB2bProductDetailReq();
obj1.setTraceId("2147b72e16691938918672871ef815");
obj1.setItemId("eJxGwQkBACEIBMAwFoDlkyAXQET6R7gZ+oJIZQGsniaGANZcHGytmg4PlyeT5JbTG5WMlcxHFVevd+MhvO6pftuMRgI/pQUWSg==");
obj1.setExts("{\"key\":\"value\"}");
obj1.setChannelId("80001");
req.setRentCarB2bProductDetailReq(obj1);
AlitripRentcarBtbDetailQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<alitrip_rentcar_btb_detail_query_response>
<driver_strategy_list>
<driver_strategy>
<type>1</type>
<desc>请持驾驶员本人有效证件取车:身份证|护照|回乡证|台胞证(有效期需1个月以上)、驾照(有效期需1个月以上,驾龄满1个月)</desc>
</driver_strategy>
</driver_strategy_list>
<rent_car_tips_list>
<rent_car_tips>
<sub_title>
<sub_title>
<title>提前还车收费标准</title>
</sub_title>
</sub_title>
<title>常规费用标准</title>
<desc>常规费用标准</desc>
</rent_car_tips>
</rent_car_tips_list>
<pick_car_materials>
<driving_experience_time>1</driving_experience_time>
<driver_card_time>1</driver_card_time>
<card_type>1,2,3,4</card_type>
<credit_time>1</credit_time>
<card_time>1</card_time>
</pick_car_materials>
<ret_code>1001</ret_code>
<ret_msg>错误原因</ret_msg>
<item_id>eJxGwQkBACEIBMAwFoDlkyAXQET6R7gZ+oJIZQGsniaGANZcHGytmg4PlyeT5JbTG5WMlcxHFVevd+MhvO6pftuMRgI/pQUWSg==</item_id>
<price_info>
<quantity>2.0</quantity>
<legal_pre_deposit>100</legal_pre_deposit>
<calendar_price>
<daily_price_info>
<date>2022-02-11 11:13:54</date>
<day_price>100</day_price>
<scattered_price>100</scattered_price>
<scattered_minutes>100</scattered_minutes>
</daily_price_info>
</calendar_price>
<legal_deposit_time_out>50</legal_deposit_time_out>
<rent_fee>100</rent_fee>
<basic_service_fee>100</basic_service_fee>
<poundage_fee>200</poundage_fee>
<origin_total_fee>2000</origin_total_fee>
<scattered_price_rule_info>
<data>
<scattered_price_rule>
<start_time>10</start_time>
<end_time>20</end_time>
<value>20</value>
</scattered_price_rule>
</data>
</scattered_price_rule_info>
<unit_price>500</unit_price>
<on_door_fee>15</on_door_fee>
<origin_unit_price>500</origin_unit_price>
<car_pre_deposit>200</car_pre_deposit>
<hour_fee>83</hour_fee>
<total_fee>1000</total_fee>
<one_way_fee>50</one_way_fee>
<promotion_info>
<code>code01</code>
<name>周年庆</name>
<desc>周年庆大酬宾</desc>
<off_value>200.00</off_value>
<type>1</type>
<investor>1</investor>
</promotion_info>
<tags>3,4</tags>
<car_license>0</car_license>
<car_license_desc>粤A</car_license_desc>
<return_car_type>1</return_car_type>
<pick_up_on_door_fee>e.g:12.90</pick_up_on_door_fee>
<return_on_door_fee>e.g:12.90</return_on_door_fee>
<pick_up_car_type>1</pick_up_car_type>
<car_pre_deposit_time_out>15</car_pre_deposit_time_out>
</price_info>
<return_store>
<store_type>1</store_type>
<address>三亚凤凰国际机场</address>
<code>11222</code>
<city_name>三亚</city_name>
<latitude>18.303395</latitude>
<open_times>00:00-23:59</open_times>
<name>三亚锦珩租车</name>
<telephones>15140221647</telephones>
<sid>11412</sid>
<city_code>460200</city_code>
<longitude>109.414693</longitude>
</return_store>
<successful>true</successful>
<car_info>
<car_name>标准续航后驱升级版</car_name>
<output_type>1</output_type>
<output_volume>2.0</output_volume>
<type>3</type>
<model_year>2017</model_year>
<door_num>5</door_num>
<auto_brand>特斯拉</auto_brand>
<transmission>2</transmission>
<seat_num>7</seat_num>
<fuel_type>2</fuel_type>
<name>Model 3</name>
<pics>xxx.png</pics>
<sid>35024</sid>
</car_info>
<supplier_info>
<brand_desc>飞猪租车,安心租</brand_desc>
<name>飞猪租车</name>
<id>1</id>
<pic>xxx.png</pic>
<tags>22,33,45</tags>
</supplier_info>
<added_service_list>
<added_service>
<sid>4</sid>
<service_desc>送车上门费</service_desc>
<service_quantity>1</service_quantity>
<service_price>148</service_price>
<is_one_way_fee>1</is_one_way_fee>
<service_price_amount>148</service_price_amount>
<service_name>送车上门费</service_name>
<is_fixed>1</is_fixed>
</added_service>
</added_service_list>
<cancel_strategy_struct>
<cancel_rules>
<cancel_rule>
<num>100</num>
<time>10</time>
</cancel_rule>
</cancel_rules>
<manual_check_time>10</manual_check_time>
<cancel_type>1</cancel_type>
<support_cancel>true</support_cancel>
</cancel_strategy_struct>
<exts>{"key","value"}</exts>
<pick_up_store>
<store_type>1</store_type>
<address>三亚凤凰国际机场</address>
<code>11222</code>
<city_name>三亚</city_name>
<latitude>18.303395</latitude>
<open_times>00:00-23:59</open_times>
<name>三亚锦珩租车</name>
<telephones>15140221647</telephones>
<sid>11412</sid>
<city_code>460200</city_code>
<longitude>109.414693</longitude>
</pick_up_store>
<car_use_time>2022-12-11 11:11:11</car_use_time>
<car_return_time>2022-12-13 11:11:11</car_return_time>
<pick_up_info>
<city_code>411100</city_code>
<name>漯河高铁站</name>
<location>12.123123,12.123241</location>
</pick_up_info>
<return_info>
<location>12.123123,12.123241</location>
<name>漯河高铁站</name>
<city_code>411100</city_code>
</return_info>
<insurance_struct_info>
<insurances>
<rent_car_insurance>
<sid>11</sid>
<insurance_type>1</insurance_type>
<insurance_name>尊享服务</insurance_name>
<insurance_terms>
<insurance_first_level_terms>
<include>true</include>
<title>车损保障</title>
<sub_terms>
<insurance_second_level_terms>
<include>true</include>
<title>车损保障</title>
<desc>
<string>发生车辆损失或车辆报废时,用户或承租方可通过赔付减损。若同一订单中发生多次车损,每次车损单独计算承担额</string>
</desc>
<sub_terms>
<insurance_third_level_terms>
<include>true</include>
<title>车损保障</title>
<desc>
<string>发生车辆损失或车辆报废时,用户或承租方可通过赔付减损。若同一订单中发生多次车损,每次车损单独计算承担额</string>
</desc>
</insurance_third_level_terms>
</sub_terms>
</insurance_second_level_terms>
</sub_terms>
</insurance_first_level_terms>
</insurance_terms>
<origin_daily_unit_price>200</origin_daily_unit_price>
<daily_unit_price>180</daily_unit_price>
<required>false</required>
<insurance_items>
<insurance_item>
<type>1</type>
<name>车损保障</name>
<title>1500元以内自付</title>
<include>true</include>
<from>1500</from>
<to>15000000</to>
<percent>30</percent>
</insurance_item>
</insurance_items>
</rent_car_insurance>
</insurances>
<insurance_claim_notice>
<insurance_first_level_notice>
<title>车辆事故处理流程</title>
<desc>
<string>发生车损(本车与第三方,或本车单独发生事故)时,请按下方流程处理,否则将无法享受门店服务保障权益。</string>
</desc>
<sub_notices>
<insurance_second_level_notice>
<title>车辆事故处理流程</title>
</insurance_second_level_notice>
</sub_notices>
</insurance_first_level_notice>
</insurance_claim_notice>
</insurance_struct_info>
</alitrip_rentcar_btb_detail_query_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|