自用API-设备任务-查询任务详细结果

2024-05-20 67

描述

查询某个任务执行的详细结果,包括每个店铺、站点的结果,文件在用户定义的电脑上

请求URL(post)

/rpa/company/device/list-result

请求参数

参数名参数描述必选类型说明
taskId任务IDLong任务id
deviceIds设备IDList<Long>
rpaIdsRPA_IDList<Long>
errorCode错误码Long
page页码Integer
limit每页大小Integer最大500
{ "taskId": "任务id(必填)", "page": 1, "limit": 10, "planId": "计划id", "deviceIds": [设备id, 传列表], "rpaIds": [rpaId传列表], "errorCode": "错误码" }

样例

{ "taskId": "549080105640005", "page": 1, "limit": 10 }

返回值

{ "data": [ { "accountName": "账号名", "siteName": "站点名称", "reportStatus": "OVER", "rpaStartTime": "rpa开始执行时间", "errorCode": 35017, "resultMessage": "运行结果", "deviceName": "设备名称", "guideLinkUrl": "帮助指南链接", "errorMsg": "错误信息", "runWith": "rpa运行参数", "guideText": "帮助指南", "scriptName": "rpa名称", "id": "549018813927493", "runTime": "任务执行的时间", "taskId": "任务id" } ], "limit": 1, "count": 1, "page": 1 }

返回值样例

{ "pages": 0, "data": [ { "accountName": "acc", "siteName": "英国", "reportStatus": "OVER", "rpaStartTime": "2024-05-20 15:16:07", "errorCode": 0, "resultMessage": "C:\\Users\\1\\Documents\\HubuRPA\\尾号0073的公司13\\测试创建任务api\\20240520\\acc-UK-1716189523412-accEur-日期范围报告-汇总-PDF-1688969169557.pdf", "deviceName": "Charles-desktop", "errorMsg": "播放完成", "runWith": "[{\"description\":\"站点\",\"name\":\"site\",\"options\":\"[{\\\"name\\\":\\\"BR\\\",\\\"value\\\":\\\"BR\\\"},{\\\"name\\\":\\\"CA\\\",\\\"value\\\":\\\"CA\\\"},{\\\"name\\\":\\\"MX\\\",\\\"value\\\":\\\"MX\\\"},{\\\"name\\\":\\\"US\\\",\\\"value\\\":\\\"US\\\"},{\\\"name\\\":\\\"AE\\\",\\\"value\\\":\\\"AE\\\"},{\\\"name\\\":\\\"DE\\\",\\\"value\\\":\\\"DE\\\"},{\\\"name\\\":\\\"EG\\\",\\\"value\\\":\\\"EG\\\"},{\\\"name\\\":\\\"ES\\\",\\\"value\\\":\\\"ES\\\"},{\\\"name\\\":\\\"FR\\\",\\\"value\\\":\\\"FR\\\"},{\\\"name\\\":\\\"GB\\\",\\\"value\\\":\\\"GB\\\"},{\\\"name\\\":\\\"IN\\\",\\\"value\\\":\\\"IN\\\"},{\\\"name\\\":\\\"IT\\\",\\\"value\\\":\\\"IT\\\"},{\\\"name\\\":\\\"NL\\\",\\\"value\\\":\\\"NL\\\"},{\\\"name\\\":\\\"PL\\\",\\\"value\\\":\\\"PL\\\"},{\\\"name\\\":\\\"SA\\\",\\\"value\\\":\\\"SA\\\"},{\\\"name\\\":\\\"SE\\\",\\\"value\\\":\\\"SE\\\"},{\\\"name\\\":\\\"TR\\\",\\\"value\\\":\\\"TR\\\"},{\\\"name\\\":\\\"SG\\\",\\\"value\\\":\\\"SG\\\"},{\\\"name\\\":\\\"AU\\\",\\\"value\\\":\\\"AU\\\"},{\\\"name\\\":\\\"JP\\\",\\\"value\\\":\\\"JP\\\"},{\\\"name\\\":\\\"UK\\\",\\\"value\\\":\\\"UK\\\"},{\\\"name\\\":\\\"BE\\\",\\\"value\\\":\\\"BE\\\"}]\",\"type\":\"site\",\"value\":\"\"},{\"description\":\"日期范围\",\"name\":\"daterange\",\"options\":\"[{\\\"value\\\":\\\"yesterday\\\",\\\"name\\\":\\\"昨日\\\"},{\\\"value\\\":\\\"last7\\\",\\\"name\\\":\\\"最近7天\\\"},{\\\"value\\\":\\\"week\\\",\\\"name\\\":\\\"本周至今\\\"},{\\\"value\\\":\\\"lastweek\\\",\\\"name\\\":\\\"上周(周一开始)\\\"},{\\\"value\\\":\\\"lastweek_sunday\\\",\\\"name\\\":\\\"上周(周天开始)\\\"},{\\\"value\\\":\\\"month\\\",\\\"name\\\":\\\"本月至今\\\"},{\\\"value\\\":\\\"lastmonth\\\",\\\"name\\\":\\\"上月\\\"},{\\\"value\\\":\\\"last60\\\",\\\"name\\\":\\\"最近60天\\\"},{\\\"value\\\":\\\"customize\\\",\\\"name\\\":\\\"自定义\\\"},{\\\"value\\\":\\\"last30\\\",\\\"name\\\":\\\"最近30天\\\"}]\",\"type\":\"daterange\",\"value\":\"上月\"},{\"description\":\"店铺信息\",\"name\":\"store\",\"options\":\"\",\"type\":\"storeInfo\",\"value\":\"\"}]", "scriptName": "日期范围报告-汇总-PDF", "storageDeviceName": "Charles-desktop", "id": "549081669288005", "runTime": "2024-05-20 15:12:42", "taskId": "549080105640005" } ], "limit": 1, "count": 1, "page": 1 }