Bot Insight audit trail data

Ensure that the GET request can retrieve all the Control Room audit trail data.

Request

GET http://{{localhost}}/v2/botinsight/data/api/getaudittraildata/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": 567,
"auditTrailDataList": [
{
"activityType": "DELETE_BOT",
"createdBy": "0",
"createdOn": "2019-02-05T23:34:33.000Z",
"detail": "[{\"newValue\":\"My Tasks > Sample Tasks >
Analytics_TelecomOrderEntry.atmx\",\"attribute\":\"Path\",\"oldValue\":null},{\"newValue\":\"
Bot\",\"attribute\":\"Object
type\",\"oldValue\":null},{\"newValue\":\"Taskbot\",\"attribute\":\"Bot
type\",\"oldValue\":null}]",
"environmentName": "",
"eventDescription": "",
"hostName": "50.225.245.66",
"id": "1bEDwGgBIjZXN_SOYNZJ",
"objectName": "Analytics_TelecomOrderEntry.atmx",
"requestId": "12f5a941-a77d-4950-b919-a91cd3ffc0b5",
"source": "Control Room",
"status": "Successful",
"userName": "DRTEST\\admin"
},
{
"activityType": "RUN_BOT_ENDED",
"createdBy": "0",
"createdOn": "2019-02-05T23:34:03.000Z",
"detail": "[{\"newValue\":\"Completed\",\"attribute\":\"Automation
status\",\"oldValue\":null},{\"newValue\":\"Task_05.19.02.05.15.32.15.admin\",\"attribute\":\"A
utomation name\",\"oldValue\":null},{\"newValue\":\"--\",\"attribute\":\"Automation
description\",\"oldValue\":null},{\"newValue\":\"Task_05.atmx\",\"attribute\":\"Bot\",\"oldValue
\":null},{\"newValue\":\"abcdef.com\",\"attribute\":\"Device\",\"oldValue\":null},{\"newValue\":
\"testrunneruser\",\"attribute\":\"Username\",\"oldValue\":null},{\"newValue\":\"2019-02-05
15:34:03 PST\",\"attribute\":\"Started
on\",\"oldValue\":null},{\"newValue\":\"5\",\"attribute\":\"Line
number\",\"oldValue\":null},{\"newValue\":\"One time\",\"attribute\":\"Schedule
Type\",\"oldValue\":null}]",
"environmentName": "",
"eventDescription": "",
"hostName": "abcdef.com",
"id": "1LECwGgBIjZXN_SO7dZi",
"objectName": "Task_05.19.02.05.15.32.15.admin",
"requestId": "a73eef1f-5aa9-4345-8ae8-e6f2e24ab41e",
"source": "Control Room",
"status": "Successful",
"userName": "System"
},
{
"activityType": "DEPLOYMENT_AUTOMATION",
"createdBy": "0",
"createdOn": "2019-02-05T23:34:00.000Z",
"detail": "[{\"newValue\":\"Task_05.19.02.05.15.32.15.admin\",\"attribute\":\"Automation
name\",\"oldValue\":null},{\"newValue\":\"Task_05.atmx\",\"attribute\":\"Bot\",\"oldValue\":nul
l},{\"newValue\":\"abcdef.com\",\"attribute\":\"Device\",\"oldValue\":null},{\"newValue\":\"test
runneruser\",\"attribute\":\"Username\",\"oldValue\":null},{\"newValue\":\"2019-02-05 15:34:00
PST\",\"attribute\":\"Started on\",\"oldValue\":null},{\"newValue\":\"One
time\",\"attribute\":\"Schedule Type\",\"oldValue\":null}]",
"environmentName": "",
"eventDescription": "",
"hostName": "abcdef.com",
"id": "Gf4CwGgBv9m2c9mi4XaL",
"objectName": "Task_05.19.02.05.15.32.15.admin",
"requestId": "8927dc37-67eb-4f8f-8e13-3a60c6070fd3",
"source": "Control Room",
"status": "Successful",
"userName": "System"
},
...........................
]
}