UD报表-异步任务列表查询接口
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
async_task_top_query_dto | AsyncTaskTopQueryDTO | 必须 | 查询参数 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | AsyncTaskTopDTO [] | 任务信息 | |
|
|||
total | Number | 1 | 总条数 |
1 2 3 4 5 6 7 8 9 10 11 12 13 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); UnideskRtaReportAsynctaskGetRequest req = new UnideskRtaReportAsynctaskGetRequest(); UnideskRtaReportAsynctaskGetRequest.AsyncTaskTopQueryDTO obj1 = new UnideskRtaReportAsynctaskGetRequest.AsyncTaskTopQueryDTO(); obj1.setPageNo(1L); obj1.setName( "任务名称" ); obj1.setIds( new Long[] { 1 }; ); obj1.setPageSize(10L); obj1.setAdvertiserId(1L); obj1.setVersion(9999L); req.setAsyncTaskTopQueryDto(obj1); UnideskRtaReportAsynctaskGetResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 | < unidesk_rta_report_asynctask_get_response > < result > < async_task_top_d_t_o > < id >1</ id > < data_size >1024</ data_size > < gmt_create >1671810808398</ gmt_create > < error_msg >任务失败原因</ error_msg > < name >异步任务名称</ name > < status >3</ status > </ async_task_top_d_t_o > </ result > < total >1</ total > </ unidesk_rta_report_asynctask_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 > |
错误码 | 错误描述 | 解决方案 |
---|