星河服务,获取雅高酒店详细信息,详情页新改版接口
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| tenant_key | String | 必须 | 111 | 租户id | |
| hotel_details_param | HotelDetailsParam | 可选 | 请求参数 | ||
|
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| result | Response | result | 默认描述 |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripMerchantGalaxyHotelDetailSearchDataRequest req = new AlitripMerchantGalaxyHotelDetailSearchDataRequest();
req.setTenantKey("111");
AlitripMerchantGalaxyHotelDetailSearchDataRequest.HotelDetailsParam obj1 = new AlitripMerchantGalaxyHotelDetailSearchDataRequest.HotelDetailsParam();
obj1.setFewNights(1L);
obj1.setCheckIn("2021-09-01");
obj1.setAdultNum(1L);
obj1.setShid(532423L);
obj1.setHotelId("5554");
List<AlitripMerchantGalaxyHotelDetailSearchDataRequest.HotelDetailsGroupParam> list3 = new ArrayList<AlitripMerchantGalaxyHotelDetailSearchDataRequest.HotelDetailsGroupParam>();
AlitripMerchantGalaxyHotelDetailSearchDataRequest.HotelDetailsGroupParam obj4 = new AlitripMerchantGalaxyHotelDetailSearchDataRequest.HotelDetailsGroupParam();
list3.add(obj4);
obj4.setGroupName("大床房");
obj4.setRoomIds("213214,213231");
obj4.setCancelType("1");
obj4.setBreakfast("1");
obj1.setGroupParam(list3);
obj1.setCheckOut("2021-09-02");
obj1.setRoomType("11");
obj1.setChildrenAges("1");
obj1.setToken("token");
obj1.setVoucherId("123");
obj1.setVersion(1L);
req.setHotelDetailsParam(obj1);
AlitripMerchantGalaxyHotelDetailSearchDataResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<alitrip_merchant_galaxy_hotel_detail_search_data_response>
<result>
<success>true</success>
<error_code>1234</error_code>
<content>
<facility_group_list>
<facility_list_vo>
<facility_list>
<facility_vo>
<icon>https://fm-unicorn-hotel.oss-cn-beijing.aliyuncs.com/10006373010/facility/%E5%84%BF%E7%AB%A5%E7%89%99%E5%88%B7.png</icon>
<name>儿童牙刷</name>
<summary>11</summary>
<description>1</description>
</facility_vo>
</facility_list>
<facility_name>儿童设施</facility_name>
</facility_list_vo>
</facility_group_list>
<address_info>
<address>西湖大道333号近 南山路(近西湖,雷峰塔,中国美院,南山路,河坊街)</address>
<position_type>0</position_type>
<city_code>330100</city_code>
<latitude>30.245586</latitude>
<domestic>0</domestic>
<country_code>1</country_code>
<city_cn>杭州市</city_cn>
<country_cn>中华人民共和国</country_cn>
<longitude>120.161686</longitude>
</address_info>
<hotel_info>
<brand_name>索菲特</brand_name>
<star>5</star>
<phone>0571-87075858</phone>
<shid>10023179</shid>
<hotel_feature>
<rooms>233</rooms>
<check_in>14:00</check_in>
<floors>6</floors>
<decorate_time>2014</decorate_time>
<opening_time>2003</opening_time>
<postal_code>310002</postal_code>
<check_out>12:00</check_out>
<fax>0086#0571#87069478</fax>
<type>1,9</type>
</hotel_feature>
<description>杭州索菲特西湖大酒店位于西湖大道,绝美西湖,一步之遥;中国美院,一墙之隔;风情南山 ,一目之间。酒店坐拥180度露天西湖美景,空中花园举目可眺宝石流霞、雷锋夕照、断桥残雪、吴山天风、三潭印月。
酒店迎来送往,体贴入微,以特色的法式问候,优雅的着装尽显法兰西浪漫与西子湖柔情的完美结合。酒店拥有两百余间舒适的客房,配备浪凡或爱马仕洗浴用品,办公文具齐全,迷你吧供应多种国际品牌产品。行政酒廊的法式风情配上可俯视西湖秀丽山水的露台。
酒店拥有共计809平方米的6个多功能会议室;灵感会议团队将为您提供优质、全面的服务;在香榭丽餐厅里您可以尽情享受美味的馅饼、优雅的芝士礼节及非凡的葡萄酒体验;涌金阁中餐厅以地道美味的杭帮菜而著称;全新打造西湖厅是西湖之畔较高的宴会厅,适合举办各类宴会、会议及婚礼;钻石露台,是公司聚会、举办鸡尾酒会与烧烤的上佳场所;埃菲尔酒吧令您完全置身于一个心旷神怡的舒适天地里。</description>
<hotel_id>5554</hotel_id>
<brand_code>1997</brand_code>
<hid>1</hid>
</hotel_info>
<shid>10023179</shid>
<price_group_summary_list>
<price_group_summary_vo>
<group_name>非会员价</group_name>
<lowest_price>88900</lowest_price>
<room_total>1</room_total>
<rooms>
<room_summary_vo>
<sr_id>1</sr_id>
<name>1</name>
</room_summary_vo>
</rooms>
</price_group_summary_vo>
</price_group_summary_list>
<hotel_pictures>
<hotel_picture_dto>
<type_name>周边</type_name>
<picture_address>
<string></string>
</picture_address>
<type_code>SURROUNDING</type_code>
</hotel_picture_dto>
</hotel_pictures>
<name_cn>杭州索菲特西湖大酒店</name_cn>
<room_details>
<room_detail_vo>
<lowest_price>140800</lowest_price>
<lowest_price_to_string>1408</lowest_price_to_string>
<add_bed>1</add_bed>
<price_type>CNY</price_type>
<price_info_groups>
<room_type_bed_info_dto>
<price_info_list>
<price_info_dto>
<is_guarantee>0</is_guarantee>
<member_room_v2>false</member_room_v2>
<gid>1058501020987</gid>
<cancel_type>2</cancel_type>
<dinamic_original_price>140800</dinamic_original_price>
<is_sell_out>0</is_sell_out>
<tax_and_fee_to_string>201</tax_and_fee_to_string>
<room_total_price>140800</room_total_price>
<rp_id>2890318100987</rp_id>
<rate_id>150200550173987</rate_id>
<room_id>70672905</room_id>
<payment_type>1</payment_type>
<dinamic_original_price_to_string>1408</dinamic_original_price_to_string>
<refund_rules>不可取消</refund_rules>
<rp_code>1RB3</rp_code>
<member_room>false</member_room>
<rate_price>120700</rate_price>
<rate_price_to_string>1207</rate_price_to_string>
<tax_and_fee>20100</tax_and_fee>
<hot_price>0</hot_price>
<outer_room_id>1070594005987</outer_room_id>
<price_type>CNY</price_type>
<breakfast_desc>含早餐</breakfast_desc>
<allow_person_number>1</allow_person_number>
<breakfasts>
<string></string>
</breakfasts>
<cancel_time>不可取消</cancel_time>
<room_total_price_to_string>1408</room_total_price_to_string>
<rp_name>提前3天优惠价+含早餐</rp_name>
<status>0</status>
<price_info>
<is_guarantee>0</is_guarantee>
<member_room_v2>false</member_room_v2>
<gid>1058501020987</gid>
<cancel_type>2</cancel_type>
<dinamic_original_price>140800</dinamic_original_price>
<is_sell_out>0</is_sell_out>
<tax_and_fee_to_string>201</tax_and_fee_to_string>
<room_total_price>140800</room_total_price>
<rp_id>2890318100987</rp_id>
<rate_id>150200550173987</rate_id>
<room_id>70672905</room_id>
<payment_type>1</payment_type>
<dinamic_original_price_to_string>1408</dinamic_original_price_to_string>
<refund_rules>不可取消</refund_rules>
<rp_code>1RB3</rp_code>
<member_room>false</member_room>
<rate_price>120700</rate_price>
<rate_price_to_string>1207</rate_price_to_string>
<tax_and_fee>20100</tax_and_fee>
<hot_price>0</hot_price>
<outer_room_id>1070594005987</outer_room_id>
<price_type>CNY</price_type>
<breakfast_desc>含早餐</breakfast_desc>
<allow_person_number>1</allow_person_number>
<breakfasts>
<string></string>
</breakfasts>
<cancel_time>不可取消</cancel_time>
<room_total_price_to_string>1408</room_total_price_to_string>
<rp_name>提前3天优惠价+含早餐</rp_name>
<status>0</status>
<tag>1</tag>
<hotel_dinamic_labels>
<hotel_dinamic_label_dto>
<type>1</type>
<name>1</name>
</hotel_dinamic_label_dto>
</hotel_dinamic_labels>
<first_live>1</first_live>
<is_derby_voucher_room>ture</is_derby_voucher_room>
</price_info>
<tag>1</tag>
<coupon_template_ids>
<number></number>
</coupon_template_ids>
<discount_amount>1</discount_amount>
<first_live>1</first_live>
<hotel_dinamic_labels>
<hotel_dinamic_label_dto>
<type>1</type>
<name>1</name>
</hotel_dinamic_label_dto>
</hotel_dinamic_labels>
<voucher_info>
<is_mark_up>1</is_mark_up>
<mark_up_amount>1</mark_up_amount>
</voucher_info>
<coupon_type>ELIGIBILITY_COUPON</coupon_type>
<category>ROOM_DISCOUNT</category>
<discount_off>30</discount_off>
<is_derby_voucher_room>true</is_derby_voucher_room>
<booking_or_buy>1/0</booking_or_buy>
<voucher_card_category>权益卡类别</voucher_card_category>
<underscore_price>100</underscore_price>
</price_info_dto>
</price_info_list>
<group_name>非会员价</group_name>
</room_type_bed_info_dto>
</price_info_groups>
<pics>
<string></string>
</pics>
<room_id>70672905</room_id>
<room_name>行政豪华大床房</room_name>
<room_type_bed_info>
<brief_desc>特大床</brief_desc>
<classification_desc>大床</classification_desc>
<fuzzy_desc>特大床</fuzzy_desc>
<simple_desc>1张特大床</simple_desc>
<desc>1张特大床(1.83M)</desc>
</room_type_bed_info>
<full>false</full>
<room_property>
<area>1</area>
<network_service>1</network_service>
<bed_type_icon>1</bed_type_icon>
<max_occupancy_icon>1</max_occupancy_icon>
<max_occupancy>1</max_occupancy>
<floor>1</floor>
<floor_icon>1</floor_icon>
<area_icon>1</area_icon>
<window_type_icon>1</window_type_icon>
<window_type>1</window_type>
</room_property>
<facility_group_list>
<facility_list_vo>
<facility_list>
<facility_vo>
<icon>https://fm-unicorn-hotel.oss-cn-beijing.aliyuncs.com/10006373010/facility/%E5%84%BF%E7%AB%A5%E7%89%99%E5%88%B7.png</icon>
<name>儿童牙刷</name>
</facility_vo>
</facility_list>
<facility_name>儿童设施</facility_name>
</facility_list_vo>
</facility_group_list>
</room_detail_vo>
</room_details>
<hotel_id>5554</hotel_id>
<hotel_policy_list>
<facility_vo>
<name>1</name>
<icon>1</icon>
<summary>1</summary>
<description>1</description>
<code>1</code>
</facility_vo>
</hotel_policy_list>
<health_notification>
<icon>1</icon>
<description>1</description>
</health_notification>
<hid>1</hid>
</content>
<error_msg>1</error_msg>
</result>
</alitrip_merchant_galaxy_hotel_detail_search_data_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|