阅读和查看 Automation Anywhere 文档

Automation 360

关闭内容

内容

打开内容

Activity List (deprecated)

  • 已更新:2022/06/02
    • Automation 360 v.x
    • 探索
    • RPA Workspace

Activity List (deprecated)

Returns a list of bot executions based on filtering, ordering, and pagination rules. Fetches execution details for specific automation id as returned by the deployment API.

Request

POST https://{{ControlRoomURL}}/v2/activity/list
Header: X-Authorization <<authentication token>>
使用身份验证 API 生成 JSON Web 令牌。请参阅身份验证 API
Request body:
{
   "sort":[
      {
         "field":"endDateTime",
         "direction":"desc"
      }
   ],
   "filter":{
      "operator":"eq",
      "value":"UPDATE",
      "field":"status"
   },
   "fields":[
      
   ],
   "page":{
      "length":100,
      "offset":0
   }
}

Filter the results using automationId, deviceId, status, or deploymentId. You can also use the combination of these filters to optimize your search results.

Request body using deploymentId:
{
  "filter": {
    "operator": "eq",
    "field": "deploymentId",
    "value": "14c2b6f8-c2a0-4a57-959d-ef413df0d179"
  }
}
注: Use the empty filter or no filter to retrieve all the information in the search results.

Request Parameters

Parameter Type Required Description
sort Array No By default, search results are sorted in descending order with respect to their ids. An alternative sorting is specified using the sort query parameter.

Enter the field by which you want to sort along with the direction asc (ascending) or desc (descending).

filter Object No Filters the result.
fields Array No Filter the result based on the fields.
page Object No The page object allows you to get the desired pages.

For more information on Filtering, Pagination, and Sorting, see API 请求正文中的筛选器.

Response

200 OK

For more information on the return codes, see API 响应代码.

{
   "page":{
      "offset":0,
      "total":820,
      "totalFilter":1
   },
   "list":[
      {
         "id":"fe299c90-9ce0-4838-afb3-72445b2735b2_9b0c638c47251ef4",
         "automationName":"REST-Web-Service.2022.05.26.23.52.57.AA_user",
         "fileName":"REST-Web-Service",
         "filePath":"",
         "type":"RUN_NOW",
         "startDateTime":"2022-05-26T23:52:58.724951900Z",
         "endDateTime":"2022-05-26T23:54:51.928431Z",
         "command":"messageBox",
         "status":"COMPLETED",
         "progress":100,
         "automationId":"",
         "userId":"21",
         "deviceId":"1",
         "currentLine":2,
         "totalLines":2,
         "fileId":"121",
         "modifiedBy":"21",
         "createdBy":"21",
         "modifiedOn":"2022-05-26T23:54:54.031638Z",
         "createdOn":"2022-05-26T23:52:57.811649Z",
         "deploymentId":"6ac7ff1d-9bbb-4c59-875c-3981a6eabd7c",
         "queueName":"",
         "queueId":"",
         "usingRdp":false,
         "message":"",
         "canManage":true,
         "deviceName":"AAUS3414D0D7",
         "userName":"AA_user",
         "botOutVariables":{
            "values":{
               "Output":{
                  "type":"DICTIONARY",
                  "expression":"",
                  "string":"",
                  "number":"",
                  "boolean":"",
                  "repository":"",
                  "variableName":"",
                  "packageId":"",
                  "packageName":"",
                  "iteratorId":"",
                  "iteratorName":"",
                  "conditionalId":"",
                  "conditionalName":"",
                  "list":[
                     
                  ],
                  "dictionary":[
                     {
                        "key":"Response",
                        "value":{
                           "type":"STRING",
                           "expression":"",
                           "string":"HTTP/ 200 OK",
                           "number":"",
                           "boolean":"",
                           "repository":"",
                           "variableName":"",
                           "packageId":"",
                           "packageName":"",
                           "iteratorId":"",
                           "iteratorName":"",
                           "conditionalId":"",
                           "conditionalName":"",
                           "list":[
                              
                           ],
                           "dictionary":[
                              
                           ],
                           "exceptionName":"",
                           "thumbnailMetadataPath":"",
                           "screenshotMetadataPath":"",
                           "properties":[
                              
                           ],
                           "triggerName":"",
                           "formElementId":"",
                           "formElementType":"",
                           "formInstanceId":"",
                           "queueName":"",
                           "taskbotSelf":false,
                           "variableMapFilter":[
                              
                           ],
                           "sessionTarget":"NONE",
                           "securelyRecorded":false
                        }
                     },
                     {
                        "key":"Date",
                        "value":{
                           "type":"STRING",
                           "expression":"",
                           "string":"Thu, 26 May 2022 23:53:01 GMT",
                           "number":"",
                           "boolean":"",
                           "repository":"",
                           "variableName":"",
                           "packageId":"",
                           "packageName":"",
                           "iteratorId":"",
                           "iteratorName":"",
                           "conditionalId":"",
                           "conditionalName":"",
                           "list":[
                              
                           ],
                           "dictionary":[
                              
                           ],
                           "exceptionName":"",
                           "thumbnailMetadataPath":"",
                           "screenshotMetadataPath":"",
                           "properties":[
                              
                           ],
                           "triggerName":"",
                           "formElementId":"",
                           "formElementType":"",
                           "formInstanceId":"",
                           "queueName":"",
                           "taskbotSelf":false,
                           "variableMapFilter":[
                              
                           ],
                           "sessionTarget":"NONE",
                           "securelyRecorded":false
                        }
                     },
                     {
                        "key":"Access-Control-Allow-Methods",
                        "value":{
                           "type":"STRING",
                           "expression":"",
                           "string":"GET, POST, DELETE, PUT",
                           "number":"",
                           "boolean":"",
                           "repository":"",
                           "variableName":"",
                           "packageId":"",
                           "packageName":"",
                           "iteratorId":"",
                           "iteratorName":"",
                           "conditionalId":"",
                           "conditionalName":"",
                           "list":[
                              
                           ],
                           "dictionary":[
                              
                           ],
                           "exceptionName":"",
                           "thumbnailMetadataPath":"",
                           "screenshotMetadataPath":"",
                           "properties":[
                              
                           ],
                           "triggerName":"",
                           "formElementId":"",
                           "formElementType":"",
                           "formInstanceId":"",
                           "queueName":"",
                           "taskbotSelf":false,
                           "variableMapFilter":[
                              
                           ],
                           "sessionTarget":"NONE",
                           "securelyRecorded":false
                        }
                     },
                     {
                        "key":"Access-Control-Allow-Headers",
                        "value":{
                           "type":"STRING",
                           "expression":"",
                           "string":"Content-Type, api_key, Authorization",
                           "number":"",
                           "boolean":"",
                           "repository":"",
                           "variableName":"",
                           "packageId":"",
                           "packageName":"",
                           "iteratorId":"",
                           "iteratorName":"",
                           "conditionalId":"",
                           "conditionalName":"",
                           "list":[
                              
                           ],
                           "dictionary":[
                              
                           ],
                           "exceptionName":"",
                           "thumbnailMetadataPath":"",
                           "screenshotMetadataPath":"",
                           "properties":[
                              
                           ],
                           "triggerName":"",
                           "formElementId":"",
                           "formElementType":"",
                           "formInstanceId":"",
                           "queueName":"",
                           "taskbotSelf":false,
                           "variableMapFilter":[
                              
                           ],
                           "sessionTarget":"NONE",
                           "securelyRecorded":false
                        }
                     },
                     {
                        "key":"Body",
                        "value":{
                           "type":"STRING",
                           "expression":"",
                           "string":"{\"id\":9223372036854024377,\"petId\":0,\"quantity\":0,\"shipDate\":\"2022-04-20T22:08:11.977+0000\",\"status\":\"placed\",\"complete\":true}",
                           "number":"",
                           "boolean":"",
                           "repository":"",
                           "variableName":"",
                           "packageId":"",
                           "packageName":"",
                           "iteratorId":"",
                           "iteratorName":"",
                           "conditionalId":"",
                           "conditionalName":"",
                           "list":[
                              
                           ],
                           "dictionary":[
                              
                           ],
                           "exceptionName":"",
                           "thumbnailMetadataPath":"",
                           "screenshotMetadataPath":"",
                           "properties":[
                              
                           ],
                           "triggerName":"",
                           "formElementId":"",
                           "formElementType":"",
                           "formInstanceId":"",
                           "queueName":"",
                           "taskbotSelf":false,
                           "variableMapFilter":[
                              
                           ],
                           "sessionTarget":"NONE",
                           "securelyRecorded":false
                        }
                     }
                  ],
                  "exceptionName":"",
                  "thumbnailMetadataPath":"",
                  "screenshotMetadataPath":"",
                  "properties":[
                     
                  ],
                  "triggerName":"",
                  "formElementId":"",
                  "formElementType":"",
                  "formInstanceId":"",
                  "queueName":"",
                  "taskbotSelf":false,
                  "variableMapFilter":[
                     
                  ],
                  "sessionTarget":"NONE",
                  "securelyRecorded":false
               }
            }
         },
         "tenantUuid":"06e42523-b44a-49f4-82dc-b8d420896761",
         "automationPriority":"PRIORITY_MEDIUM",
         "callbackInfo":"",
         "runElevated":false,
         "botLabel":"",
         "currentBotName":"REST-Web-Service"
      }
   ]