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

alitrip.futurehotel.recommend.filter.conditions (热门筛选项)

热门筛选项

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
login_user_id String 可选 1 loginUserId

响应参数

名称 类型 示例值 描述
result RecommendConditionSearchResponse 查询出参
  • └ fh_code
  • String
  • 返回code
  • └ fh_msg
  • String
  • 返回msg
  • └ fh_success
  • Boolean
  • 返回是否成功
  • items
  • RecommendConditionConfigInfo []
  • 热门筛选栏目配置项
  • └ check_type
  • Number
  • 选择类型
  • └ item_key
  • String
  • 筛选项值
  • └ item_name
  • String
  • 筛选项名称
  • └ item_param
  • String
  • 筛选项参数名
  • └ key
  • String
  • 二级栏目关键字
  • └ sort
  • Number
  • 排序
  • └ type
  • Number
  • 类型

请求示例

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

响应示例

  • XML示例
  • JSON示例
<alitrip_futurehotel_recommend_filter_conditions_response>
    <result>
        <fh_code></fh_code>
        <fh_msg></fh_msg>
        <fh_success></fh_success>
        <items>
            <recommend_condition_config_info>
                <check_type></check_type>
                <item_key></item_key>
                <item_name></item_name>
                <item_param></item_param>
                <key></key>
                <sort></sort>
                <type></type>
            </recommend_condition_config_info>
        </items>
    </result>
</alitrip_futurehotel_recommend_filter_conditions_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

返回
顶部