分页查询渠道
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
taoke_info_open_api_query | TaokeInfoOpenApiQuery | 必须 | 查询请求对象 | ||
|
名称 | 类型 | 示例值 | 描述 | ||||
---|---|---|---|---|---|---|---|
result_code | ResultCode | 结果 | |||||
|
|||||||
page_size | Number | 分页大小 | 20 | ||||
total_count | Number | 总数 | 100 | ||||
current_page | Number | 当前分页 | 1 | ||||
data | TaokeInfoOpenApiVO [] | 响应数据 | |||||
|
1 2 3 4 5 6 7 8 9 10 | 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()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | < 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 > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|