文档中心 > API类目 > 飞猪-菲住联盟

alitrip.futurehotel.searchn.hotcitylist (热门目的地模块-热门城市热门商圈查询)

热门目的地模块-热门城市热门商圈查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
login_user_id String 可选 123 用户ID

响应参数

名称 类型 示例值 描述
hot_city_response HotCityResponse 出参
  • └ fh_code
  • String
  • fh_code
  • └ fh_msg
  • String
  • fh_msg
  • └ fh_success
  • Boolean
  • fh_success
  • hot_cities
  • HotCity []
  • 热门城市
  • hot_businesses
  • BaseVo []
  • 热门商圈
  • └ k
  • String
  • id
  • └ v
  • String
  • 名称
  • └ pic
  • String
  • 头图
  • └ k
  • String
  • id
  • └ v
  • String
  • 名称

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripFuturehotelSearchnHotcitylistRequest req = new AlitripFuturehotelSearchnHotcitylistRequest();
req.setLoginUserId("123");
AlitripFuturehotelSearchnHotcitylistResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alitrip_futurehotel_searchn_hotcitylist_response>
    <hot_city_response>
        <fh_code></fh_code>
        <fh_msg></fh_msg>
        <fh_success></fh_success>
        <hot_cities>
            <hot_city>
                <hot_businesses>
                    <base_vo>
                        <k></k>
                        <v></v>
                    </base_vo>
                </hot_businesses>
                <pic></pic>
                <k></k>
                <v></v>
            </hot_city>
        </hot_cities>
    </hot_city_response>
</alitrip_futurehotel_searchn_hotcitylist_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

返回
顶部