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

alitrip.futurehotel.help.querylist (帮助中心通用列表)

飞猪-菲住联盟融合,帮助中心通用列表

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param_page_help_req PageHelpReq 可选 请求入参
  • └ con_title
  • String
  • 可选
  • "1"
  • 帮助主题
  • └ help_type
  • Number
  • 可选
  • 1
  • 帮助类型 1:用户帮助 2:酒店帮助
  • └ limit
  • Number
  • 可选
  • 10
  • 默认分页条数
  • └ login_user_id
  • String
  • 可选
  • "1111"
  • 登录用户TOKEN
  • └ question_type
  • Number
  • 可选
  • 1
  • 帮助问题类型
  • └ records_filtered
  • Number
  • 可选
  • 1
  • 查询过滤
  • └ records_total
  • Number
  • 可选
  • 10
  • 总记录条数
  • └ start
  • Number
  • 可选
  • 1
  • 开始条数

响应参数

名称 类型 示例值 描述
result PageHelpRsPage 返回结果 返回结果
  • data
  • PageHelpRs []
  • 数据列表
  • 数据列表
  • └ con_title
  • String
  • "主题1"
  • 帮助主题
  • └ del_flag
  • Number
  • 1
  • 删除标记
  • └ gmt_create
  • String
  • "2020-01-01 01:01:01"
  • 创建时间
  • └ gmt_modified
  • String
  • "2020-01-01 01:01:01"
  • 更新时间
  • └ help_type
  • Number
  • 1
  • 帮助类型
  • └ id
  • Number
  • 1
  • 主键ID
  • └ operator
  • String
  • "张三"
  • 操作人
  • └ question_type
  • Number
  • 2
  • 问题类型
  • └ solution
  • String
  • "解决方法是...."
  • 解决方案
  • └ fh_code
  • String
  • "111"
  • 返回code
  • └ fh_msg
  • String
  • "success"
  • 返回信息
  • └ fh_success
  • Boolean
  • true
  • 是否成功
  • └ limit
  • Number
  • 10
  • 限制条数
  • └ records_filtered
  • Number
  • 20
  • 过滤条数
  • └ records_total
  • Number
  • 100
  • 总条数
  • └ start
  • Number
  • 1
  • 起始条数

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripFuturehotelHelpQuerylistRequest req = new AlitripFuturehotelHelpQuerylistRequest();
AlitripFuturehotelHelpQuerylistRequest.PageHelpReq obj1 = new AlitripFuturehotelHelpQuerylistRequest.PageHelpReq();
obj1.setConTitle("\"1\"");
obj1.setHelpType(1L);
obj1.setLimit(10L);
obj1.setLoginUserId("\"1111\"");
obj1.setQuestionType(1L);
obj1.setRecordsFiltered(1L);
obj1.setRecordsTotal(10L);
obj1.setStart(1L);
req.setParamPageHelpReq(obj1);
AlitripFuturehotelHelpQuerylistResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alitrip_futurehotel_help_querylist_response>
    <result>
        <data>
            <page_help_rs>
                <con_title>&quot;主题1&quot;</con_title>
                <del_flag>1</del_flag>
                <gmt_create>&quot;2020-01-01 01:01:01&quot;</gmt_create>
                <gmt_modified>&quot;2020-01-01 01:01:01&quot;</gmt_modified>
                <help_type>1</help_type>
                <id>1</id>
                <operator>&quot;张三&quot;</operator>
                <question_type>2</question_type>
                <solution>&quot;解决方法是....&quot;</solution>
            </page_help_rs>
        </data>
        <fh_code>&quot;111&quot;</fh_code>
        <fh_msg>&quot;success&quot;</fh_msg>
        <fh_success>true</fh_success>
        <limit>10</limit>
        <records_filtered>20</records_filtered>
        <records_total>100</records_total>
        <start>1</start>
    </result>
</alitrip_futurehotel_help_querylist_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

返回
顶部