星河服务=获取雅高酒店详细信息
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| tenant_key | String | 可选 | 111 | 租户id | |
| hotel_details_param | HotelDetailsParam | 必须 | 酒店详情入参 | ||
|
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| result | Result | 接口返回model | |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripMerchantGalaxyHotelDetailSearchRequest req = new AlitripMerchantGalaxyHotelDetailSearchRequest();
req.setTenantKey("111");
AlitripMerchantGalaxyHotelDetailSearchRequest.HotelDetailsParam obj1 = new AlitripMerchantGalaxyHotelDetailSearchRequest.HotelDetailsParam();
obj1.setCheckOut("2020-01-02");
obj1.setCheckIn("2020-01-01");
obj1.setHotelId("12345");
obj1.setShid(111111L);
obj1.setMemberLevel("1");
obj1.setAdultNum(1L);
obj1.setChildrenAges("11,12");
obj1.setFewNights(1L);
obj1.setRoomType("FREE_CANCEL");
obj1.setToken("123");
req.setHotelDetailsParam(obj1);
AlitripMerchantGalaxyHotelDetailSearchResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<alitrip_merchant_galaxy_hotel_detail_search_response>
<result>
<success>true</success>
<error_code>demo</error_code>
<content>
<hotel_pictures>
<hotel_picture_dto>
<type_name></type_name>
<type_code></type_code>
<picture_address>
<string></string>
</picture_address>
</hotel_picture_dto>
</hotel_pictures>
<rooms>274</rooms>
<hid>243792003987</hid>
<district_code>520102</district_code>
<position_type>0</position_type>
<shid>50185209</shid>
<city_code>520100</city_code>
<opening_time>2017</opening_time>
<postal_code>11@qq.com</postal_code>
<latitude>26.575793</latitude>
<description>贵阳亨特索菲特酒店位于城市中心繁华商务地段,毗邻亨特购物广场,邻近风光秀丽的南明河、甲秀楼及文昌阁等著名旅游景点,位置得天独厚。距贵阳龙洞堡国际机场仅20分钟车程,交通极为便利。酒店楼高298米,客房全部配有大型观景窗,房间宽敞舒适,配备高端智能设备。位于酒店57楼的云尚西餐厅全天营业,餐厅户外露台可俯瞰城市绝美景致。是商旅人士下榻的理想之选。</description>
<fun_facilitys>
<string>demo</string>
</fun_facilitys>
<domestic>0</domestic>
<floors>38-54</floors>
<province>贵州省</province>
<country_code>1</country_code>
<city_cn>贵阳市</city_cn>
<fax></fax>
<hotel_facilitys>
<string>demo</string>
</hotel_facilitys>
<brand_code>1997</brand_code>
<facilitys>demo</facilitys>
<longitude>106.71941</longitude>
<brand_name>索菲特</brand_name>
<address>贵州省贵阳市南明区都司高架桥路33号</address>
<star>5</star>
<province_code>520000</province_code>
<decorate_time>2017</decorate_time>
<name_cn>贵阳亨特索菲特酒店</name_cn>
<hotel_id>8873</hotel_id>
<check_in>14:00</check_in>
<phone>0086#0851#88887777</phone>
<district>南明区</district>
<hotel_services>
<string>demo</string>
</hotel_services>
<check_out>12:00</check_out>
<country_cn>中华人民共和国</country_cn>
<room_details>
<room_detail_dto>
<area>40</area>
<lowest_price>76400</lowest_price>
<lowest_price_to_string>764</lowest_price_to_string>
<room_type_bed_info>
<brief_desc>双床</brief_desc>
<fuzzy_desc>双床</fuzzy_desc>
<classification_desc>双床</classification_desc>
<simple_desc>2张单人床</simple_desc>
<desc>2张单人床(1.2M)</desc>
</room_type_bed_info>
<max_occupancy_icon>demo</max_occupancy_icon>
<price_type>CNY</price_type>
<price_infos>
<price_info_dto>
<is_guarantee>0</is_guarantee>
<stock_number>demo</stock_number>
<gid>1064830037987</gid>
<cancel_type>2</cancel_type>
<dinamic_original_price>76400</dinamic_original_price>
<is_sell_out>0</is_sell_out>
<tax_and_fee_to_string>109</tax_and_fee_to_string>
<room_total_price>131000</room_total_price>
<rp_id>2987749478987</rp_id>
<rate_id>150201875908987</rate_id>
<payment_type>1</payment_type>
<dinamic_original_price_to_string>764</dinamic_original_price_to_string>
<refund_rules>2021年02月04日00点前取消扣取首晚房费作为手续费。
2021年02月04日00点及以后取消,扣取全额房费。</refund_rules>
<cancel_insurance_icon>可购取消险</cancel_insurance_icon>
<rate_price>65500</rate_price>
<rate_price_to_string>1310</rate_price_to_string>
<tax_and_fee>10900</tax_and_fee>
<outer_room_id>1075054022987</outer_room_id>
<member_level>demo</member_level>
<price_type>CNY</price_type>
<breakfast_desc>含早餐</breakfast_desc>
<allow_person_number>2</allow_person_number>
<breakfasts>
<string></string>
</breakfasts>
<cancel_time>不可取消</cancel_time>
<room_total_price_to_string>demo</room_total_price_to_string>
<cancel_insurance_desc>购买取消险,未入住可获赔房费损失的90%,7个工作日内理赔到账</cancel_insurance_desc>
<rp_name>雅高大中华区疯狂大促 - 享受七折优惠+含早餐</rp_name>
<status>0</status>
<hotel_dinamic_labels>
<hotel_dinamic_label_dto>
<name></name>
<type></type>
</hotel_dinamic_label_dto>
</hotel_dinamic_labels>
<stock_number_des></stock_number_des>
<member_room></member_room>
<member_room_v2></member_room_v2>
<first_live></first_live>
<member_level_v2></member_level_v2>
</price_info_dto>
</price_infos>
<area_icon>demo</area_icon>
<room_name>高级双床房</room_name>
<room_id>61607195</room_id>
<network_service>demo</network_service>
<bed_type_icon>demo</bed_type_icon>
<add_bed>0</add_bed>
<max_occupancy>2</max_occupancy>
<pics>
<string></string>
</pics>
<facilitys>
<room_properties_dto>
<sub_type>-1</sub_type>
<value>电子秤</value>
</room_properties_dto>
</facilitys>
<full>demo</full>
<floor></floor>
<window_type></window_type>
</room_detail_dto>
</room_details>
<status>0</status>
<rating_average>demo</rating_average>
<country_en></country_en>
<hotel_policys>
<string></string>
</hotel_policys>
</content>
<error_msg>demo</error_msg>
</result>
</alitrip_merchant_galaxy_hotel_detail_search_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|---|---|
| isp.top-mapping-parse-error | top接口映射分析错误 | 人工排查 |