Endpoint
/api/v2/tenants/{tenantId}/rba/scripts/{scriptId}/paginatedOutputs
Path Parameters
tenantId
string

Describes the client ID or msp ID of the tenant

scriptId
string

Given script id

Responses

OK

descendingOrder
boolean

nextPage
boolean

orderBy
string

pageNo
integer

pageSize
integer

previousPageNo
integer

results
array

results.output
results.owner
results.responseDate
results.task
results.type
totalPages
integer

totalResults
integer

{
  "descendingOrder": true,
  "nextPage": false,
  "orderBy": "res.response_time",
  "pageNo": 1,
  "pageSize": 100,
  "previousPageNo": 0,
  "results": [
    {
      "device": {
        "clientUniqueId": "client_69828",
        "generalInfo": {
          "hostName": "luminalto-qa45k.luml.com",
          "ipAddresses": "172.22.221.41",
          "osName": "Ubuntu 12.04.5 LTS"
        },
        "id": "3b05e1ff-9eac-476d-8d45-06c8e1f5299f",
        "type": "DEVICE"
      },
      "output": "Agent Offline",
      "owner": {
        "email": "john.smith@domain.com",
        "firstName": "Super",
        "lastName": "Admin",
        "loginName": "superadmin",
        "phoneNumber": ""
      },
      "responseDate": "2017-04-02T05:35:10+0000",
      "task": {
        "id": 8,
        "name": "Host Namme"
      },
      "type": "ONDEMAND"
    },
    {
      "device": {
        "clientUniqueId": "client_69828",
        "generalInfo": {
          "hostName": "qa-win2k8ssta.testbed.qa.com",
          "ipAddresses": "172.22.221.37",
          "osName": "Microsoft Windows 7 Professional Service Pack 1, 32-bit",
          "osbuildNumber": 0
        },
        "id": "DEV0000015681",
        "type": "DEVICE"
      },
      "output": "Agent Offline",
      "owner": {
        "email": "john.smith@domain.com",
        "firstName": "Super",
        "lastName": "Admin",
        "loginName": "superadmin",
        "phoneNumber": ""
      },
      "responseDate": "2017-04-02T05:35:10+0000",
      "task": {
        "id": 8,
        "name": "Host Namme"
      },
      "type": "ONDEMAND"
    },
    {
      "device": {
        "clientUniqueId": "client_69828",
        "generalInfo": {
          "buildNumber": 0,
          "hostName": "hydpc007.luminalto.com",
          "ipAddresses": "172.22.221.107"
        },
        "id": "DEV0000015679",
        "type": "DEVICE"
      },
      "output": "",
      "owner": {
        "email": "john.smith@domain.com",
        "firstName": "Super",
        "id": "USR0000000001",
        "lastName": "Admin",
        "loginName": "superadmin",
        "phoneNumber": ""
      },
      "responseDate": "2017-04-02T05:35:10+0000",
      "type": "ONDEMAND"
    }
  ],
  "totalPages": 1,
  "totalResults": 2
}