感谢您的反馈!
四海通推广者酒店详细查询
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| query_hotel_details_request | QueryHotelDetailsRequest | 必须 | 参数数据包装类 | ||
|
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| is_success | Boolean | true | 是否成功 |
| result_code | String | SHT_CHANNEL_SUPPLY_PARAMS_ERROR | 1 |
| model | QueryHotelDetailsResponse | 数据包装类 | |
|
|||
| result_message | String | QUERY_HOTEL_ERROR | 结果消息 |
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaFliggyPromoteHotelDetailsRequest req = new AlibabaFliggyPromoteHotelDetailsRequest();
AlibabaFliggyPromoteHotelDetailsRequest.QueryHotelDetailsRequest obj1 = new AlibabaFliggyPromoteHotelDetailsRequest.QueryHotelDetailsRequest();
obj1.setActivityId("sht_zb_travel");
obj1.setPromotionPositionId(2219172258770L);
obj1.setHotelId("78816219");
obj1.setPromoteAppKey(1000028L);
req.setQueryHotelDetailsRequest(obj1);
AlibabaFliggyPromoteHotelDetailsResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<alibaba_fliggy_promote_hotel_details_response>
<is_success>true</is_success>
<result_code>SHT_CHANNEL_SUPPLY_PARAMS_ERROR</result_code>
<model>
<hotel_id>78816219</hotel_id>
<hotel_detail>
<hotel_name>美好南城保利公寓</hotel_name>
<address>东莞南城街道三元路4号保利都汇大厦四栋1楼, 中国</address>
<city_code>441900</city_code>
<city_name>东莞市</city_name>
<latitude>23.006490660980383</latitude>
<longitude>113.73977192943835</longitude>
<hotel_type>HOTEL</hotel_type>
<status>0</status>
<facilities>
<category>Facilities</category>
<category_name>酒店设施</category_name>
<facility_name>24小时前台</facility_name>
</facilities>
<arrival_time>14:00</arrival_time>
<departure_time>12:00</departure_time>
<hotel_tag>
<support_breakfast>true</support_breakfast>
<support_free_cancel>true</support_free_cancel>
<support_special_invoice>true</support_special_invoice>
<support_prepay_invoice>true</support_prepay_invoice>
<support_prepay>true</support_prepay>
<support_self_pay>true</support_self_pay>
</hotel_tag>
<hotel_star>2</hotel_star>
<hotel_category>2</hotel_category>
<hotel_name_en>Hotel Name</hotel_name_en>
<brand_name>如家精选</brand_name>
<group_name>首旅如家</group_name>
<address_en>广东省东莞市</address_en>
<postal_code>523000</postal_code>
<district_code>330100</district_code>
<district_name>萧山区</district_name>
<business_zone>天安门/王府井地区</business_zone>
<hotel_desc>酒店坐落在东莞南城宏远桥旁,保利珑远广场,光观电梯对面\r\n经过一座城,寻觅一间房,消去您满身的疲劳,我们将以热情的服务,舒适的房间,期待您的到来。我们,在这里,等您来!</hotel_desc>
<hotel_brief>酒店坐落在东莞南城宏远桥旁,保利珑远广场,光观电梯对面\r\n经过一座城,寻觅一间房,消去您满身的疲劳,我们将以热情的服务,舒适的房间,期待您的到来。我们,在这里,等您来!</hotel_brief>
<open_year>2024-01-01</open_year>
<fitment_year>2024-01-01</fitment_year>
<email>xxxx@x.com</email>
<total_score>5.0</total_score>
<booking_limits>
<booking_limit>
<time>2025</time>
<pet_info>不能带宠物</pet_info>
<children_policy>儿童政策</children_policy>
<breakfast_policy>早餐政策</breakfast_policy>
</booking_limit>
</booking_limits>
<park_infos>
<park_info>
<time>24</time>
<desc>停车详细</desc>
<type>停车信息类型</type>
</park_info>
</park_infos>
</hotel_detail>
<room_list>
<room_detail>
<room_id>114755225</room_id>
<room_name>一房一厅双床</room_name>
<has_window>1</has_window>
<has_many_beds>true</has_many_beds>
<bed_number>1</bed_number>
<wireless_broad_net>2</wireless_broad_net>
<wired_broad_net>2</wired_broad_net>
<area>50</area>
<floor>11-23</floor>
<bed_details>
<bed_detail>
<bed_number>1</bed_number>
<bed_width>1.6</bed_width>
<bed_length>1.6</bed_length>
<bed_type>大床</bed_type>
</bed_detail>
</bed_details>
<bath>独立卫浴</bath>
<description>中文描述</description>
<capacity>32</capacity>
<facilities>
<facility>
<category>服务</category>
<category_name>服务设施</category_name>
<facility_name>中餐厅</facility_name>
</facility>
</facilities>
</room_detail>
</room_list>
<image_list>
<hotel_image>
<hotel_id>78816219</hotel_id>
<type>GUEST_ROOM</type>
<is_cover>false</is_cover>
<is_room_cover>true</is_room_cover>
<url_list>
<hotel_image_location>
<water_mark>false</water_mark>
<size>640_960</size>
<url>img.alicdn.com/imgextra/i2/6000000003521/O1CN01ihAhRu1bsfZGhp1Qu_!!6000000003521-0-hotel.jpg</url>
<image_description>图片描述</image_description>
</hotel_image_location>
</url_list>
<room_id>114755225</room_id>
</hotel_image>
</image_list>
<hotel_review>
<count>20000</count>
<positive_count>20</positive_count>
<negative_count>10</negative_count>
<score>90</score>
<confirm_rate>90</confirm_rate>
<common_tag_list>
<common_tag>
<tag_name>性价比高</tag_name>
<heat_value>233</heat_value>
</common_tag>
</common_tag_list>
</hotel_review>
</model>
<result_message>QUERY_HOTEL_ERROR</result_message>
</alibaba_fliggy_promote_hotel_details_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|