文档中心 > API类目 > 酒店导购API

taobao.xhotel.distribution.stdinfo.get (飞猪通用分销酒店标准信息查询接口(新))

飞猪通用分销酒店标准信息查询接口(新)

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
scroll_token Number 可选 1234 滚动查询token
city_code Number 可选 300100 城市cityCode
page_size Number 可选 5 分页大小
hotel_status Number 可选 null 根据指定酒店状态查询酒店信息
hotel_type Number 可选 null 根据指定类型查询酒店信息
shids Number 可选 null 根据shid列表查询酒店信息 多个逗号分隔

响应参数

名称 类型 示例值 描述
result Result result
  • └ success
  • Boolean
  • true
  • success
  • module
  • DistributionHotelStaticInfoResp
  • module
  • shotel_static_info_list
  • ShotelStaticInfoList []
  • shotelStaticInfoList
  • shotel_media_info
  • MediaInfo
  • shotelMediaInfo
  • picture_info_list
  • PictureInfoList []
  • pictureInfoList
  • └ second_category_code
  • String
  • 988002
  • secondCategoryCode
  • └ pic_url
  • String
  • xxxx
  • picUrl
  • └ first_category_name
  • String
  • 外观
  • firstCategoryName
  • └ first_category_code
  • String
  • 984001
  • firstCategoryCode
  • └ is_head_pic
  • Number
  • 1
  • isHeadPic
  • └ second_category_name
  • String
  • 整幢建筑
  • secondCategoryName
  • └ order_num
  • Number
  • 0
  • orderNum
  • video_info_list
  • VideoInfoList []
  • videoInfoList
  • resources
  • Resources []
  • resources
  • └ src
  • String
  • https://cloud.video.taobao.com/play/u/4004221695/p/1/d/hd/e/6/t/1/431998956617.mp4
  • src
  • └ length
  • Number
  • 5076951
  • length
  • └ bitrate
  • Number
  • 1302
  • bitrate
  • └ type
  • String
  • video/mp4
  • type
  • └ title
  • String
  • 豪华体验1
  • title
  • └ poster
  • String
  • //img.alicdn.com/imgextra/i4/6000000007667/O1CN0126VXWaggrFUBQU2_!!6000000007667-0-hotel.jpg
  • poster
  • comment_info
  • CommentInfo
  • xxx
  • commentInfo
  • └ comment_num
  • Number
  • 1
  • 评论数
  • └ comment_score
  • String
  • 1.2
  • 评分
  • └ shid
  • Number
  • 58831021
  • shid
  • shotel_facility_info
  • ShotelFacilityInfo
  • shotelFacilityInfo
  • facility_info_list
  • FacilityInfoList []
  • facilityInfoList
  • facility_list
  • FacilityList []
  • facilityList
  • facility_instance_list
  • FacilityInstanceList []
  • facilityInstanceList
  • facility_pictures
  • FacilityPicture []
  • xxx
  • facilityPictures
  • └ url
  • String
  • xxx
  • url
  • facility_attributes
  • FacilityAttributes []
  • facilityAttributes
  • └ code
  • String
  • 51_businessHoursCode
  • code
  • └ std_component_code
  • String
  • 51_businessHoursCode
  • stdComponentCode
  • business_time_list
  • BusinessTimeList []
  • businessTimeList
  • └ week
  • Number
  • 0
  • week
  • └ start_time
  • String
  • 06:00
  • startTime
  • └ end_time
  • String
  • 20:00
  • endTime
  • └ name
  • String
  • 营业时间
  • name
  • └ business_time_type
  • String
  • 0
  • type
  • └ need_subscribe
  • Boolean
  • x
  • 是否需要预约
  • └ time
  • String
  • 30
  • 至少提前多少时间
  • └ time_unit_code
  • String
  • xxx
  • 时间单位code
  • └ time_unit_name
  • String
  • xxx
  • 时间单位
  • └ free
  • Boolean
  • true
  • 是否免费
  • charge_info_list
  • ChargeInfo []
  • 收费信息列表
  • └ price
  • BigDecimal
  • 1
  • 金额
  • └ price_unit_code
  • String
  • xx
  • 金额单位code
  • └ price_unit_name
  • String
  • xx
  • 金额单位
  • └ charge_rule_code
  • String
  • xx
  • 收费规则code
  • └ charge_rule_name
  • String
  • xx
  • 收费规则名字
  • └ start_time
  • String
  • xxx
  • 通知开始时间
  • └ end_time
  • String
  • xxx
  • 通知结束时间
  • └ notice
  • String
  • xxx
  • 通知
  • └ element
  • String
  • xxx
  • 元素
  • └ opening_date_type
  • String
  • xxx
  • 开放日期类型
  • opening_date_list
  • OpeningDate []
  • 开放日期列表
  • └ start_date
  • String
  • xxx
  • 开始日期 MM-dd
  • └ end_date
  • String
  • xxx
  • 结束日期 MM-dd
  • option_list
  • Option []
  • 选项列表
  • └ code
  • String
  • xxx
  • 选项code
  • └ text
  • String
  • xxx
  • 选项text
  • └ start
  • String
  • xxx
  • 最小值
  • └ end
  • String
  • xxx
  • 最大值
  • └ value
  • String
  • xxx
  • └ text
  • String
  • xxx
  • 文本
  • └ have
  • Boolean
  • true
  • have
  • └ type_name
  • String
  • 酒店前台
  • typeName
  • └ type
  • String
  • hotel_front_desk
  • type
  • └ category
  • String
  • hot_facility
  • category
  • └ category_name
  • String
  • 热门设施
  • categoryName
  • sroom_static_info_list
  • SroomStaticInfoList []
  • sroomStaticInfoList
  • sroom_type_basic_info
  • SroomTypeBasicInfo
  • sroomTypeBasicInfo
  • └ area
  • String
  • 20
  • area
  • └ special_window
  • String
  • xxx
  • specialWindow
  • └ has_window
  • String
  • 2
  • hasWindow
  • └ name
  • String
  • Standard twin bed room
  • name
  • └ window_defect
  • String
  • ,0,1
  • windowDefect
  • └ max_occupancy
  • Number
  • 2
  • maxOccupancy
  • └ floor
  • String
  • 1
  • floor
  • └ bed_info
  • String
  • []
  • bedInfo
  • └ max_adults
  • Number
  • 1
  • 最大入住成人数
  • └ max_children
  • Number
  • 1
  • 最大入住儿童数
  • └ add_child_bed
  • Number
  • 1
  • 是否可加婴儿床 0-否;1-是
  • └ add_bed
  • Number
  • 1
  • 是否可加床 0-否;1-是
  • └ shared_room
  • Number
  • 1
  • 是否房东房客合住。0-否;1-是
  • └ dorm_room
  • Number
  • dormRoom
  • 是否床位房字段。0-否;1-是
  • └ name_e
  • String
  • asdf
  • 房型名称(英文)
  • └ room_num
  • String
  • 1
  • 房间数
  • facility_info_list
  • FacilityInfoList []
  • facilityInfoList
  • facility_list
  • FacilityList []
  • facilityList
  • facility_instance_list
  • FacilityInstanceList []
  • facilityInstanceList
  • facility_pictures
  • FacilityPicture []
  • xxx
  • facilityPictures
  • └ url
  • String
  • xxx
  • url
  • facility_attributes
  • FacilityAttributes []
  • facilityAttributes
  • └ code
  • String
  • 302_radioCode
  • code
  • └ std_component_code
  • String
  • 302_radioCode
  • stdComponentCode
  • option_list
  • OptionList []
  • optionList
  • └ code
  • String
  • 1
  • code
  • └ text
  • String
  • 禁烟
  • text
  • └ name
  • String
  • xxxx
  • name
  • └ business_time_type
  • String
  • x
  • 营业时间类型
  • business_time_list
  • BusinessTime []
  • 营业时间列表
  • └ week
  • Number
  • x
  • 星期几
  • └ start_time
  • String
  • x
  • 开始时间 hh:mm
  • └ end_time
  • String
  • x
  • 结束时间 hh:mm
  • └ free
  • Boolean
  • x
  • 是否免费
  • charge_info_list
  • ChargeInfo []
  • 收费信息列表
  • └ price
  • BigDecimal
  • 1
  • 金额
  • └ price_unit_code
  • String
  • x
  • 金额单位code
  • └ price_unit_name
  • String
  • x
  • 金额单位
  • └ charge_rule_code
  • String
  • x
  • 收费规则code
  • └ charge_rule_name
  • String
  • x
  • 收费规则名字
  • └ start_time
  • String
  • x
  • 通知开始时间
  • └ end_time
  • String
  • x
  • 通知结束时间
  • └ notice
  • String
  • x
  • 通知
  • └ element
  • String
  • x
  • 元素
  • └ opening_date_type
  • String
  • x
  • 开放日期类型
  • opening_date_list
  • OpeningDate []
  • 开放日期列表
  • └ start_date
  • String
  • x
  • 开始日期 MM-dd
  • └ end_date
  • String
  • x
  • 结束日期 MM-dd
  • └ start
  • String
  • x
  • 最小值
  • └ end
  • String
  • x
  • 最大值
  • └ value
  • String
  • x
  • └ need_subscribe
  • Boolean
  • true
  • 是否需要预约
  • └ time
  • String
  • x
  • 至少提前多少时间
  • └ time_unit_code
  • String
  • x
  • 时间单位code
  • └ time_unit_name
  • String
  • x
  • 时间单位
  • └ text
  • String
  • x
  • 文本
  • └ have
  • Boolean
  • true
  • have
  • └ type_name
  • String
  • 吸烟政策
  • typeName
  • └ type
  • String
  • smoking_policy
  • type
  • └ category
  • String
  • hot_facility
  • category
  • └ category_name
  • String
  • 热门设施
  • categoryName
  • media_info
  • MediaInfo
  • xxx
  • mediaInfo
  • picture_info_list
  • PictureInfo []
  • 图片信息
  • └ first_category_code
  • String
  • xxx
  • 一级类目code
  • └ first_category_name
  • String
  • xxx
  • 一级类目code
  • └ second_category_code
  • String
  • xxx
  • 二级类目code
  • └ second_category_name
  • String
  • xxx
  • 二级类目code
  • └ order_num
  • Number
  • xxx
  • 顺序
  • └ is_head_pic
  • Number
  • xxx
  • 是否是头图
  • └ pic_url
  • String
  • xxx
  • 图片url
  • video_info_list
  • VideoInfo []
  • 视频信息
  • └ title
  • String
  • xxx
  • 视频标题
  • └ poster
  • String
  • xxx
  • 图片封面url
  • resources
  • VideoResource []
  • 视频资源
  • └ src
  • String
  • xxx
  • 地址url
  • └ type
  • String
  • xxx
  • 视频格式类型
  • └ length
  • String
  • xxx
  • 视频大小
  • └ bitrate
  • String
  • xxx
  • 视频码率
  • └ srid
  • Number
  • 1234
  • srid
  • shotel_policy_info
  • ShotelPolicyInfo
  • shotelPolicyInfo
  • policy_info_list
  • PolicyInfoList []
  • policyInfoList
  • policy_list
  • PolicyList []
  • policyList
  • policy_instance_list
  • PolicyInstanceList []
  • policyInstanceList
  • attribute_list
  • AttributeList []
  • attributeList
  • └ code
  • String
  • 761_radioCode
  • code
  • └ std_component_code
  • String
  • 761_radioCode
  • stdComponentCode
  • option_list
  • OptionList []
  • optionList
  • └ code
  • String
  • 3
  • code
  • └ text
  • String
  • 仅中国大陆地区及港澳台客人
  • text
  • └ name
  • String
  • xxx
  • name
  • └ business_time_type
  • String
  • x
  • 营业时间类型
  • business_time_list
  • BusinessTime []
  • 营业时间列表
  • └ week
  • Number
  • xx
  • 星期几
  • └ start_time
  • String
  • xx
  • 开始时间 hh:mm
  • └ end_time
  • String
  • xx
  • 结束时间 hh:mm
  • └ free
  • Boolean
  • true
  • 是否免费
  • charge_info_list
  • ChargeInfo []
  • 收费信息列表
  • └ price
  • BigDecimal
  • 1
  • 金额
  • └ price_unit_code
  • String
  • x
  • 金额单位code
  • └ price_unit_name
  • String
  • x
  • 金额单位
  • └ charge_rule_code
  • String
  • x
  • 收费规则code
  • └ charge_rule_name
  • String
  • x
  • 收费规则名字
  • └ start_time
  • String
  • x
  • 通知开始时间
  • └ end_time
  • String
  • x
  • 通知结束时间
  • └ notice
  • String
  • x
  • 通知
  • └ element
  • String
  • x
  • 元素
  • └ opening_date_type
  • String
  • x
  • 开放日期类型
  • opening_date_list
  • OpeningDate []
  • 开放日期列表
  • └ start_date
  • String
  • x
  • 开始日期 MM-dd
  • └ end_date
  • String
  • x
  • 结束日期 MM-dd
  • └ start
  • String
  • x
  • 最小值
  • └ end
  • String
  • x
  • 最大值
  • └ value
  • String
  • x
  • └ need_subscribe
  • Boolean
  • true
  • 是否需要预约
  • └ time
  • String
  • 20
  • 至少提前多少时间
  • └ time_unit_code
  • String
  • xx
  • 时间单位code
  • └ time_unit_name
  • String
  • xx
  • 时间单位
  • └ text
  • String
  • xx
  • 文本
  • └ type_name
  • String
  • 可接待人群
  • typeName
  • └ type
  • String
  • crowd_type
  • type
  • └ category
  • String
  • in_out_policy
  • category
  • └ category_name
  • String
  • 入离政策
  • categoryName
  • shotel_basic_info
  • ShotelBasicInfo
  • shotelBasicInfo
  • └ country
  • String
  • China
  • country
  • └ rooms
  • Number
  • 81
  • rooms
  • └ district_code
  • Number
  • 542432
  • districtCode
  • └ position_type
  • Number
  • 0
  • positionType
  • └ city
  • String
  • 那曲市
  • city
  • └ city_code
  • Number
  • 542400
  • cityCode
  • └ latitude
  • String
  • 31.905796
  • latitude
  • └ description
  • String
  • 小音 疗、芬芳蒸浴、玫瑰浸浴、能量石沐足礼等养心养身 的释放。 5、火山温泉谷。拥有五大洲主题温泉区,建筑及景观元素跟随主题 而变化,让旅客一日邂逅世界不同地区的景象,不同风格的风俗温泉文化。 其天然泉水取自深达 800 米的地下,水质获英国国际水质研究所认证,蕴 含多种具备保健功效的天然矿物成份
  • description
  • └ type
  • String
  • 6
  • type
  • └ domestic
  • Number
  • 0
  • domestic
  • └ floors
  • String
  • 11
  • floors
  • └ province
  • String
  • 西藏自治区
  • province
  • └ country_code
  • Number
  • 1
  • countryCode
  • └ brand
  • String
  • 22
  • brand
  • └ longitude
  • String
  • 88.126022
  • longitude
  • └ name_e
  • String
  • test hotel1111111
  • nameE
  • └ address
  • String
  • 阿里地区地址
  • address
  • └ star
  • String
  • 3
  • star
  • └ province_code
  • Number
  • 540000
  • provinceCode
  • └ decoration_time
  • String
  • 2024-01-06
  • decorationTime
  • └ district
  • String
  • 双湖县
  • district
  • └ name
  • String
  • 选品测试标准酒店
  • name
  • └ opening_hours
  • String
  • 2024-03-03
  • openingHours
  • └ hotel_type
  • Number
  • 1
  • hotelType
  • └ en_addr
  • String
  • xxx
  • enAddr
  • └ phone_map
  • String
  • xxx
  • phoneMap
  • └ used_name
  • String
  • 1111111
  • usedName
  • └ star_rate
  • String
  • xxx
  • starRate
  • └ status
  • byte
  • 0
  • 酒店状态 0,营业中;-1,筹建中;-2,暂停营业;-3,已停业
  • └ query_token
  • String
  • xxx
  • queryToken
  • └ hotel_count
  • Number
  • 100
  • 酒店总数
  • └ error_message
  • String
  • xxx
  • errorMessage
  • └ error_code
  • Number
  • 0
  • errorCode
  • └ trace_id
  • String
  • asdfg
  • traceId

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
XhotelDistributionStdinfoGetRequest req = new XhotelDistributionStdinfoGetRequest();
req.setScrollToken(1234L);
req.setCityCode(300100L);
req.setPageSize(5L);
req.setHotelStatus(nullL);
req.setHotelType(nullL);
req.setShids(nullL);
XhotelDistributionStdinfoGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<xhotel_distribution_stdinfo_get_response>
    <result>
        <success>true</success>
        <module>
            <shotel_static_info_list>
                <shotel_static_info_list>
                    <shotel_media_info>
                        <picture_info_list>
                            <picture_info_list>
                                <second_category_code>988002</second_category_code>
                                <pic_url>xxxx</pic_url>
                                <first_category_name>外观</first_category_name>
                                <first_category_code>984001</first_category_code>
                                <is_head_pic>1</is_head_pic>
                                <second_category_name>整幢建筑</second_category_name>
                                <order_num>0</order_num>
                            </picture_info_list>
                        </picture_info_list>
                        <video_info_list>
                            <video_info_list>
                                <resources>
                                    <resources>
                                        <src>https://cloud.video.taobao.com/play/u/4004221695/p/1/d/hd/e/6/t/1/431998956617.mp4</src>
                                        <length>5076951</length>
                                        <bitrate>1302</bitrate>
                                        <type>video/mp4</type>
                                    </resources>
                                </resources>
                                <title>豪华体验1</title>
                                <poster>//img.alicdn.com/imgextra/i4/6000000007667/O1CN0126VXWaggrFUBQU2_!!6000000007667-0-hotel.jpg</poster>
                            </video_info_list>
                        </video_info_list>
                    </shotel_media_info>
                    <comment_info>
                        <comment_num>1</comment_num>
                        <comment_score>1.2</comment_score>
                    </comment_info>
                    <shid>58831021</shid>
                    <shotel_facility_info>
                        <facility_info_list>
                            <facility_info_list>
                                <facility_list>
                                    <facility_list>
                                        <facility_instance_list>
                                            <facility_instance_list>
                                                <facility_pictures>
                                                    <facility_picture>
                                                        <url>xxx</url>
                                                    </facility_picture>
                                                </facility_pictures>
                                                <facility_attributes>
                                                    <facility_attributes>
                                                        <code>51_businessHoursCode</code>
                                                        <std_component_code>51_businessHoursCode</std_component_code>
                                                        <business_time_list>
                                                            <business_time_list>
                                                                <week>0</week>
                                                                <start_time>06:00</start_time>
                                                                <end_time>20:00</end_time>
                                                            </business_time_list>
                                                        </business_time_list>
                                                        <name>营业时间</name>
                                                        <business_time_type>0</business_time_type>
                                                        <need_subscribe>x</need_subscribe>
                                                        <time>30</time>
                                                        <time_unit_code>xxx</time_unit_code>
                                                        <time_unit_name>xxx</time_unit_name>
                                                        <free>true</free>
                                                        <charge_info_list>
                                                            <charge_info>
                                                                <price>1</price>
                                                                <price_unit_code>xx</price_unit_code>
                                                                <price_unit_name>xx</price_unit_name>
                                                                <charge_rule_code>xx</charge_rule_code>
                                                                <charge_rule_name>xx</charge_rule_name>
                                                            </charge_info>
                                                        </charge_info_list>
                                                        <start_time>xxx</start_time>
                                                        <end_time>xxx</end_time>
                                                        <notice>xxx</notice>
                                                        <element>xxx</element>
                                                        <opening_date_type>xxx</opening_date_type>
                                                        <opening_date_list>
                                                            <opening_date>
                                                                <start_date>xxx</start_date>
                                                                <end_date>xxx</end_date>
                                                            </opening_date>
                                                        </opening_date_list>
                                                        <option_list>
                                                            <option>
                                                                <code>xxx</code>
                                                                <text>xxx</text>
                                                            </option>
                                                        </option_list>
                                                        <start>xxx</start>
                                                        <end>xxx</end>
                                                        <value>xxx</value>
                                                        <text>xxx</text>
                                                    </facility_attributes>
                                                </facility_attributes>
                                            </facility_instance_list>
                                        </facility_instance_list>
                                        <have>true</have>
                                        <type_name>酒店前台</type_name>
                                        <type>hotel_front_desk</type>
                                    </facility_list>
                                </facility_list>
                                <category>hot_facility</category>
                                <category_name>热门设施</category_name>
                            </facility_info_list>
                        </facility_info_list>
                    </shotel_facility_info>
                    <sroom_static_info_list>
                        <sroom_static_info_list>
                            <sroom_type_basic_info>
                                <area>20</area>
                                <special_window>xxx</special_window>
                                <has_window>2</has_window>
                                <name>Standard twin bed room</name>
                                <window_defect>,0,1</window_defect>
                                <max_occupancy>2</max_occupancy>
                                <floor>1</floor>
                                <bed_info>[]</bed_info>
                                <max_adults>1</max_adults>
                                <max_children>1</max_children>
                                <add_child_bed>1</add_child_bed>
                                <add_bed>1</add_bed>
                                <shared_room>1</shared_room>
                                <dorm_room>dormRoom</dorm_room>
                                <name_e>asdf</name_e>
                                <room_num>1</room_num>
                            </sroom_type_basic_info>
                            <facility_info_list>
                                <facility_info_list>
                                    <facility_list>
                                        <facility_list>
                                            <facility_instance_list>
                                                <facility_instance_list>
                                                    <facility_pictures>
                                                        <facility_picture>
                                                            <url>xxx</url>
                                                        </facility_picture>
                                                    </facility_pictures>
                                                    <facility_attributes>
                                                        <facility_attributes>
                                                            <code>302_radioCode</code>
                                                            <std_component_code>302_radioCode</std_component_code>
                                                            <option_list>
                                                                <option_list>
                                                                    <code>1</code>
                                                                    <text>禁烟</text>
                                                                </option_list>
                                                            </option_list>
                                                            <name>xxxx</name>
                                                            <business_time_type>x</business_time_type>
                                                            <business_time_list>
                                                                <business_time>
                                                                    <week>x</week>
                                                                    <start_time>x</start_time>
                                                                    <end_time>x</end_time>
                                                                </business_time>
                                                            </business_time_list>
                                                            <free>x</free>
                                                            <charge_info_list>
                                                                <charge_info>
                                                                    <price>1</price>
                                                                    <price_unit_code>x</price_unit_code>
                                                                    <price_unit_name>x</price_unit_name>
                                                                    <charge_rule_code>x</charge_rule_code>
                                                                    <charge_rule_name>x</charge_rule_name>
                                                                </charge_info>
                                                            </charge_info_list>
                                                            <start_time>x</start_time>
                                                            <end_time>x</end_time>
                                                            <notice>x</notice>
                                                            <element>x</element>
                                                            <opening_date_type>x</opening_date_type>
                                                            <opening_date_list>
                                                                <opening_date>
                                                                    <start_date>x</start_date>
                                                                    <end_date>x</end_date>
                                                                </opening_date>
                                                            </opening_date_list>
                                                            <start>x</start>
                                                            <end>x</end>
                                                            <value>x</value>
                                                            <need_subscribe>true</need_subscribe>
                                                            <time>x</time>
                                                            <time_unit_code>x</time_unit_code>
                                                            <time_unit_name>x</time_unit_name>
                                                            <text>x</text>
                                                        </facility_attributes>
                                                    </facility_attributes>
                                                </facility_instance_list>
                                            </facility_instance_list>
                                            <have>true</have>
                                            <type_name>吸烟政策</type_name>
                                            <type>smoking_policy</type>
                                        </facility_list>
                                    </facility_list>
                                    <category>hot_facility</category>
                                    <category_name>热门设施</category_name>
                                </facility_info_list>
                            </facility_info_list>
                            <media_info>
                                <picture_info_list>
                                    <picture_info>
                                        <first_category_code>xxx</first_category_code>
                                        <first_category_name>xxx</first_category_name>
                                        <second_category_code>xxx</second_category_code>
                                        <second_category_name>xxx</second_category_name>
                                        <order_num>xxx</order_num>
                                        <is_head_pic>xxx</is_head_pic>
                                        <pic_url>xxx</pic_url>
                                    </picture_info>
                                </picture_info_list>
                                <video_info_list>
                                    <video_info>
                                        <title>xxx</title>
                                        <poster>xxx</poster>
                                        <resources>
                                            <video_resource>
                                                <src>xxx</src>
                                                <type>xxx</type>
                                                <length>xxx</length>
                                                <bitrate>xxx</bitrate>
                                            </video_resource>
                                        </resources>
                                    </video_info>
                                </video_info_list>
                            </media_info>
                            <srid>1234</srid>
                        </sroom_static_info_list>
                    </sroom_static_info_list>
                    <shotel_policy_info>
                        <policy_info_list>
                            <policy_info_list>
                                <policy_list>
                                    <policy_list>
                                        <policy_instance_list>
                                            <policy_instance_list>
                                                <attribute_list>
                                                    <attribute_list>
                                                        <code>761_radioCode</code>
                                                        <std_component_code>761_radioCode</std_component_code>
                                                        <option_list>
                                                            <option_list>
                                                                <code>3</code>
                                                                <text>仅中国大陆地区及港澳台客人</text>
                                                            </option_list>
                                                        </option_list>
                                                        <name>xxx</name>
                                                        <business_time_type>x</business_time_type>
                                                        <business_time_list>
                                                            <business_time>
                                                                <week>xx</week>
                                                                <start_time>xx</start_time>
                                                                <end_time>xx</end_time>
                                                            </business_time>
                                                        </business_time_list>
                                                        <free>true</free>
                                                        <charge_info_list>
                                                            <charge_info>
                                                                <price>1</price>
                                                                <price_unit_code>x</price_unit_code>
                                                                <price_unit_name>x</price_unit_name>
                                                                <charge_rule_code>x</charge_rule_code>
                                                                <charge_rule_name>x</charge_rule_name>
                                                            </charge_info>
                                                        </charge_info_list>
                                                        <start_time>x</start_time>
                                                        <end_time>x</end_time>
                                                        <notice>x</notice>
                                                        <element>x</element>
                                                        <opening_date_type>x</opening_date_type>
                                                        <opening_date_list>
                                                            <opening_date>
                                                                <start_date>x</start_date>
                                                                <end_date>x</end_date>
                                                            </opening_date>
                                                        </opening_date_list>
                                                        <start>x</start>
                                                        <end>x</end>
                                                        <value>x</value>
                                                        <need_subscribe>true</need_subscribe>
                                                        <time>20</time>
                                                        <time_unit_code>xx</time_unit_code>
                                                        <time_unit_name>xx</time_unit_name>
                                                        <text>xx</text>
                                                    </attribute_list>
                                                </attribute_list>
                                            </policy_instance_list>
                                        </policy_instance_list>
                                        <type_name>可接待人群</type_name>
                                        <type>crowd_type</type>
                                    </policy_list>
                                </policy_list>
                                <category>in_out_policy</category>
                                <category_name>入离政策</category_name>
                            </policy_info_list>
                        </policy_info_list>
                    </shotel_policy_info>
                    <shotel_basic_info>
                        <country>China</country>
                        <rooms>81</rooms>
                        <district_code>542432</district_code>
                        <position_type>0</position_type>
                        <city>那曲市</city>
                        <city_code>542400</city_code>
                        <latitude>31.905796</latitude>
                        <description>小音 疗、芬芳蒸浴、玫瑰浸浴、能量石沐足礼等养心养身
的释放。 
5、火山温泉谷。拥有五大洲主题温泉区,建筑及景观元素跟随主题 
而变化,让旅客一日邂逅世界不同地区的景象,不同风格的风俗温泉文化。 
其天然泉水取自深达 800 米的地下,水质获英国国际水质研究所认证,蕴 
含多种具备保健功效的天然矿物成份</description>
                        <type>6</type>
                        <domestic>0</domestic>
                        <floors>11</floors>
                        <province>西藏自治区</province>
                        <country_code>1</country_code>
                        <brand>22</brand>
                        <longitude>88.126022</longitude>
                        <name_e>test hotel1111111</name_e>
                        <address>阿里地区地址</address>
                        <star>3</star>
                        <province_code>540000</province_code>
                        <decoration_time>2024-01-06</decoration_time>
                        <district>双湖县</district>
                        <name>选品测试标准酒店</name>
                        <opening_hours>2024-03-03</opening_hours>
                        <hotel_type>1</hotel_type>
                        <en_addr>xxx</en_addr>
                        <phone_map>xxx</phone_map>
                        <used_name>1111111</used_name>
                        <star_rate>xxx</star_rate>
                        <status>0</status>
                    </shotel_basic_info>
                </shotel_static_info_list>
            </shotel_static_info_list>
            <query_token>xxx</query_token>
            <hotel_count>100</hotel_count>
        </module>
        <error_message>xxx</error_message>
        <error_code>0</error_code>
        <trace_id>asdfg</trace_id>
    </result>
</xhotel_distribution_stdinfo_get_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

返回
顶部