注意:以下文档只适用于TOP接口,请谨慎使用!

文档中心 > API类目 > 飞猪酒店标准库

alitrip.hotel.hstdf.stdhotel.get (标准酒店信息查询)

根据shid查询标准酒店领域模型实体

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param GetStdHotelParam 必须 接口参数
  • param
  • SHotelFieldScopeQueryParam
  • 可选
  • 酒店信息具体查询参数
  • └ need_advantage_pois
  • Boolean
  • 可选
  • true
  • 是否查询热点POI
  • └ need_booking_notices
  • Boolean
  • 可选
  • true
  • 是否查询预订须知
  • └ need_business_areas
  • Boolean
  • 可选
  • true
  • 是否查询商圈
  • └ need_city_tags
  • Boolean
  • 可选
  • true
  • 是否查询景点城市
  • └ need_feature_types
  • Boolean
  • 可选
  • true
  • 是否查询酒店特色类型
  • └ need_fun_facilities
  • Boolean
  • 可选
  • true
  • 是否查询娱乐设施
  • └ need_hotel_facilities
  • Boolean
  • 可选
  • true
  • 是否查询酒店设施
  • └ need_hotel_services
  • Boolean
  • 可选
  • true
  • 是否查询酒店服务
  • └ need_hotel_shows
  • Boolean
  • 可选
  • true
  • 是否查询酒店秀
  • └ need_hotel_tags
  • Boolean
  • 可选
  • true
  • 是否查询酒店特色标签
  • └ need_land_lord_info
  • Boolean
  • 可选
  • true
  • 是否查询房东信息
  • └ need_light_spots
  • Boolean
  • 可选
  • true
  • 是否查询特色亮点
  • └ need_normal_pics
  • Boolean
  • 可选
  • true
  • 是否查询普通图
  • └ need_other_bnb_hotel_info
  • Boolean
  • 可选
  • true
  • 是否查询其他非标民宿信息
  • └ need_other_base_info
  • Boolean
  • 可选
  • true
  • 是否查询其他基础信息
  • └ need_other_extend_info
  • Boolean
  • 可选
  • true
  • 是否查询其他扩展信息
  • └ need_other_industry_info
  • Boolean
  • 可选
  • true
  • 是否查询行业信息
  • └ need_other_multimedia_info
  • Boolean
  • 可选
  • true
  • 是否查询多媒体信息
  • └ need_other_service_facilities
  • Boolean
  • 可选
  • true
  • 是否查询服务设施
  • └ need_panorama6_pieces
  • Boolean
  • 可选
  • true
  • 是否查询全景图6张小图
  • └ need_panoramas
  • Boolean
  • 可选
  • true
  • 是否查询全景图大图
  • └ need_room_facilities
  • Boolean
  • 可选
  • true
  • 是否查询房型设施
  • └ need_tags
  • Boolean
  • 可选
  • true
  • 是否查询酒店业务过滤标签
  • └ query_scope
  • Number
  • 可选
  • 0
  • 不同查询条件的汇总
  • └ shid
  • Number
  • 必须
  • 50837004
  • 标准酒店shid

响应参数

名称 类型 示例值 描述
result TopStdResult 结果封装类
  • module
  • StdHotel
  • 实体对象,可以是简单模型,也可以集合/映射等泛型或复杂模型
  • base_info
  • BaseInfo
  • 标准酒店基础信息
  • └ address
  • String
  • 烛燃东路128号
  • 地址
  • └ city
  • Number
  • 150100
  • 城市id,呼和浩特市
  • └ cn_name
  • String
  • 烛燃测试大酒店-不要操作审核
  • 酒店中文名
  • └ country
  • String
  • China
  • 国家英文名
  • └ country_code
  • Number
  • 1
  • 国家区划id
  • └ description
  • String
  • 烛燃大酒店地理位置优越
  • 酒店描述
  • └ district
  • Number
  • 150102
  • 区县id
  • └ division_id
  • Number
  • 150102
  • 最精确的酒店行政区划id
  • └ division_tree
  • String
  • 1,150000,150100,150102
  • 行政区划树
  • └ domestic
  • Number
  • 0
  • 国内外,0--国内,1--国外
  • └ en_address
  • String
  • No.128,Dongcheng district, Beijing,China
  • 英文地址
  • └ en_description
  • String
  • This is ZR Hotel.
  • 英文描述
  • └ en_name
  • String
  • zhuran
  • 酒店英文名
  • └ fax
  • String
  • 086#010#123658745
  • 传真
  • └ latitude
  • String
  • 37.820758
  • 纬度
  • └ local_address
  • String
  • N/A
  • 本地地址,多用于国际酒店
  • └ longitude
  • String
  • 120.764488
  • 经度
  • └ position_type
  • Number
  • 0
  • 经纬度服务商,0--高德,一般用于国内,1--谷歌,一般用于国际
  • └ postal_code
  • String
  • 100002
  • 邮编
  • └ province
  • Number
  • 150000
  • 省份id
  • └ status
  • String
  • 0
  • 状态,0--上架,-1--筹建中,-4--失效
  • └ tel
  • String
  • ##13165456789
  • 电话,多值使用英文逗号拼接
  • └ trdi_division_id
  • Number
  • 150102
  • 最精确的行政区划对应的平台id
  • └ used_name
  • String
  • zr
  • 曾用名
  • extend_info
  • ExtendInfo
  • 扩展信息
  • advantage_pois
  • AdvantagePoi []
  • 距离较近的优势poi
  • └ city
  • Number
  • 150100
  • poi所在城市id
  • └ country
  • String
  • China
  • 国家英文名
  • └ country_code
  • Number
  • 1
  • 国家id,中国
  • └ county_code
  • Number
  • 150102
  • 区县id,已由district替代
  • └ distance
  • String
  • 369
  • poi与酒店距离,单位-米
  • └ district
  • Number
  • 150102
  • 区县id
  • └ division_id
  • Number
  • 150102
  • 最精确的行政区id
  • └ division_tree
  • String
  • 1,110100
  • 行政区划树
  • └ domestic
  • Number
  • 0
  • 国内外
  • └ en_name
  • String
  • Duanqiao
  • 英文名
  • └ hot
  • Number
  • 200
  • 热度
  • └ id
  • Number
  • 43424
  • 关联关系id
  • └ latitude
  • String
  • 37.820758
  • 维度
  • └ longitude
  • String
  • 120.764488
  • 经度
  • └ name
  • String
  • 断桥
  • poi名称
  • └ order_index
  • Number
  • 1
  • 分组内排序
  • └ parent_id
  • Number
  • 2
  • 父id
  • └ position_type
  • Number
  • 0
  • 经纬度服务商,0--高德,一般用于国内,1--谷歌,一般用于国际
  • └ province
  • Number
  • 150000
  • 省份id
  • └ trdi_division_id
  • Number
  • 150102
  • 最精确的行政区划id对应平台id
  • └ type
  • Number
  • 4
  • poi类型,地铁站
  • business_areas
  • BusinessArea []
  • 商圈列表
  • └ area_pic
  • String
  • //img.alicdn.com/bao/uploaded/i1/TB19RWwOpXXXXcCXpXXHupJ_pXX_054752.jpg
  • 商圈图
  • └ area_pic_nail
  • String
  • //img.alicdn.com/bao/uploaded/i1/TB19RWwOpXXXXcCXpXXHupJ_pXX_054752.jpg
  • 缩略图
  • └ city
  • Number
  • 150100
  • 城市id
  • └ country
  • String
  • China
  • 国家英文名
  • └ country_code
  • Number
  • 1
  • 国家id
  • └ district
  • Number
  • 150102
  • 区县id
  • └ division_id
  • Number
  • 150102
  • 最精确的酒店行政区划id
  • └ division_tree
  • String
  • 1,150000,150100,150102
  • 行政区划树
  • └ domestic
  • Number
  • 0
  • 国内外,0--国内,1--国外
  • └ en_name
  • String
  • Xihu
  • 英文名
  • └ extent_meter
  • Number
  • 1
  • 计算距离时是否需要外延,1--需要
  • └ hot
  • Number
  • 124
  • 热度
  • └ id
  • Number
  • 1
  • id
  • └ latitude
  • String
  • 37.820758
  • 商圈中心点纬度
  • └ longitude
  • String
  • 120.764488
  • 商圈中心点经度
  • └ major
  • Number
  • 1
  • 是否主商圈,1--是,0--不是
  • └ name
  • String
  • 西湖商圈
  • 中文名
  • └ position_type
  • Number
  • 0
  • 经纬度服务商,0--高德,一般用于国内,1--谷歌,一般用于国际
  • └ province
  • Number
  • 150000
  • 省份id
  • └ region
  • String
  • 110102,110103
  • 商圈跨多个区域时使用
  • └ summary
  • String
  • 美食天地
  • 商圈推荐导语
  • └ trdi_division_id
  • Number
  • 150102
  • 最精确的行政区划对应的平台id
  • └ city_tags
  • String []
  • 110102,110103
  • 酒店挂靠景区城市时使用
  • feature_types
  • FeatureType []
  • 酒店特色
  • └ code
  • String
  • 8
  • 酒店特色类目code
  • └ description
  • String
  • 经济缆索
  • 描述
  • └ display_name
  • String
  • 经济缆索
  • 展示名称
  • └ en_name
  • String
  • 经济缆索
  • 英文名
  • └ id
  • Number
  • 1
  • id
  • └ name
  • String
  • 经济缆索
  • 特色名称
  • hotel_tags
  • HotelTag []
  • 酒店营销标签列表
  • └ id
  • Number
  • 1
  • 映射关系数据id
  • └ modify
  • Number
  • 0
  • 机器还是人工修改,0--机器
  • └ name
  • String
  • 海景
  • 中文名
  • └ shid
  • Number
  • 56636001
  • 关联的shid,也即本shid
  • └ tag_id
  • Number
  • 123
  • 营销标签类目id
  • └ tag_value
  • String
  • 海景
  • 营销标签类目名称
  • light_spots
  • ServiceFacilityItem []
  • 特色亮点
  • └ id
  • Number
  • 1
  • 映射关系id
  • └ order_num
  • Number
  • 1
  • 组内排序
  • └ shid
  • Number
  • 56636001
  • 关联的shid,也即本shid
  • └ status
  • Number
  • 0
  • 状态,0--正常可用,一般都返回0的数据
  • └ type
  • Number
  • 500
  • 类型
  • └ value
  • String
  • 临江而立,周边景色宜人,是观江景的最佳地点。
  • 亮点描述
  • └ map_urls
  • String
  • //img.alicdn.com/bao/uploaded/i8/TB1y_l.OpXXXXX3apXXxaN5_pXX_054926.jpg,//img.alicdn.com/bao/uploaded/i3/TB1fbisOpXXXXaiXFXXxaN5_pXX_054926.jpg
  • 酒店地图静态图片
  • └ tags
  • String []
  • 9
  • 酒店业务筛选标签,搜索端使用
  • └ visa_reminding
  • Boolean
  • true
  • 是否国家维度的签证提示
  • industry_info
  • IndustryInfo
  • 行业特色信息
  • └ brand
  • String
  • 5
  • 品牌code
  • business_license
  • BusinessLicense
  • 营业执照信息
  • values
  • ServiceFacilityItem []
  • 执照图片列表
  • └ id
  • Number
  • 1
  • id
  • └ order_num
  • Number
  • 1
  • 组内排序
  • └ shid
  • Number
  • 56636001
  • shid
  • └ type
  • Number
  • 500
  • 营业执照
  • └ check_in
  • String
  • N/A
  • 暂不使用
  • └ check_out
  • String
  • N/A
  • 暂不使用
  • └ decorate_time
  • String
  • 2009
  • 装修时间
  • └ fee
  • String
  • 300
  • 杂费,用在预订须知提示中
  • └ floors
  • String
  • 2-15层
  • 所在楼层
  • └ hotel_type
  • String
  • 0
  • 资质类型,0--酒店,1--客栈,2--非标民宿
  • └ opening_time
  • String
  • 2010
  • 开业时间
  • └ rooms
  • Number
  • 13
  • 房间数
  • └ star
  • String
  • 5
  • 档次,豪华型
  • └ star_rate
  • String
  • 4
  • 旅游局星级,适用国内酒店,四星级
  • multimedia_info
  • MultimediaInfo
  • 多媒体信息
  • hotel_shows
  • ServiceFacilityItem []
  • 酒店秀列表
  • └ id
  • Number
  • 1
  • id
  • └ order_num
  • Number
  • 1
  • 组内排序
  • └ shid
  • Number
  • 56636001
  • shid
  • └ sub_type
  • String
  • 1
  • 酒店秀二级分配,1-文案,2-图片
  • └ type
  • Number
  • 100
  • 酒店秀的类型编码
  • └ value
  • String
  • //img.alicdn.com/bao/uploaded/i8/TB1y_l.OpXXXXX3apXXxaN5_pXX_054926.jpg,//img.alicdn.com/bao/uploaded/i3/TB1fbisOpXXXXaiXFXXxaN5_pXX_054926.jpg或这是酒店秀
  • 酒店秀的文案或图片
  • normal_pics
  • ServiceFacilityItem []
  • 普通图,其中结果list第一条为首图
  • └ feature
  • String
  • {"size":"123*345"}
  • JSON串形式,包含图片尺寸信息
  • └ id
  • Number
  • id
  • 关联数据id
  • └ order_num
  • Number
  • 1
  • 组内排序
  • └ shid
  • Number
  • 56636001
  • 关联的shid,也即本shid
  • └ srid
  • Number
  • N/A
  • 无srid时是酒店图,有srid时是房型图
  • └ status
  • Number
  • 0
  • 图片打水印状态,-1--未打水印,0--已打水印
  • └ sub_type
  • String
  • 大堂
  • 普通图片二级分类,目前取值包括“外观,大堂,客房,餐厅,公共区域,健身房,周边”(文本)
  • └ type
  • Number
  • 1
  • 1--普通二维图
  • └ value
  • String
  • //img.alicdn.com/bao/uploaded/i1/TB19RWwOpXXXXcCXpXXHupJ_pXX_054752.jpg
  • 图片url
  • panorama6_pieces
  • ServiceFacilityItem []
  • 全景图已切图6张小图
  • └ feature
  • String
  • {"size":"123*345"}
  • 图片尺寸信息
  • └ id
  • Number
  • 1
  • id
  • └ order_num
  • Number
  • 1
  • 组内排序
  • └ shid
  • Number
  • 56636001
  • shid
  • └ srid
  • Number
  • 123
  • srid
  • └ type
  • Number
  • 3
  • 全景图已切小图类型code
  • └ value
  • String
  • //img.alicdn.com/bao/uploaded/i1/TB19RWwOpXXXXcCXpXXHupJ_pXX_054752.jpg
  • 图片url
  • panoramas
  • ServiceFacilityItem []
  • 全景图原图
  • └ feature
  • String
  • {"size":"123*345"}
  • 图片尺寸信息
  • └ id
  • Number
  • 1
  • id
  • └ order_num
  • Number
  • 1
  • 组内排序
  • └ shid
  • Number
  • 56636001
  • shid
  • └ srid
  • Number
  • 123
  • srid
  • └ status
  • Number
  • 0
  • 全景图原图装填,-1--未切图,0--已切图
  • └ type
  • Number
  • 2
  • 全景图原图固定为2
  • └ value
  • String
  • //img.alicdn.com/bao/uploaded/i1/TB19RWwOpXXXXcCXpXXHupJ_pXX_054752.jpg
  • 图片url
  • service_facilities
  • ServiceFacilities
  • 服务设施
  • booking_notices
  • ServiceFacilityItem []
  • 预订须知
  • └ id
  • Number
  • 1
  • 关联数据id
  • └ order_num
  • Number
  • 1
  • 组内排序
  • └ shid
  • Number
  • 56636001
  • 关联的shid,也即本shid
  • └ sub_type
  • String
  • -1
  • 预订须知无二级分类
  • └ type
  • Number
  • 10
  • 预订须知
  • └ type_id
  • String
  • 100001
  • 入店时间,对应hotelRoomStatic.code
  • └ value
  • String
  • 14:00
  • 具体入店时间
  • fun_facilities
  • ServiceFacilityItem []
  • 娱乐设施
  • └ id
  • Number
  • 1
  • 关联数据id
  • └ order_num
  • Number
  • 1
  • 组内排序
  • └ shid
  • Number
  • 56636001
  • 关联的shid,也即本shid
  • └ sub_type
  • String
  • -1
  • 娱乐设施暂不分组
  • └ type
  • Number
  • 50
  • 娱乐设施分类
  • └ type_id
  • String
  • 24174
  • 娱乐设施类目code,对应hotelRoomStatic.code
  • └ value
  • String
  • 酒吧
  • 娱乐设施名称
  • hotel_facilities
  • ServiceFacilityItem []
  • 酒店设施
  • └ id
  • Number
  • 1
  • 关联数据id
  • └ order_num
  • Number
  • 1
  • 组内排序
  • └ shid
  • Number
  • 56636001
  • 关联的shid,也即本shid
  • └ sub_type
  • String
  • 1
  • 酒店设施二级分类,1-停车场,2-餐厅,3-泳池,-1-其他
  • └ tag
  • Number
  • N/A
  • 暂不使用
  • └ type
  • Number
  • 20
  • 酒店设施分类
  • └ type_id
  • String
  • 24005
  • 酒店设施类目code,对应hotelRoomStatic.code
  • └ value
  • String
  • 免费停车场
  • 酒店设施类目名称
  • hotel_services
  • ServiceFacilityItem []
  • 酒店服务
  • └ id
  • Number
  • 1
  • 关联数据id
  • └ order_num
  • Number
  • 1
  • 组内排序
  • └ shid
  • Number
  • 56636001
  • 关联的shid,也即本shid
  • └ sub_type
  • String
  • 1
  • 酒店服务二级分类,1--外宾,2--宠物,-1--其他
  • └ type
  • Number
  • 30
  • 酒店服务分类
  • └ type_id
  • String
  • 24058
  • 酒店服务类目code,对应hotelRoomStatic.code
  • └ value
  • String
  • 可以接待外宾
  • 酒店服务类目名称
  • room_facilities
  • ServiceFacilityItem []
  • 房型设施
  • └ id
  • Number
  • 1
  • 关联数据id
  • └ order_num
  • Number
  • 1
  • 组内排序
  • └ shid
  • Number
  • 56636001
  • 关联的shid,也即本shid
  • └ srid
  • Number
  • 1234
  • 如果有值说明时标准房型上的房型设施,否则是酒店维度的
  • └ sub_type
  • String
  • 1
  • 房型设施二级类目,1-电话,2-上网,3-卫浴,4-景观,5-媒体,6-服务,7-设施,-1-其他
  • └ type
  • Number
  • 40
  • 房型设施分类
  • └ type_id
  • String
  • 24090
  • 房型设施类目code,对应hotelRoomStatic.code
  • └ value
  • String
  • 国内长途(免费)
  • 房型设施类目名称
  • └ shid
  • Number
  • 56636001
  • 标准酒店shid
  • └ result_code
  • String
  • N/A
  • 响应编码,可不用,看success属性
  • └ result_msg
  • String
  • "系统异常"
  • 响应信息,一般异常或业务失败时有值
  • └ success
  • Boolean
  • true
  • 业务成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
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());

响应示例

  • XML示例
  • JSON示例
<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>{&quot;size&quot;:&quot;123*345&quot;}</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>{&quot;size&quot;:&quot;123*345&quot;}</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>{&quot;size&quot;:&quot;123*345&quot;}</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>&quot;系统异常&quot;</result_msg>
        <success>true</success>
    </result>
</alitrip_hotel_hstdf_stdhotel_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

返回
顶部