文档中心 > 酒店团购

alitrip.tuan.hotel.adapt.store.get (酒店团购套餐关联适用门店)

输入shid,返回关联门店详情信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
shid_list Number [] 可选 100,110
  • 最大列表长度:20
  • 标准酒店ID列表,逗号分割。与hid_list二者只能选一
    hid_list Number [] 可选 110,123
  • 最大列表长度:20
  • 物理酒店ID列表,逗号分割。与shid_list二者只能选一

    响应参数

    名称 类型 示例值 描述
    store_detail_list StoreDetailVoList [] 0000 关联门店列表
    • └ hid
    • String
    • 10000
    • 物理酒店ID
    • └ bill_descs
    • String
    • demo
    • 分账描述
    • └ address
    • String
    • 山下路虎形山51号(后埠派出所旁)
    • 地址
    • └ write_off_accounts
    • String
    • demo
    • 核销账户
    • └ shid
    • Number
    • 54451007
    • 标准酒店ID
    • └ name
    • String
    • 维尔森精品酒店(润达国际店)
    • 名字
    • appoint_phone_list
    • AppointPhoneVoList []
    • 00
    • 联系电话列表
    • └ ext
    • String
    • demo
    • ext
    • └ area
    • String
    • 0799
    • 地区
    • └ mobil
    • String
    • 123344322
    • 手机
    • └ country
    • String
    • 0086
    • 国家
    • └ fix
    • String
    • 6667373
    • 电话
    • └ p400
    • String
    • p400
    • p400
    • └ type
    • String
    • fixed
    • 固话或者移动电话
    • └ bill_infos
    • String
    • demo
    • 分账信息
    • └ store_id
    • Number
    • 235395201
    • 门店id
    • room_type_list
    • RoomTypeVoList []
    • 00
    • 房型列表
    • └ network_service
    • String
    • 无线上网(免费)
    • 是否无线上网
    • └ area
    • String
    • 15
    • 面积
    • └ standard
    • Boolean
    • true
    • 是否标准
    • └ bed
    • String
    • 大床:1.5m
    • 床型
    • └ name
    • String
    • 尊享商务大床房
    • 名称
    • └ max_occupancy
    • String
    • 2
    • 最多可入住人数
    • └ floor
    • String
    • 1-7
    • 楼层
    • └ rid
    • String
    • 61532203
    • rId
    • └ facility
    • String
    • 0000
    • 设施
    msg_code String 0 错误码
    status Boolean true 操作状态
    message String 操作成功 错误信息

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    AlitripTuanHotelAdaptStoreGetRequest req = new AlitripTuanHotelAdaptStoreGetRequest();
    req.setShidList("100,110");
    req.setHidList("110,123");
    AlitripTuanHotelAdaptStoreGetResponse rsp = client.execute(req, sessionKey);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <alitrip_tuan_hotel_adapt_store_get_response>
        <store_detail_list>
            <store_detail_vo_list>
                <hid>10000</hid>
                <bill_descs>demo</bill_descs>
                <address>山下路虎形山51号(后埠派出所旁)</address>
                <write_off_accounts>demo</write_off_accounts>
                <shid>54451007</shid>
                <name>维尔森精品酒店(润达国际店)</name>
                <appoint_phone_list>
                    <appoint_phone_vo_list>
                        <ext>demo</ext>
                        <area>0799</area>
                        <mobil>123344322</mobil>
                        <country>0086</country>
                        <fix>6667373</fix>
                        <p400>p400</p400>
                        <type>fixed</type>
                    </appoint_phone_vo_list>
                </appoint_phone_list>
                <bill_infos>demo</bill_infos>
                <store_id>235395201</store_id>
                <room_type_list>
                    <room_type_vo_list>
                        <network_service>无线上网(免费)</network_service>
                        <area>15</area>
                        <standard>true</standard>
                        <bed>大床:1.5m</bed>
                        <name>尊享商务大床房</name>
                        <max_occupancy>2</max_occupancy>
                        <floor>1-7</floor>
                        <rid>61532203</rid>
                        <facility>0000</facility>
                    </room_type_vo_list>
                </room_type_list>
            </store_detail_vo_list>
        </store_detail_list>
        <msg_code>0</msg_code>
        <status>true</status>
        <message>操作成功</message>
    </alitrip_tuan_hotel_adapt_store_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

    返回
    顶部