翻页查询小活动列表
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
page_size | Number | 必须 | 10 | 页大小 | |
page_no | Number | 必须 | 1 | 页码 | |
status_list | Number | 必须 | 0 | 活动类型,0已删除,1未开始,2进行中,3已结束 | |
activity_source | String | 必须 | SINGLE_TREASURE | 活动类型 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
total_count | Number | 998 | 数据总数 |
tao_activity_module_list | TaoActivityModule [] | 响应结果 | |
|
1 2 3 4 5 6 7 8 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); ActivityInfoListGetRequest req = new ActivityInfoListGetRequest(); req.setPageSize(10L); req.setPageNo(1L); req.setStatusList(0L); req.setActivitySource( "SINGLE_TREASURE" ); ActivityInfoListGetResponse rsp = client.execute(req, sessionKey); 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 21 22 23 24 25 26 27 28 29 30 | < activity_info_list_get_response > < total_count >998</ total_count > < tao_activity_module_list > < tao_activity_module > < activity_id >10113072800055076</ activity_id > < name >静节测试</ name > < activity_source >SINGLE_TREASURE</ activity_source > < gmt_start >1694102400000</ gmt_start > < gmt_end >null</ gmt_end > < gmt_create >null</ gmt_create > < status >1</ status > < status_name >未开始</ status_name > < item_list > < number >659014158965</ number > < number >526160715680</ number > < number >734015818058</ number > </ item_list > < back_ground_pic >https://img.alicdn.com/imgextra/i2/O1CN01f4tL7B29XJrc7P2ce_!!6000000008077-2-tps-750-540.png</ back_ground_pic > < activity_url >https://web.m.taobao.com/app/sj/marketing/exclusive?pha=true&disableNav=YES&status_bar_transparent=true&sellerId=263694008&shopId=58498856&activityId=10113072800055076&source=accelerate</ activity_url > < title >粉丝内购会</ title > < title_template_code >1</ title_template_code > < crowd_name >粉丝</ crowd_name > < crowd_id >306400010000</ crowd_id > < pre_heat_start >null</ pre_heat_start > < pre_heat_back_ground_pic >null</ pre_heat_back_ground_pic > < promotion_level >1</ promotion_level > < discount_type >2</ discount_type > </ tao_activity_module > </ tao_activity_module_list > </ activity_info_list_get_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 > |
错误码 | 错误描述 | 解决方案 |
---|