文档中心 > API类目 > 飞猪商家平台

alitrip.merchant.galaxy.hotel.detail.search.data (星河-酒店详情页信息获取(新改版))

星河服务,获取雅高酒店详细信息,详情页新改版接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
tenant_key String 必须 111 租户id
hotel_details_param HotelDetailsParam 可选 请求参数
  • └ few_nights
  • Number
  • 可选
  • 1
  • 连住几晚
  • └ check_in
  • String
  • 必须
  • 2021-09-01
  • 入住时间
  • └ adult_num
  • Number
  • 必须
  • 1
  • 成人数
  • └ shid
  • Number
  • 可选
  • 532423
  • 标准酒店id
  • └ hotel_id
  • String
  • 可选
  • 5554
  • 酒店id
  • group_param
  • HotelDetailsGroupParam []
  • 可选
  • 分组过滤请求
  • └ group_name
  • String
  • 可选
  • 大床房
  • 组名
  • └ room_ids
  • String
  • 可选
  • 213214,213231
  • 房型id集合
  • └ cancel_type
  • String
  • 可选
  • 1
  • 取消政策类型
  • └ breakfast
  • String
  • 可选
  • 1
  • 早餐
  • └ check_out
  • String
  • 必须
  • 2021-09-02
  • 离店时间
  • └ room_type
  • String
  • 可选
  • 11
  • 房型类型
  • └ children_ages
  • String
  • 可选
  • 1
  • 儿童数
  • └ token
  • String
  • 可选
  • token
  • token
  • └ voucher_id
  • String
  • 可选
  • 123
  • 代金券id
  • └ version
  • Number
  • 可选
  • 1
  • 版本号

响应参数

名称 类型 示例值 描述
result Response result 默认描述
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ error_code
  • String
  • 1234
  • 错误编码
  • content
  • HotelDetailInfoVo
  • content
  • 返回结果
  • facility_group_list
  • FacilityListVo []
  • 设施组
  • facility_list
  • FacilityVo []
  • 设施集合
  • └ icon
  • String
  • https://fm-unicorn-hotel.oss-cn-beijing.aliyuncs.com/10006373010/facility/%E5%84%BF%E7%AB%A5%E7%89%99%E5%88%B7.png
  • 图片icon
  • └ name
  • String
  • 儿童牙刷
  • 设施名
  • └ summary
  • String
  • 11
  • 概要
  • └ description
  • String
  • 1
  • 描述
  • └ facility_name
  • String
  • 儿童设施
  • 设施分组名
  • address_info
  • AddressVo
  • 酒店地址信息
  • └ address
  • String
  • 西湖大道333号近 南山路(近西湖,雷峰塔,中国美院,南山路,河坊街)
  • 酒店详细地址
  • └ position_type
  • Number
  • 0
  • 地图类型
  • └ city_code
  • Number
  • 330100
  • 城市编码
  • └ latitude
  • String
  • 30.245586
  • 纬度
  • └ domestic
  • Number
  • 0
  • 国内外
  • └ country_code
  • Number
  • 1
  • 国家编码
  • └ city_cn
  • String
  • 杭州市
  • 城市中文名
  • └ country_cn
  • String
  • 中华人民共和国
  • 国家中文名
  • └ longitude
  • String
  • 120.161686
  • 经度
  • hotel_info
  • HotelVo
  • 酒店信息
  • └ brand_name
  • String
  • 索菲特
  • 品牌名
  • └ star
  • String
  • 5
  • 星级
  • └ phone
  • String
  • 0571-87075858
  • 电话
  • └ shid
  • Number
  • 10023179
  • 标准酒店id
  • hotel_feature
  • HotelFeatureVo
  • 酒店扩展
  • └ rooms
  • Number
  • 233
  • 房间数
  • └ check_in
  • String
  • 14:00
  • 入店时间
  • └ floors
  • String
  • 6
  • 楼层
  • └ decorate_time
  • String
  • 2014
  • 装修时间
  • └ opening_time
  • String
  • 2003
  • 开业时间
  • └ postal_code
  • String
  • 310002
  • 邮编
  • └ check_out
  • String
  • 12:00
  • 离店时间
  • └ fax
  • String
  • 0086#0571#87069478
  • 传真
  • └ type
  • String
  • 1,9
  • 酒店类型
  • └ description
  • String
  • 杭州索菲特西湖大酒店位于西湖大道,绝美西湖,一步之遥;中国美院,一墙之隔;风情南山 ,一目之间。酒店坐拥180度露天西湖美景,空中花园举目可眺宝石流霞、雷锋夕照、断桥残雪、吴山天风、三潭印月。 酒店迎来送往,体贴入微,以特色的法式问候,优雅的着装尽显法兰西浪漫与西子湖柔情的完美结合。酒店拥有两百余间舒适的客房,配备浪凡或爱马仕洗浴用品,办公文具齐全,迷你吧供应多种国际品牌产品。行政酒廊的法式风情配上可俯视西湖秀丽山水的露台。 酒店拥有共计809平方米的6个多功能会议室;灵感会议团队将为您提供优质、全面的服务;在香榭丽餐厅里您可以尽情享受美味的馅饼、优雅的芝士礼节及非凡的葡萄酒体验;涌金阁中餐厅以地道美味的杭帮菜而著称;全新打造西湖厅是西湖之畔较高的宴会厅,适合举办各类宴会、会议及婚礼;钻石露台,是公司聚会、举办鸡尾酒会与烧烤的上佳场所;埃菲尔酒吧令您完全置身于一个心旷神怡的舒适天地里。
  • 酒店详细描述
  • └ hotel_id
  • String
  • 5554
  • 酒店id
  • └ brand_code
  • String
  • 1997
  • 品牌编码
  • └ hid
  • Number
  • 1
  • 飞猪旗舰店的ID
  • └ shid
  • Number
  • 10023179
  • 标准酒店id
  • price_group_summary_list
  • PriceGroupSummaryVo []
  • 价格分组概要
  • └ group_name
  • String
  • 非会员价
  • 组名
  • └ lowest_price
  • Number
  • 88900
  • 最低价格
  • └ room_total
  • Number
  • 1
  • 房间总数
  • rooms
  • RoomSummaryVo []
  • 房型信息
  • └ sr_id
  • Number
  • 1
  • 房型id
  • └ name
  • String
  • 1
  • 房型名称
  • hotel_pictures
  • HotelPictureDto []
  • 酒店图片
  • └ type_name
  • String
  • 周边
  • 类型名
  • └ picture_address
  • String []
  • 图片地址
  • └ type_code
  • String
  • SURROUNDING
  • 图片编码
  • └ name_cn
  • String
  • 杭州索菲特西湖大酒店
  • 酒店中文名
  • room_details
  • RoomDetailVo []
  • 房型详情
  • └ lowest_price
  • Number
  • 140800
  • 房型最低价含税 单位分
  • └ lowest_price_to_string
  • String
  • 1408
  • 最低价含税 单位元
  • └ add_bed
  • Number
  • 1
  • 是否加床
  • └ price_type
  • String
  • CNY
  • 货币类型
  • price_info_groups
  • RoomTypeBedInfoDto []
  • 价格分组
  • price_info_list
  • PriceInfoDto []
  • 价格列表
  • └ is_guarantee
  • Number
  • 0
  • 是否担保商品
  • └ member_room_v2
  • Boolean
  • false
  • 是否是副商品会员房
  • └ gid
  • Number
  • 1058501020987
  • 商品id
  • └ cancel_type
  • Number
  • 2
  • 取消政策
  • └ dinamic_original_price
  • Number
  • 140800
  • 含税价 均价 单位分
  • └ is_sell_out
  • Number
  • 0
  • 是否已售空
  • └ tax_and_fee_to_string
  • String
  • 201
  • 税费 单位元
  • └ room_total_price
  • Number
  • 140800
  • 含税总价 单位分
  • └ rp_id
  • Number
  • 2890318100987
  • Rate Plan ID商品定价规则
  • └ rate_id
  • Number
  • 150200550173987
  • 价格ID
  • └ room_id
  • Number
  • 70672905
  • 房型id
  • └ payment_type
  • Number
  • 1
  • 支付类型
  • └ dinamic_original_price_to_string
  • String
  • 1408
  • 含税价 均价 单位元
  • └ refund_rules
  • String
  • 不可取消
  • 退订规则
  • └ rp_code
  • String
  • 1RB3
  • rpcode
  • └ member_room
  • Boolean
  • false
  • 是否是会员房
  • └ rate_price
  • Number
  • 120700
  • 净价均价 不含税
  • └ rate_price_to_string
  • String
  • 1207
  • 净价均价 不含税 单位元
  • └ tax_and_fee
  • Number
  • 20100
  • 税费 单位分
  • └ hot_price
  • Number
  • 0
  • 热门商品权重
  • └ outer_room_id
  • Number
  • 1070594005987
  • 卖家房型id
  • └ price_type
  • String
  • CNY
  • 币种CNY 人民币
  • └ breakfast_desc
  • String
  • 含早餐
  • 早餐信息
  • └ allow_person_number
  • Number
  • 1
  • 入住人数
  • └ breakfasts
  • String []
  • 早餐
  • └ cancel_time
  • String
  • 不可取消
  • 取消政策枚举
  • └ room_total_price_to_string
  • String
  • 1408
  • 含税总价 单位分
  • └ rp_name
  • String
  • 提前3天优惠价+含早餐
  • 商品定价规则标题
  • └ status
  • Number
  • 0
  • 0不可售 1可售
  • price_info
  • PriceInfoDto
  • 折扣商品
  • └ is_guarantee
  • Number
  • 0
  • 是否担保商品
  • └ member_room_v2
  • Boolean
  • false
  • 是否是副会员商品
  • └ gid
  • Number
  • 1058501020987
  • 商品id
  • └ cancel_type
  • Number
  • 2
  • 取消政策
  • └ dinamic_original_price
  • Number
  • 140800
  • 含税价 均价 单位分
  • └ is_sell_out
  • Number
  • 0
  • 是否已售空
  • └ tax_and_fee_to_string
  • String
  • 201
  • 税费 单位元
  • └ room_total_price
  • Number
  • 140800
  • 含税总价 单位分
  • └ rp_id
  • Number
  • 2890318100987
  • Rate Plan ID商品定价规则
  • └ rate_id
  • Number
  • 150200550173987
  • 商品最小可售卖粒度
  • └ room_id
  • Number
  • 70672905
  • 房型id
  • └ payment_type
  • Number
  • 1
  • 支付类型
  • └ dinamic_original_price_to_string
  • String
  • 1408
  • 含税价 均价 单位元
  • └ refund_rules
  • String
  • 不可取消
  • 退订规则
  • └ rp_code
  • String
  • 1RB3
  • rpcode
  • └ member_room
  • Boolean
  • false
  • 是否是会员房
  • └ rate_price
  • Number
  • 120700
  • 净价均价 不含税
  • └ rate_price_to_string
  • String
  • 1207
  • 净价均价 不含税 单位元
  • └ tax_and_fee
  • Number
  • 20100
  • 税费 单位分
  • └ hot_price
  • Number
  • 0
  • 热门权重
  • └ outer_room_id
  • Number
  • 1070594005987
  • 卖家房型id
  • └ price_type
  • String
  • CNY
  • 币种CNY 人民币
  • └ breakfast_desc
  • String
  • 含早餐
  • 早餐信息
  • └ allow_person_number
  • Number
  • 1
  • 入住人数
  • └ breakfasts
  • String []
  • 早餐
  • └ cancel_time
  • String
  • 不可取消
  • 取消政策模型同小搜一致即可,入住日往前XX小时
  • └ room_total_price_to_string
  • String
  • 1408
  • 含税总价 保留到元
  • └ rp_name
  • String
  • 提前3天优惠价+含早餐
  • 商品定价规则标题
  • └ status
  • Number
  • 0
  • 0不可售 1可售
  • └ tag
  • String
  • 1
  • 标签
  • hotel_dinamic_labels
  • HotelDinamicLabelDto []
  • 会员权益
  • └ type
  • String
  • 1
  • 类型
  • └ name
  • String
  • 1
  • 名称
  • └ first_live
  • String
  • 1
  • 首住
  • └ is_derby_voucher_room
  • Boolean
  • ture
  • 是否为德比权益券商品
  • └ tag
  • String
  • 1
  • 标签
  • └ coupon_template_ids
  • Number []
  • 绑定优惠券模板id
  • └ discount_amount
  • Number
  • 1
  • 折扣总价
  • └ first_live
  • String
  • 1
  • 首住
  • hotel_dinamic_labels
  • HotelDinamicLabelDto []
  • 会员权益
  • └ type
  • String
  • 1
  • 类型
  • └ name
  • String
  • 1
  • 名称
  • voucher_info
  • VoucherVo
  • 代金券信息
  • └ is_mark_up
  • Boolean
  • 1
  • 是否加价
  • └ mark_up_amount
  • Number
  • 1
  • 加价金额
  • └ coupon_type
  • String
  • ELIGIBILITY_COUPON
  • 优惠券类型
  • └ category
  • String
  • ROOM_DISCOUNT
  • 权益券类型
  • └ discount_off
  • Number
  • 30
  • 折扣百分比
  • └ is_derby_voucher_room
  • Boolean
  • true
  • 是否为权益商品房型
  • └ booking_or_buy
  • Number
  • 1/0
  • 0 立即预订/1 前去购买,
  • └ voucher_card_category
  • String
  • 权益卡类别
  • APLUSP
  • └ underscore_price
  • String
  • 100
  • 划线价
  • └ group_name
  • String
  • 非会员价
  • 分组名
  • └ pics
  • String []
  • 图片
  • └ room_id
  • Number
  • 70672905
  • 房型id
  • └ room_name
  • String
  • 行政豪华大床房
  • 房型名
  • room_type_bed_info
  • RoomTypeBedInfoDto
  • 床型信息
  • └ brief_desc
  • String
  • 特大床
  • 简短描述
  • └ classification_desc
  • String
  • 大床
  • 分类描述
  • └ fuzzy_desc
  • String
  • 特大床
  • 模糊描述
  • └ simple_desc
  • String
  • 1张特大床
  • 简单描述
  • └ desc
  • String
  • 1张特大床(1.83M)
  • 描述
  • └ full
  • Boolean
  • false
  • 满房
  • room_property
  • RoomProperty
  • 房间属性
  • └ area
  • String
  • 1
  • 面积
  • └ network_service
  • String
  • 1
  • 宽带
  • └ bed_type_icon
  • String
  • 1
  • 床型icon
  • └ max_occupancy_icon
  • String
  • 1
  • 最大人数icon
  • └ max_occupancy
  • Number
  • 1
  • 最大人数
  • └ floor
  • String
  • 1
  • 楼层
  • └ floor_icon
  • String
  • 1
  • 楼层icon
  • └ area_icon
  • String
  • 1
  • 面积icon
  • └ window_type_icon
  • String
  • 1
  • 窗型icon
  • └ window_type
  • String
  • 1
  • 窗型
  • facility_group_list
  • FacilityListVo []
  • 房型设施分组
  • facility_list
  • FacilityVo []
  • 设施集合
  • └ icon
  • String
  • https://fm-unicorn-hotel.oss-cn-beijing.aliyuncs.com/10006373010/facility/%E5%84%BF%E7%AB%A5%E7%89%99%E5%88%B7.png
  • 设施图片
  • └ name
  • String
  • 儿童牙刷
  • 设施名
  • └ facility_name
  • String
  • 儿童设施
  • 设施组名
  • └ hotel_id
  • String
  • 5554
  • 酒店id
  • hotel_policy_list
  • FacilityVo []
  • 酒店政策集合
  • └ name
  • String
  • 1
  • 政策名
  • └ icon
  • String
  • 1
  • 图片icon
  • └ summary
  • String
  • 1
  • 概要
  • └ description
  • String
  • 1
  • 描述
  • └ code
  • String
  • 1
  • 编码
  • health_notification
  • FacilityVo
  • 卫生健康标识
  • └ icon
  • String
  • 1
  • icon
  • └ description
  • String
  • 1
  • 描述
  • └ hid
  • Number
  • 1
  • 飞猪旗舰店的ID
  • └ error_msg
  • String
  • 1
  • 错误编码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripMerchantGalaxyHotelDetailSearchDataRequest req = new AlitripMerchantGalaxyHotelDetailSearchDataRequest();
req.setTenantKey("111");
AlitripMerchantGalaxyHotelDetailSearchDataRequest.HotelDetailsParam obj1 = new AlitripMerchantGalaxyHotelDetailSearchDataRequest.HotelDetailsParam();
obj1.setFewNights(1L);
obj1.setCheckIn("2021-09-01");
obj1.setAdultNum(1L);
obj1.setShid(532423L);
obj1.setHotelId("5554");
List<AlitripMerchantGalaxyHotelDetailSearchDataRequest.HotelDetailsGroupParam> list3 = new ArrayList<AlitripMerchantGalaxyHotelDetailSearchDataRequest.HotelDetailsGroupParam>();
AlitripMerchantGalaxyHotelDetailSearchDataRequest.HotelDetailsGroupParam obj4 = new AlitripMerchantGalaxyHotelDetailSearchDataRequest.HotelDetailsGroupParam();
list3.add(obj4);
obj4.setGroupName("大床房");
obj4.setRoomIds("213214,213231");
obj4.setCancelType("1");
obj4.setBreakfast("1");
obj1.setGroupParam(list3);
obj1.setCheckOut("2021-09-02");
obj1.setRoomType("11");
obj1.setChildrenAges("1");
obj1.setToken("token");
obj1.setVoucherId("123");
obj1.setVersion(1L);
req.setHotelDetailsParam(obj1);
AlitripMerchantGalaxyHotelDetailSearchDataResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alitrip_merchant_galaxy_hotel_detail_search_data_response>
    <result>
        <success>true</success>
        <error_code>1234</error_code>
        <content>
            <facility_group_list>
                <facility_list_vo>
                    <facility_list>
                        <facility_vo>
                            <icon>https://fm-unicorn-hotel.oss-cn-beijing.aliyuncs.com/10006373010/facility/%E5%84%BF%E7%AB%A5%E7%89%99%E5%88%B7.png</icon>
                            <name>儿童牙刷</name>
                            <summary>11</summary>
                            <description>1</description>
                        </facility_vo>
                    </facility_list>
                    <facility_name>儿童设施</facility_name>
                </facility_list_vo>
            </facility_group_list>
            <address_info>
                <address>西湖大道333号近 南山路(近西湖,雷峰塔,中国美院,南山路,河坊街)</address>
                <position_type>0</position_type>
                <city_code>330100</city_code>
                <latitude>30.245586</latitude>
                <domestic>0</domestic>
                <country_code>1</country_code>
                <city_cn>杭州市</city_cn>
                <country_cn>中华人民共和国</country_cn>
                <longitude>120.161686</longitude>
            </address_info>
            <hotel_info>
                <brand_name>索菲特</brand_name>
                <star>5</star>
                <phone>0571-87075858</phone>
                <shid>10023179</shid>
                <hotel_feature>
                    <rooms>233</rooms>
                    <check_in>14:00</check_in>
                    <floors>6</floors>
                    <decorate_time>2014</decorate_time>
                    <opening_time>2003</opening_time>
                    <postal_code>310002</postal_code>
                    <check_out>12:00</check_out>
                    <fax>0086#0571#87069478</fax>
                    <type>1,9</type>
                </hotel_feature>
                <description>杭州索菲特西湖大酒店位于西湖大道,绝美西湖,一步之遥;中国美院,一墙之隔;风情南山 ,一目之间。酒店坐拥180度露天西湖美景,空中花园举目可眺宝石流霞、雷锋夕照、断桥残雪、吴山天风、三潭印月。
酒店迎来送往,体贴入微,以特色的法式问候,优雅的着装尽显法兰西浪漫与西子湖柔情的完美结合。酒店拥有两百余间舒适的客房,配备浪凡或爱马仕洗浴用品,办公文具齐全,迷你吧供应多种国际品牌产品。行政酒廊的法式风情配上可俯视西湖秀丽山水的露台。
酒店拥有共计809平方米的6个多功能会议室;灵感会议团队将为您提供优质、全面的服务;在香榭丽餐厅里您可以尽情享受美味的馅饼、优雅的芝士礼节及非凡的葡萄酒体验;涌金阁中餐厅以地道美味的杭帮菜而著称;全新打造西湖厅是西湖之畔较高的宴会厅,适合举办各类宴会、会议及婚礼;钻石露台,是公司聚会、举办鸡尾酒会与烧烤的上佳场所;埃菲尔酒吧令您完全置身于一个心旷神怡的舒适天地里。</description>
                <hotel_id>5554</hotel_id>
                <brand_code>1997</brand_code>
                <hid>1</hid>
            </hotel_info>
            <shid>10023179</shid>
            <price_group_summary_list>
                <price_group_summary_vo>
                    <group_name>非会员价</group_name>
                    <lowest_price>88900</lowest_price>
                    <room_total>1</room_total>
                    <rooms>
                        <room_summary_vo>
                            <sr_id>1</sr_id>
                            <name>1</name>
                        </room_summary_vo>
                    </rooms>
                </price_group_summary_vo>
            </price_group_summary_list>
            <hotel_pictures>
                <hotel_picture_dto>
                    <type_name>周边</type_name>
                    <picture_address>
                        <string></string>
                    </picture_address>
                    <type_code>SURROUNDING</type_code>
                </hotel_picture_dto>
            </hotel_pictures>
            <name_cn>杭州索菲特西湖大酒店</name_cn>
            <room_details>
                <room_detail_vo>
                    <lowest_price>140800</lowest_price>
                    <lowest_price_to_string>1408</lowest_price_to_string>
                    <add_bed>1</add_bed>
                    <price_type>CNY</price_type>
                    <price_info_groups>
                        <room_type_bed_info_dto>
                            <price_info_list>
                                <price_info_dto>
                                    <is_guarantee>0</is_guarantee>
                                    <member_room_v2>false</member_room_v2>
                                    <gid>1058501020987</gid>
                                    <cancel_type>2</cancel_type>
                                    <dinamic_original_price>140800</dinamic_original_price>
                                    <is_sell_out>0</is_sell_out>
                                    <tax_and_fee_to_string>201</tax_and_fee_to_string>
                                    <room_total_price>140800</room_total_price>
                                    <rp_id>2890318100987</rp_id>
                                    <rate_id>150200550173987</rate_id>
                                    <room_id>70672905</room_id>
                                    <payment_type>1</payment_type>
                                    <dinamic_original_price_to_string>1408</dinamic_original_price_to_string>
                                    <refund_rules>不可取消</refund_rules>
                                    <rp_code>1RB3</rp_code>
                                    <member_room>false</member_room>
                                    <rate_price>120700</rate_price>
                                    <rate_price_to_string>1207</rate_price_to_string>
                                    <tax_and_fee>20100</tax_and_fee>
                                    <hot_price>0</hot_price>
                                    <outer_room_id>1070594005987</outer_room_id>
                                    <price_type>CNY</price_type>
                                    <breakfast_desc>含早餐</breakfast_desc>
                                    <allow_person_number>1</allow_person_number>
                                    <breakfasts>
                                        <string></string>
                                    </breakfasts>
                                    <cancel_time>不可取消</cancel_time>
                                    <room_total_price_to_string>1408</room_total_price_to_string>
                                    <rp_name>提前3天优惠价+含早餐</rp_name>
                                    <status>0</status>
                                    <price_info>
                                        <is_guarantee>0</is_guarantee>
                                        <member_room_v2>false</member_room_v2>
                                        <gid>1058501020987</gid>
                                        <cancel_type>2</cancel_type>
                                        <dinamic_original_price>140800</dinamic_original_price>
                                        <is_sell_out>0</is_sell_out>
                                        <tax_and_fee_to_string>201</tax_and_fee_to_string>
                                        <room_total_price>140800</room_total_price>
                                        <rp_id>2890318100987</rp_id>
                                        <rate_id>150200550173987</rate_id>
                                        <room_id>70672905</room_id>
                                        <payment_type>1</payment_type>
                                        <dinamic_original_price_to_string>1408</dinamic_original_price_to_string>
                                        <refund_rules>不可取消</refund_rules>
                                        <rp_code>1RB3</rp_code>
                                        <member_room>false</member_room>
                                        <rate_price>120700</rate_price>
                                        <rate_price_to_string>1207</rate_price_to_string>
                                        <tax_and_fee>20100</tax_and_fee>
                                        <hot_price>0</hot_price>
                                        <outer_room_id>1070594005987</outer_room_id>
                                        <price_type>CNY</price_type>
                                        <breakfast_desc>含早餐</breakfast_desc>
                                        <allow_person_number>1</allow_person_number>
                                        <breakfasts>
                                            <string></string>
                                        </breakfasts>
                                        <cancel_time>不可取消</cancel_time>
                                        <room_total_price_to_string>1408</room_total_price_to_string>
                                        <rp_name>提前3天优惠价+含早餐</rp_name>
                                        <status>0</status>
                                        <tag>1</tag>
                                        <hotel_dinamic_labels>
                                            <hotel_dinamic_label_dto>
                                                <type>1</type>
                                                <name>1</name>
                                            </hotel_dinamic_label_dto>
                                        </hotel_dinamic_labels>
                                        <first_live>1</first_live>
                                        <is_derby_voucher_room>ture</is_derby_voucher_room>
                                    </price_info>
                                    <tag>1</tag>
                                    <coupon_template_ids>
                                        <number></number>
                                    </coupon_template_ids>
                                    <discount_amount>1</discount_amount>
                                    <first_live>1</first_live>
                                    <hotel_dinamic_labels>
                                        <hotel_dinamic_label_dto>
                                            <type>1</type>
                                            <name>1</name>
                                        </hotel_dinamic_label_dto>
                                    </hotel_dinamic_labels>
                                    <voucher_info>
                                        <is_mark_up>1</is_mark_up>
                                        <mark_up_amount>1</mark_up_amount>
                                    </voucher_info>
                                    <coupon_type>ELIGIBILITY_COUPON</coupon_type>
                                    <category>ROOM_DISCOUNT</category>
                                    <discount_off>30</discount_off>
                                    <is_derby_voucher_room>true</is_derby_voucher_room>
                                    <booking_or_buy>1/0</booking_or_buy>
                                    <voucher_card_category>权益卡类别</voucher_card_category>
                                    <underscore_price>100</underscore_price>
                                </price_info_dto>
                            </price_info_list>
                            <group_name>非会员价</group_name>
                        </room_type_bed_info_dto>
                    </price_info_groups>
                    <pics>
                        <string></string>
                    </pics>
                    <room_id>70672905</room_id>
                    <room_name>行政豪华大床房</room_name>
                    <room_type_bed_info>
                        <brief_desc>特大床</brief_desc>
                        <classification_desc>大床</classification_desc>
                        <fuzzy_desc>特大床</fuzzy_desc>
                        <simple_desc>1张特大床</simple_desc>
                        <desc>1张特大床(1.83M)</desc>
                    </room_type_bed_info>
                    <full>false</full>
                    <room_property>
                        <area>1</area>
                        <network_service>1</network_service>
                        <bed_type_icon>1</bed_type_icon>
                        <max_occupancy_icon>1</max_occupancy_icon>
                        <max_occupancy>1</max_occupancy>
                        <floor>1</floor>
                        <floor_icon>1</floor_icon>
                        <area_icon>1</area_icon>
                        <window_type_icon>1</window_type_icon>
                        <window_type>1</window_type>
                    </room_property>
                    <facility_group_list>
                        <facility_list_vo>
                            <facility_list>
                                <facility_vo>
                                    <icon>https://fm-unicorn-hotel.oss-cn-beijing.aliyuncs.com/10006373010/facility/%E5%84%BF%E7%AB%A5%E7%89%99%E5%88%B7.png</icon>
                                    <name>儿童牙刷</name>
                                </facility_vo>
                            </facility_list>
                            <facility_name>儿童设施</facility_name>
                        </facility_list_vo>
                    </facility_group_list>
                </room_detail_vo>
            </room_details>
            <hotel_id>5554</hotel_id>
            <hotel_policy_list>
                <facility_vo>
                    <name>1</name>
                    <icon>1</icon>
                    <summary>1</summary>
                    <description>1</description>
                    <code>1</code>
                </facility_vo>
            </hotel_policy_list>
            <health_notification>
                <icon>1</icon>
                <description>1</description>
            </health_notification>
            <hid>1</hid>
        </content>
        <error_msg>1</error_msg>
    </result>
</alitrip_merchant_galaxy_hotel_detail_search_data_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

返回
顶部