Bot Insight bot run data

Ensure that the GET request can retrieve bot data for a specific date or date range.

Request

GET http://{{localhost}}/v2/botinsight/data/api/getbotrundata/0/2019-02-05
Header: X-Authorization <<authentication token>>
All API calls must contain an authentication token in the request header. Generate a token with the Enterprise 11 Authentication API.

Response

{
  "totalRecords": 367,
  "botRunDataList": [
    {
      "id": 1,
      "userName": "b2",
      "firstName": "b2",
      "lastName": null,
      "email": "a@a.com",
      "clientType": null,
      "hostName": "abcdef.com",
      "iPAddress": "fe80::c9a4:eecb:aeb5:58a1%Ethernet",
      "applicationPath": "C:\\Users\\chandank.DRTEST\\Documents\\Automation Anywhere Files",
      "username_1": null,
      "fileName": "Analytics_ATM Reconciliation.atmx",
      "fileType": null,
      "startTime": "2019-02-05 00:35:30.0",
      "endTime": "2019-02-05 00:35:40.0",
      "status": "COMPLETED",
      "totalLines": "24",
      "timeTaken": "10",
      "successIndicator": "0"
    },
    {
      "id": 2,
      "userName": "b2",
      "firstName": "b2",
      "lastName": null,
      "email": "a@a.com",
      "clientType": null,
      "hostName": "QAVM01.drtest.com",
      "iPAddress": "fe80::c9a4:eecb:aeb5:58a1%Ethernet",
      "applicationPath": "C:\\Users\\chandank.DRTEST\\Documents\\Automation Anywhere Files",
      "username_1": null,
      "fileName": "Analytics_MortgageProcessing.atmx",
      "fileType": null,
      "startTime": "2019-02-05 00:44:55.0",
      "endTime": "2019-02-05 00:45:07.0",
      "status": "COMPLETED",
      "totalLines": "34",
      "timeTaken": "12",
      "successIndicator": "0"
    },
    {
      "id": 3,
      "userName": "b2",
      "firstName": "b2",
      "lastName": null,
      "email": "a@a.com",
      "clientType": null,
      "hostName": "abcdef.com",
      "iPAddress": "fe80::c9a4:eecb:aeb5:58a1%Ethernet",
      "applicationPath": "C:\\Users\\chandank.DRTEST\\Documents\\Automation Anywhere Files",
      "username_1": null,
      "fileName": "Analytics_ATM Reconciliation.atmx",
      "fileType": null,
      "startTime": "2019-02-05 01:17:02.0",
      "endTime": "2019-02-05 01:17:13.0",
      "status": "COMPLETED",
      "totalLines": "24",
      "timeTaken": "11",
      "successIndicator": "0"
    },
    {
      "id": 4,
      "userName": "b2",
      "firstName": "b2",
      "lastName": null,
      "email": "a@a.com",
      "clientType": null,
      "hostName": "abcdef.com",
      "iPAddress": "fe80::c9a4:eecb:aeb5:58a1%Ethernet",
      "applicationPath": "C:\\Users\\chandank.DRTEST\\Documents\\Automation Anywhere Files",
      "username_1": null,
      "fileName": "Analytics_MortgageProcessing.atmx",
      "fileType": null,
      "startTime": "2019-02-05 01:17:13.0",
      "endTime": "2019-02-05 01:17:26.0",
      "status": "COMPLETED",
      "totalLines": "34",
      "timeTaken": "13",
      "successIndicator": "0"
    },
    . . . 
  ]
}