根据shid查询标准酒店领域模型实体
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| param | GetStdHotelParam | 必须 | 接口参数 | ||
|
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| result | TopStdResult | 结果封装类 | |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlitripHotelHstdfStdhotelGetRequest req = new AlitripHotelHstdfStdhotelGetRequest(); AlitripHotelHstdfStdhotelGetRequest.GetStdHotelParam obj1 = new AlitripHotelHstdfStdhotelGetRequest.GetStdHotelParam(); AlitripHotelHstdfStdhotelGetRequest.SHotelFieldScopeQueryParam obj2 = new AlitripHotelHstdfStdhotelGetRequest.SHotelFieldScopeQueryParam(); obj2.setNeedAdvantagePois(true); obj2.setNeedBookingNotices(true); obj2.setNeedBusinessAreas(true); obj2.setNeedCityTags(true); obj2.setNeedFeatureTypes(true); obj2.setNeedFunFacilities(true); obj2.setNeedHotelFacilities(true); obj2.setNeedHotelServices(true); obj2.setNeedHotelShows(true); obj2.setNeedHotelTags(true); obj2.setNeedLandLordInfo(true); obj2.setNeedLightSpots(true); obj2.setNeedNormalPics(true); obj2.setNeedOtherBnbHotelInfo(true); obj2.setNeedOtherBaseInfo(true); obj2.setNeedOtherExtendInfo(true); obj2.setNeedOtherIndustryInfo(true); obj2.setNeedOtherMultimediaInfo(true); obj2.setNeedOtherServiceFacilities(true); obj2.setNeedPanorama6Pieces(true); obj2.setNeedPanoramas(true); obj2.setNeedRoomFacilities(true); obj2.setNeedTags(true); obj2.setQueryScope(0L); obj1.setParam(obj2); obj1.setShid(50837004L); req.setParam(obj1); AlitripHotelHstdfStdhotelGetResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody());
<alitrip_hotel_hstdf_stdhotel_get_response>
<result>
<module>
<base_info>
<address>烛燃东路128号</address>
<city>150100</city>
<cn_name>烛燃测试大酒店-不要操作审核</cn_name>
<country>China</country>
<country_code>1</country_code>
<description>烛燃大酒店地理位置优越</description>
<district>150102</district>
<division_id>150102</division_id>
<division_tree>1,150000,150100,150102</division_tree>
<domestic>0</domestic>
<en_address>No.128,Dongcheng district, Beijing,China</en_address>
<en_description>This is ZR Hotel.</en_description>
<en_name>zhuran</en_name>
<fax>086#010#123658745</fax>
<latitude>37.820758</latitude>
<local_address>N/A</local_address>
<longitude>120.764488</longitude>
<position_type>0</position_type>
<postal_code>100002</postal_code>
<province>150000</province>
<status>0</status>
<tel>##13165456789</tel>
<trdi_division_id>150102</trdi_division_id>
<used_name>zr</used_name>
</base_info>
<extend_info>
<advantage_pois>
<advantage_poi>
<city>150100</city>
<country>China</country>
<country_code>1</country_code>
<county_code>150102</county_code>
<distance>369</distance>
<district>150102</district>
<division_id>150102</division_id>
<division_tree>1,110100</division_tree>
<domestic>0</domestic>
<en_name>Duanqiao</en_name>
<hot>200</hot>
<id>43424</id>
<latitude>37.820758</latitude>
<longitude>120.764488</longitude>
<name>断桥</name>
<order_index>1</order_index>
<parent_id>2</parent_id>
<position_type>0</position_type>
<province>150000</province>
<trdi_division_id>150102</trdi_division_id>
<type>4</type>
</advantage_poi>
</advantage_pois>
<business_areas>
<business_area>
<area_pic>//img.alicdn.com/bao/uploaded/i1/TB19RWwOpXXXXcCXpXXHupJ_pXX_054752.jpg</area_pic>
<area_pic_nail>//img.alicdn.com/bao/uploaded/i1/TB19RWwOpXXXXcCXpXXHupJ_pXX_054752.jpg</area_pic_nail>
<city>150100</city>
<country>China</country>
<country_code>1</country_code>
<district>150102</district>
<division_id>150102</division_id>
<division_tree>1,150000,150100,150102</division_tree>
<domestic>0</domestic>
<en_name>Xihu</en_name>
<extent_meter>1</extent_meter>
<hot>124</hot>
<id>1</id>
<latitude>37.820758</latitude>
<longitude>120.764488</longitude>
<major>1</major>
<name>西湖商圈</name>
<position_type>0</position_type>
<province>150000</province>
<region>110102,110103</region>
<summary>美食天地</summary>
<trdi_division_id>150102</trdi_division_id>
</business_area>
</business_areas>
<city_tags>
<string>110102</string>
<string>110103</string>
</city_tags>
<feature_types>
<feature_type>
<code>8</code>
<description>经济缆索</description>
<display_name>经济缆索</display_name>
<en_name>经济缆索</en_name>
<id>1</id>
<name>经济缆索</name>
</feature_type>
</feature_types>
<hotel_tags>
<hotel_tag>
<id>1</id>
<modify>0</modify>
<name>海景</name>
<shid>56636001</shid>
<tag_id>123</tag_id>
<tag_value>海景</tag_value>
</hotel_tag>
</hotel_tags>
<light_spots>
<service_facility_item>
<id>1</id>
<order_num>1</order_num>
<shid>56636001</shid>
<status>0</status>
<type>500</type>
<value>临江而立,周边景色宜人,是观江景的最佳地点。</value>
</service_facility_item>
</light_spots>
<map_urls>//img.alicdn.com/bao/uploaded/i8/TB1y_l.OpXXXXX3apXXxaN5_pXX_054926.jpg,//img.alicdn.com/bao/uploaded/i3/TB1fbisOpXXXXaiXFXXxaN5_pXX_054926.jpg</map_urls>
<tags>
<string>9</string>
</tags>
<visa_reminding>true</visa_reminding>
</extend_info>
<industry_info>
<brand>5</brand>
<business_license>
<values>
<service_facility_item>
<id>1</id>
<order_num>1</order_num>
<shid>56636001</shid>
<type>500</type>
</service_facility_item>
</values>
</business_license>
<check_in>N/A</check_in>
<check_out>N/A</check_out>
<decorate_time>2009</decorate_time>
<fee>300</fee>
<floors>2-15层</floors>
<hotel_type>0</hotel_type>
<opening_time>2010</opening_time>
<rooms>13</rooms>
<star>5</star>
<star_rate>4</star_rate>
</industry_info>
<multimedia_info>
<hotel_shows>
<service_facility_item>
<id>1</id>
<order_num>1</order_num>
<shid>56636001</shid>
<sub_type>1</sub_type>
<type>100</type>
<value>//img.alicdn.com/bao/uploaded/i8/TB1y_l.OpXXXXX3apXXxaN5_pXX_054926.jpg,//img.alicdn.com/bao/uploaded/i3/TB1fbisOpXXXXaiXFXXxaN5_pXX_054926.jpg或这是酒店秀</value>
</service_facility_item>
</hotel_shows>
<normal_pics>
<service_facility_item>
<feature>{"size":"123*345"}</feature>
<id>id</id>
<order_num>1</order_num>
<shid>56636001</shid>
<srid>N/A</srid>
<status>0</status>
<sub_type>大堂</sub_type>
<type>1</type>
<value>//img.alicdn.com/bao/uploaded/i1/TB19RWwOpXXXXcCXpXXHupJ_pXX_054752.jpg</value>
</service_facility_item>
</normal_pics>
<panorama6_pieces>
<service_facility_item>
<feature>{"size":"123*345"}</feature>
<id>1</id>
<order_num>1</order_num>
<shid>56636001</shid>
<srid>123</srid>
<type>3</type>
<value>//img.alicdn.com/bao/uploaded/i1/TB19RWwOpXXXXcCXpXXHupJ_pXX_054752.jpg</value>
</service_facility_item>
</panorama6_pieces>
<panoramas>
<service_facility_item>
<feature>{"size":"123*345"}</feature>
<id>1</id>
<order_num>1</order_num>
<shid>56636001</shid>
<srid>123</srid>
<status>0</status>
<type>2</type>
<value>//img.alicdn.com/bao/uploaded/i1/TB19RWwOpXXXXcCXpXXHupJ_pXX_054752.jpg</value>
</service_facility_item>
</panoramas>
</multimedia_info>
<service_facilities>
<booking_notices>
<service_facility_item>
<id>1</id>
<order_num>1</order_num>
<shid>56636001</shid>
<sub_type>-1</sub_type>
<type>10</type>
<type_id>100001</type_id>
<value>14:00</value>
</service_facility_item>
</booking_notices>
<fun_facilities>
<service_facility_item>
<id>1</id>
<order_num>1</order_num>
<shid>56636001</shid>
<sub_type>-1</sub_type>
<type>50</type>
<type_id>24174</type_id>
<value>酒吧</value>
</service_facility_item>
</fun_facilities>
<hotel_facilities>
<service_facility_item>
<id>1</id>
<order_num>1</order_num>
<shid>56636001</shid>
<sub_type>1</sub_type>
<tag>N/A</tag>
<type>20</type>
<type_id>24005</type_id>
<value>免费停车场</value>
</service_facility_item>
</hotel_facilities>
<hotel_services>
<service_facility_item>
<id>1</id>
<order_num>1</order_num>
<shid>56636001</shid>
<sub_type>1</sub_type>
<type>30</type>
<type_id>24058</type_id>
<value>可以接待外宾</value>
</service_facility_item>
</hotel_services>
<room_facilities>
<service_facility_item>
<id>1</id>
<order_num>1</order_num>
<shid>56636001</shid>
<srid>1234</srid>
<sub_type>1</sub_type>
<type>40</type>
<type_id>24090</type_id>
<value>国内长途(免费)</value>
</service_facility_item>
</room_facilities>
</service_facilities>
<shid>56636001</shid>
</module>
<result_code>N/A</result_code>
<result_msg>"系统异常"</result_msg>
<success>true</success>
</result>
</alitrip_hotel_hstdf_stdhotel_get_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|