服务商使用。可通过此接口查询对应推广者账号下的红包发放个数。
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
biz_date | String | 必须 | 20191201 | 统计日期 | |
relation_id | Number | 可选 | 111 | 渠道关系id | |
activity_id | Number | 可选 | 1 | 已下线,后续不需要填写 | |
page_no | Number | 可选 | 1 |
|
页码 |
page_size | Number | 可选 | 10 |
|
每页大小 |
pid | String | 可选 | mm_123_123_123 | 媒体推广pid | |
rpt_dim | String | 可选 | pid/relation | 查询维度,不填写默认是pid维度 | |
activity_category | Number | 可选 | 1 |
|
查询红包类型,1-超级红包,2-福利购,3-签到红包,4-福利直降,5-幸运赢免单,不传时默认查询超级红包数据 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Result | 接口返回model | |
|
1 2 3 4 5 6 7 8 9 10 11 12 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); TbkScVegasSendReportRequest req = new TbkScVegasSendReportRequest(); req.setBizDate( "20191201" ); req.setRelationId(111L); req.setActivityId(1L); req.setPageNo(1L); req.setPageSize(10L); req.setPid( "mm_123_123_123" ); req.setRptDim( "pid/relation" ); req.setActivityCategory(1L); TbkScVegasSendReportResponse 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 | < tbk_sc_vegas_send_report_response > < result > < success >false</ success > < model > < relation_rpt_list > < rights_send_relation_rpt_dto > < biz_date >20191201</ biz_date > < relation_id >111</ relation_id > < fund_num >200</ fund_num > < pid >mm_123_123_123</ pid > < use_num >89</ use_num > </ rights_send_relation_rpt_dto > </ relation_rpt_list > < pid_rpt_list > < rights_send_relation_rpt_dto > < biz_date >20191201</ biz_date > < pid >mm_123_123_123</ pid > < fund_num >100</ fund_num > < use_num >78</ use_num > </ rights_send_relation_rpt_dto > </ pid_rpt_list > </ model > < msg_info >1</ msg_info > < msg_code >1</ msg_code > </ result > </ tbk_sc_vegas_send_report_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 > |
错误码 | 错误描述 | 解决方案 |
---|