alitrip.hotel.mi.hotel.detail.query (飞猪标准库万豪酒店详情查询)

飞猪标准库万豪酒店详情查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
shid Number 必须 52290015 酒店Shid

响应参数

名称 类型 示例值 描述
facility_group_list FacilityDetailInfoGroup [] 酒店大类的设施
  • facility_list
  • FacilityDetailInfo []
  • 子类内的设施列表或政策列表,停车场、泳池、餐厅等
  • └ yes_no
  • Boolean
  • true
  • 有无
  • pre_processing_facilities
  • PreProcessingFacility []
  • 根据语种预先处理好的设施、政策细项信息,
  • structure_user_data_list
  • StructureUserData []
  • 设施、政策细项信息
  • └ component
  • String
  • 公共设施子项父类
  • 公共设施子项父类
  • └ display_name
  • String
  • 收费信息
  • 设施子项展示名
  • └ facilities_code
  • String
  • fee_information
  • 设施子项多语言key
  • └ name
  • String
  • 停车场
  • 设施名称
  • └ description
  • String
  • 酒店自营的可供客人停车的停车场
  • 设施描述
  • └ type_id
  • Number
  • 562
  • 设施项类型id
  • └ logo_url
  • String
  • https://gw.alicdn.com/imgextra/i4/O1CN01mzIr5p1VJxUvWadDn_!!6000000002633-2-tps-96-96.png
  • 设施logo
  • └ name
  • String
  • 热门设施
  • 子类名称
  • └ sub_type
  • Number
  • 1
  • 子类ID
  • └ logo_url
  • String
  • https://gw.alicdn.com/imgextra/i4/O1CN01mzIr5p1VJxUvWadDn_!!6000000002633-2-tps-96-96.png
  • 子类对应logo
shotel_new_info_v_o ShotelNewInfoVO 酒店基础信息
  • └ country
  • String
  • China
  • 酒店所在国家
  • └ rooms
  • Number
  • 344
  • 房间数
  • └ district_code
  • Number
  • 110115
  • 地区/ 县等编码
  • └ position_type
  • String
  • 0
  • 经纬度类型
  • └ shid
  • Number
  • 52290015
  • 标准酒店shid
  • └ city
  • String
  • 北京市
  • 城市名称
  • └ city_code
  • Number
  • 110100
  • 城市编码
  • └ latitude
  • Number
  • 39.779587
  • 经度
  • telephones
  • TelephoneVO []
  • 酒店电话
  • └ raw_value
  • String
  • 0086#010#67897888
  • 原始电话值
  • └ formatted_value
  • String
  • 0086-010-67897888
  • 格式化的电话
  • └ type
  • String
  • LANDLINE
  • 电话类型
  • └ description
  • String
  • 北京格兰云天国际酒店坐落于亦庄经济技术开发区荣华南路中航技广场
  • 酒店描述
  • └ type
  • String
  • 8
  • 酒店类型
  • └ domestic
  • String
  • 0
  • 国别
  • └ floors
  • String
  • 1-21
  • 楼层信息
  • └ status_reason
  • String
  • null
  • 状态原因
  • └ province
  • String
  • 北京
  • 省份名称
  • └ country_code
  • Number
  • 1
  • 酒店所在国家编号
  • └ decoration_info
  • String
  • 2016
  • 扩展装修信息
  • └ brand
  • String
  • 75002
  • 所属品牌
  • status_reason_desc_vo
  • StatusReasonDescVO
  • 状态原因描述
  • └ msg
  • String
  • ""
  • 描述
  • └ start_time
  • Date
  • 邮箱
  • 开始时间
  • └ end_time
  • Date
  • 邮箱
  • 结束时间
  • └ email
  • String
  • ""
  • 邮箱
  • └ longitude
  • Number
  • 116.517975
  • 经度
  • └ name_e
  • String
  • Grand Skylight International Hotel Beijing
  • 酒店英文名称
  • └ address
  • String
  • 荣华南路15号中航技广场10号楼
  • 地址
  • └ business
  • String
  • 1129
  • 商圈
  • └ star
  • String
  • 5
  • 酒店档次
  • └ province_code
  • Number
  • 110000
  • 省份编码
  • └ tags
  • String
  • 1088066,13314,13378
  • 标签信息
  • └ decoration_time
  • String
  • 2016
  • 装修时间
  • └ en_description
  • String
  • ""
  • 酒店英文描述
  • └ district
  • String
  • 大兴区
  • 地区/ 县等编码
  • └ refuse_type
  • String
  • ""
  • 失效类型
  • └ name
  • String
  • 北京格兰云天国际酒店
  • 酒店中文名称
  • └ opening_hours
  • String
  • 2016
  • 开业时间
  • └ hotel_type
  • String
  • 0
  • 类型
  • └ en_addr
  • String
  • ""
  • 英文地址
  • └ used_name
  • String
  • ""
  • 曾用名
  • └ refuse_reason
  • String
  • ""
  • 失效原因
  • └ star_rate
  • String
  • ""
  • 旅游局评定星级
  • └ status
  • String
  • 0
  • 酒店状态
shid Number 52290015 标准酒店shid
full_pic_hotel_show Boolean true 酒店秀是否是全图类型
policies_group_list FacilityDetailInfoGroup [] 酒店大类的政策
  • facility_list
  • FacilityDetailInfo []
  • 子类内的设施列表或政策列表
  • └ yes_no
  • Boolean
  • true
  • 有无
  • pre_processing_facilities
  • PreProcessingFacility []
  • 根据语种预先处理好的设施、政策细项信息,
  • structure_user_data_list
  • StructureUserData []
  • 设施、政策细项信息
  • └ component
  • String
  • 公共设施子项父类
  • 公共设施子项父类
  • └ display_name
  • String
  • 收费信息
  • 设施子项展示名称
  • └ facilities_code
  • String
  • fee_information
  • 设施子项多语言key
  • └ name
  • String
  • 入离政策
  • 政策名称
  • └ description
  • String
  • 酒店要求客人何时办理入住
  • 设施描述
  • └ type_id
  • Number
  • 756
  • 设施项类型Id
  • └ logo_url
  • String
  • img.alicdn.com/imgextra/i2/6000000006234/O1CN011vvDjHbBSYj5nU1_!!6000000006234-2-hotel.png
  • 设施logo
  • └ name
  • String
  • 入离政策
  • 子类名称
  • └ sub_type
  • Number
  • 1
  • 子类ID
  • └ logo_url
  • String
  • img.alicdn.com/imgextra/i2/6000000006234/O1CN011vvDjHbBSYj5nU1_!!6000000006234-2-hotel.png
  • 子类对应logo
shotel_image_show_v_o ShotelImageShowVO [] 酒店图文秀信息
  • └ name
  • String
  • ""
  • 名称
  • └ sub_type
  • String
  • 2
  • 属性子类型
  • └ id
  • Number
  • 6112119
  • shotelProperties主键
  • └ value
  • String
  • https://gw.alicdn.com/bao/uploaded/i3/TB1QBxYq3oQMeJjy0Fnojf8gFXa_062435.jpg_640x640q60.jpg
  • 值,存文字或者图片的URI

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripHotelMiHotelDetailQueryRequest req = new AlitripHotelMiHotelDetailQueryRequest();
req.setShid(52290015L);
AlitripHotelMiHotelDetailQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alitrip_hotel_mi_hotel_detail_query_response>
    <facility_group_list>
        <facility_detail_info_group>
            <facility_list>
                <facility_detail_info>
                    <yes_no>true</yes_no>
                    <pre_processing_facilities>
                        <pre_processing_facility>
                            <structure_user_data_list>
                                <structure_user_data>
                                    <component>公共设施子项父类</component>
                                    <display_name>收费信息</display_name>
                                    <facilities_code>fee_information</facilities_code>
                                </structure_user_data>
                            </structure_user_data_list>
                        </pre_processing_facility>
                    </pre_processing_facilities>
                    <name>停车场</name>
                    <description>酒店自营的可供客人停车的停车场</description>
                    <type_id>562</type_id>
                    <logo_url>https://gw.alicdn.com/imgextra/i4/O1CN01mzIr5p1VJxUvWadDn_!!6000000002633-2-tps-96-96.png</logo_url>
                </facility_detail_info>
            </facility_list>
            <name>热门设施</name>
            <sub_type>1</sub_type>
            <logo_url>https://gw.alicdn.com/imgextra/i4/O1CN01mzIr5p1VJxUvWadDn_!!6000000002633-2-tps-96-96.png</logo_url>
        </facility_detail_info_group>
    </facility_group_list>
    <shotel_new_info_v_o>
        <country>China</country>
        <rooms>344</rooms>
        <district_code>110115</district_code>
        <position_type>0</position_type>
        <shid>52290015</shid>
        <city>北京市</city>
        <city_code>110100</city_code>
        <latitude>39.779587</latitude>
        <telephones>
            <telephone_v_o>
                <raw_value>0086#010#67897888</raw_value>
                <formatted_value>0086-010-67897888</formatted_value>
                <type>LANDLINE</type>
            </telephone_v_o>
        </telephones>
        <description>北京格兰云天国际酒店坐落于亦庄经济技术开发区荣华南路中航技广场</description>
        <type>8</type>
        <domestic>0</domestic>
        <floors>1-21</floors>
        <status_reason>null</status_reason>
        <province>北京</province>
        <country_code>1</country_code>
        <decoration_info>2016</decoration_info>
        <brand>75002</brand>
        <status_reason_desc_vo>
            <msg>&quot;&quot;</msg>
            <start_time>邮箱</start_time>
            <end_time>邮箱</end_time>
        </status_reason_desc_vo>
        <email>&quot;&quot;</email>
        <longitude>116.517975</longitude>
        <name_e>Grand Skylight International Hotel Beijing</name_e>
        <address>荣华南路15号中航技广场10号楼</address>
        <business>1129</business>
        <star>5</star>
        <province_code>110000</province_code>
        <tags>1088066,13314,13378</tags>
        <decoration_time>2016</decoration_time>
        <en_description>&quot;&quot;</en_description>
        <district>大兴区</district>
        <refuse_type>&quot;&quot;</refuse_type>
        <name>北京格兰云天国际酒店</name>
        <opening_hours>2016</opening_hours>
        <hotel_type>0</hotel_type>
        <en_addr>&quot;&quot;</en_addr>
        <used_name>&quot;&quot;</used_name>
        <refuse_reason>&quot;&quot;</refuse_reason>
        <star_rate>&quot;&quot;</star_rate>
        <status>0</status>
    </shotel_new_info_v_o>
    <shid>52290015</shid>
    <full_pic_hotel_show>true</full_pic_hotel_show>
    <policies_group_list>
        <facility_detail_info_group>
            <facility_list>
                <facility_detail_info>
                    <yes_no>true</yes_no>
                    <pre_processing_facilities>
                        <pre_processing_facility>
                            <structure_user_data_list>
                                <structure_user_data>
                                    <component>公共设施子项父类</component>
                                    <display_name>收费信息</display_name>
                                    <facilities_code>fee_information</facilities_code>
                                </structure_user_data>
                            </structure_user_data_list>
                        </pre_processing_facility>
                    </pre_processing_facilities>
                    <name>入离政策</name>
                    <description>酒店要求客人何时办理入住</description>
                    <type_id>756</type_id>
                    <logo_url>img.alicdn.com/imgextra/i2/6000000006234/O1CN011vvDjHbBSYj5nU1_!!6000000006234-2-hotel.png</logo_url>
                </facility_detail_info>
            </facility_list>
            <name>入离政策</name>
            <sub_type>1</sub_type>
            <logo_url>img.alicdn.com/imgextra/i2/6000000006234/O1CN011vvDjHbBSYj5nU1_!!6000000006234-2-hotel.png</logo_url>
        </facility_detail_info_group>
    </policies_group_list>
    <shotel_image_show_v_o>
        <shotel_image_show_v_o>
            <name>&quot;&quot;</name>
            <sub_type>2</sub_type>
            <id>6112119</id>
            <value>https://gw.alicdn.com/bao/uploaded/i3/TB1QBxYq3oQMeJjy0Fnojf8gFXa_062435.jpg_640x640q60.jpg</value>
        </shotel_image_show_v_o>
    </shotel_image_show_v_o>
</alitrip_hotel_mi_hotel_detail_query_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部