taobao.paimai.auctionruby.pid.query (分页查询渠道)

分页查询渠道

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
taoke_info_open_api_query TaokeInfoOpenApiQuery 必须 查询请求对象
  • └ page_size
  • Number
  • 必须
  • 100
  • 分页大小
  • └ app_key
  • String
  • 必须
  • 34309206
  • appkey
  • └ title
  • String
  • 可选
  • 渠道2
  • 渠道名称支持模糊查询
  • └ current_page
  • Number
  • 必须
  • 1
  • 当前分野

响应参数

名称 类型 示例值 描述
result_code ResultCode 结果
  • └ code
  • String
  • success
  • 请求结果code
  • └ message
  • String
  • 成功
  • 请求结果信息
page_size Number 分页大小 20
total_count Number 总数 100
current_page Number 当前分页 1
data TaokeInfoOpenApiVO [] 响应数据
  • └ title
  • String
  • 渠道1
  • 渠道名称
  • └ id
  • Number
  • 123
  • id
  • └ pid
  • String
  • 111.222.333
  • pid
  • └ parent_pid
  • String
  • 111.222
  • 根pid
  • └ notes
  • String
  • 备注一下
  • 备注
  • └ gmt_create
  • String
  • 2024-01-11 11:11:11
  • 创建时间
  • └ gmt_modified
  • String
  • 2024-01-11 11:11:11
  • 修改时间

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
PaimaiAuctionrubyPidQueryRequest req = new PaimaiAuctionrubyPidQueryRequest();
PaimaiAuctionrubyPidQueryRequest.TaokeInfoOpenApiQuery obj1 = new PaimaiAuctionrubyPidQueryRequest.TaokeInfoOpenApiQuery();
obj1.setPageSize(100L);
obj1.setAppKey("34309206");
obj1.setTitle("渠道2");
obj1.setCurrentPage(1L);
req.setTaokeInfoOpenApiQuery(obj1);
PaimaiAuctionrubyPidQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<paimai_auctionruby_pid_query_response>
    <result_code>
        <code>success</code>
        <message>成功</message>
    </result_code>
    <page_size>分页大小</page_size>
    <total_count>总数</total_count>
    <current_page>当前分页</current_page>
    <data>
        <taoke_info_open_api_v_o>
            <title>渠道1</title>
            <id>123</id>
            <pid>111.222.333</pid>
            <parent_pid>111.222</parent_pid>
            <notes>备注一下</notes>
            <gmt_create>2024-01-11 11:11:11</gmt_create>
            <gmt_modified>2024-01-11 11:11:11</gmt_modified>
        </taoke_info_open_api_v_o>
    </data>
</paimai_auctionruby_pid_query_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

返回
顶部