cainiao.guoguo.helpcenter.question.ist (获取问题列表)

获取帮助中心问题列表

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
app_version String 可选 app版本号 app版本号
execute_user_list ExecuteUserDto [] 可选
  • 最大列表长度:20
  • 用户列表
    • └ execute_user_id
    • Number
    • 可选
    • 323234
    • userid
    • └ execute_user_type
    • String
    • 可选
    • CP
    • 账户类型
    personal_session String 必须 asdasd33 session
    personal_user_id Number 必须 3333 userid

    响应参数

    名称 类型 示例值 描述
    data YmHelpCenterQuestionListResponse 数据体 data
    • help_center_question_d_t_o_s
    • YmHelpCenterQuestionDto []
    • 问题List
    • helpCenterQuestionDTOS
    • └ answer_id
    • Number
    • 答案id
    • answerId
    • answer_list
    • YmHelpCenterAnswerDto []
    • 答案列表
    • answerList
    • └ biz
    • String
    • 业务标识
    • 业务标识
    • └ content
    • String
    • 内容
    • 扩展
    • └ ext
    • String
    • 扩展
    • 扩展
    • └ gmt_create
    • Date
    • 时间戳
    • 创建时间
    • └ gmt_modified
    • Date
    • 时间戳
    • 修改时间
    • └ h5content_url
    • String
    • http://www.taobao.com
    • h5内容链接
    • └ id
    • Number
    • 3333
    • 答案id
    • └ question_id
    • Number
    • 1111
    • 对应问题id
    • └ stat_click_count
    • Number
    • 33
    • 点击计数
    • └ stat_unuseful_count
    • Number
    • 111
    • 无用计数
    • └ stat_useful_count
    • Number
    • 111
    • 有用计数
    • └ title
    • String
    • 回答
    • 回答标题
    • └ biz
    • String
    • 账号
    • 业务标识
    • └ category_id
    • byte
    • 12
    • 分类id
    • └ content
    • String
    • 问题内容
    • 内容
    • └ enddate
    • Date
    • 时间戳
    • 结束时间
    • └ ext
    • String
    • 扩展内容
    • 扩展内容
    • └ gmt_create
    • Date
    • 时间戳
    • 创建时间
    • └ gmt_modified
    • Date
    • 时间戳
    • 修改时间
    • └ h5content_url
    • String
    • http://www.m.taobao.com
    • h5内容链接
    • └ id
    • Number
    • 33
    • 问题id
    • └ is_hot
    • byte
    • 1
    • 是否热点问题
    • └ sort_index
    • Number
    • 1
    • 排序
    • └ startdate
    • Date
    • 时间戳
    • 开始生效时间
    • └ stat_click_count
    • Number
    • 33
    • 统计点击
    • └ title
    • String
    • 标题
    • title
    status_code String 2 statusCode
    status_message String 错误文案 statusMessage
    is_success Boolean false success

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    CainiaoGuoguoHelpcenterQuestionIstRequest req = new CainiaoGuoguoHelpcenterQuestionIstRequest();
    req.setAppVersion("app版本号");
    List<CainiaoGuoguoHelpcenterQuestionIstRequest.ExecuteUserDto> list2 = new ArrayList<CainiaoGuoguoHelpcenterQuestionIstRequest.ExecuteUserDto>();
    CainiaoGuoguoHelpcenterQuestionIstRequest.ExecuteUserDto obj3 = new CainiaoGuoguoHelpcenterQuestionIstRequest.ExecuteUserDto();
    list2.add(obj3);
    obj3.setExecuteUserId(323234L);
    obj3.setExecuteUserType("CP");
    req.setExecuteUserList(list2);
    req.setPersonalSession("asdasd33");
    req.setPersonalUserId(3333L);
    CainiaoGuoguoHelpcenterQuestionIstResponse rsp = client.execute(req);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <cainiao_guoguo_helpcenter_question_ist_response>
        <data>
            <help_center_question_d_t_o_s>
                <ym_help_center_question_dto>
                    <answer_id>答案id</answer_id>
                    <answer_list>
                        <ym_help_center_answer_dto>
                            <biz>业务标识</biz>
                            <content>内容</content>
                            <ext>扩展</ext>
                            <gmt_create>时间戳</gmt_create>
                            <gmt_modified>时间戳</gmt_modified>
                            <h5content_url>http://www.taobao.com</h5content_url>
                            <id>3333</id>
                            <question_id>1111</question_id>
                            <stat_click_count>33</stat_click_count>
                            <stat_unuseful_count>111</stat_unuseful_count>
                            <stat_useful_count>111</stat_useful_count>
                            <title>回答</title>
                        </ym_help_center_answer_dto>
                    </answer_list>
                    <biz>账号</biz>
                    <category_id>12</category_id>
                    <content>问题内容</content>
                    <enddate>时间戳</enddate>
                    <ext>扩展内容</ext>
                    <gmt_create>时间戳</gmt_create>
                    <gmt_modified>时间戳</gmt_modified>
                    <h5content_url>http://www.m.taobao.com</h5content_url>
                    <id>33</id>
                    <is_hot>1</is_hot>
                    <sort_index>1</sort_index>
                    <startdate>时间戳</startdate>
                    <stat_click_count>33</stat_click_count>
                    <title>标题</title>
                </ym_help_center_question_dto>
            </help_center_question_d_t_o_s>
        </data>
        <status_code>2</status_code>
        <status_message>错误文案</status_message>
        <is_success>false</is_success>
    </cainiao_guoguo_helpcenter_question_ist_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

    返回
    顶部