Endpoint
/api/v2/tenants/{tenantId}/patches/{jobId}/scan/status
Path Parameters
tenantId
string

Describes the clientId of the tenant

jobId
string

Unique Identifier (UUID) of patch config job.

Query Parameters
pageNo
integer

pageSize
integer

isDescendingOrder
boolean

sortName
string

queryString
string

Responses

OK

descendingOrder
boolean

nextPage
boolean

orderBy
string

pageNo
integer

pageSize
integer

previousPageNo
integer

results
array

results.device
results.scanStatus
totalPages
integer

totalResults
integer

{
  "descendingOrder": true,
  "nextPage": false,
  "orderBy": "name",
  "pageNo": 1,
  "pageSize": 100,
  "previousPageNo": 0,
  "results": [
    {
      "device": {
        "clientUniqueId": "client_16",
        "generalInfo": {
          "aliasName": "",
          "hostName": "opsrampdev",
          "ipAddresses": "10.0.4.15",
          "osName": "Ubuntu 14.04.5 LTS",
          "resourceName": "",
          "resourceType": "Linux"
        },
        "id": "2ca44d27-888e-4ddb-a5ee-89eb962798fe",
        "type": "DEVICE"
      },
      "scanStatus": {
        "lastPatchScanDate": "2019-06-23T11:14:43+0000",
        "lastPatchScanStatus": "success",
        "missingPatchesAfterScan": 134,
        "missingPatchesBeforeScan": 134,
        "noOfMissingPatchesFoundInLastScan": 0
      }
    },
    {
      "device": {
        "clientUniqueId": "client_16",
        "generalInfo": {
          "aliasName": "admin-pc",
          "hostName": "ADMIN-PC",
          "ipAddresses": "10.0.3.15",
          "osBuildNumber": "7601",
          "osName": "Microsoft Windows 7 Professional Service Pack 1, 32-bit",
          "resourceName": "",
          "resourceType": "Work Station"
        },
        "id": "2771a95d-496a-4c0b-a4f4-1cf1b7f94045",
        "type": "DEVICE"
      },
      "scanStatus": {
        "lastPatchScanDate": "2019-06-23T11:42:56+0000",
        "lastPatchScanStatus": "success",
        "missingPatchesAfterScan": 0,
        "missingPatchesBeforeScan": 0,
        "noOfMissingPatchesFoundInLastScan": 0
      }
    }
  ],
  "totalPages": 1,
  "totalResults": 2
}
{
  "descendingOrder": true,
  "nextPage": false,
  "orderBy": "name",
  "pageNo": 1,
  "pageSize": 100,
  "previousPageNo": 0,
  "results": [
    {
      "device": {
        "clientUniqueId": "client_16",
        "generalInfo": {
          "aliasName": "admin-pc",
          "hostName": "ADMIN-PC",
          "ipAddresses": "10.0.3.15",
          "osBuildNumber": "7601",
          "osName": "Microsoft Windows 7 Professional Service Pack 1, 32-bit",
          "resourceName": "",
          "resourceType": "Work Station"
        },
        "id": "2771a95d-496a-4c0b-a4f4-1cf1b7f94045",
        "type": "DEVICE"
      },
      "scanStatus": {
        "lastPatchScanDate": "2019-06-23T11:42:56+0000",
        "lastPatchScanStatus": "success",
        "missingPatchesAfterScan": 0,
        "missingPatchesBeforeScan": 0,
        "noOfMissingPatchesFoundInLastScan": 0
      }
    }
  ],
  "totalPages": 1,
  "totalResults": 1
}
{
  "descendingOrder": true,
  "nextPage": false,
  "orderBy": "name",
  "pageNo": 1,
  "pageSize": 100,
  "previousPageNo": 0,
  "results": [
    {
      "device": {
        "clientUniqueId": "client_16",
        "generalInfo": {
          "aliasName": "admin-pc",
          "hostName": "ADMIN-PC",
          "ipAddresses": "10.0.3.15",
          "osBuildNumber": "7601",
          "osName": "Microsoft Windows 7 Professional Service Pack 1, 32-bit",
          "resourceName": "",
          "resourceType": "Work Station"
        },
        "id": "2771a95d-496a-4c0b-a4f4-1cf1b7f94045",
        "type": "DEVICE"
      },
      "scanStatus": {
        "lastPatchScanDate": "2019-06-23T11:42:56+0000",
        "lastPatchScanStatus": "success",
        "missingPatchesAfterScan": 0,
        "missingPatchesBeforeScan": 0,
        "noOfMissingPatchesFoundInLastScan": 0
      }
    }
  ],
  "totalPages": 1,
  "totalResults": 1
}
{
  "descendingOrder": true,
  "nextPage": false,
  "orderBy": "name",
  "pageNo": 1,
  "pageSize": 100,
  "previousPageNo": 0,
  "results": [
    {
      "device": {
        "clientUniqueId": "client_16",
        "generalInfo": {
          "aliasName": "admin-pc",
          "hostName": "ADMIN-PC",
          "ipAddresses": "10.0.3.15",
          "osBuildNumber": "7601",
          "osName": "Microsoft Windows 7 Professional Service Pack 1, 32-bit",
          "resourceName": "",
          "resourceType": "Work Station"
        },
        "id": "2771a95d-496a-4c0b-a4f4-1cf1b7f94045",
        "type": "DEVICE"
      },
      "scanStatus": {
        "lastPatchScanDate": "2019-06-23T11:42:56+0000",
        "lastPatchScanStatus": "success",
        "missingPatchesAfterScan": 0,
        "missingPatchesBeforeScan": 0,
        "noOfMissingPatchesFoundInLastScan": 0
      }
    }
  ],
  "totalPages": 1,
  "totalResults": 1
}
{
  "descendingOrder": false,
  "nextPage": true,
  "nextPageNo": 2,
  "orderBy": "ipAddress",
  "pageNo": 1,
  "pageSize": 1,
  "previousPageNo": 0,
  "results": [
    {
      "device": {
        "clientUniqueId": "client_16",
        "generalInfo": {
          "aliasName": "admin-pc",
          "hostName": "ADMIN-PC",
          "ipAddresses": "10.0.3.15",
          "osBuildNumber": "7601",
          "osName": "Microsoft Windows 7 Professional Service Pack 1, 32-bit",
          "resourceName": "",
          "resourceType": "Work Station"
        },
        "id": "2771a95d-496a-4c0b-a4f4-1cf1b7f94045",
        "type": "DEVICE"
      },
      "scanStatus": {
        "lastPatchScanDate": "2019-06-23T11:42:56+0000",
        "lastPatchScanStatus": "success",
        "missingPatchesAfterScan": 0,
        "missingPatchesBeforeScan": 0,
        "noOfMissingPatchesFoundInLastScan": 0
      }
    }
  ],
  "totalPages": 2,
  "totalResults": 2
}
{
  "descendingOrder": true,
  "nextPage": false,
  "orderBy": "name",
  "pageNo": 1,
  "pageSize": 100,
  "previousPageNo": 0,
  "results": [
    {
      "device": {
        "clientUniqueId": "client_16",
        "generalInfo": {
          "aliasName": "",
          "hostName": "opsrampdev",
          "ipAddresses": "10.0.4.15",
          "osName": "Ubuntu 14.04.5 LTS",
          "resourceName": "",
          "resourceType": "Linux"
        },
        "id": "2ca44d27-888e-4ddb-a5ee-89eb962798fe",
        "type": "DEVICE"
      },
      "scanStatus": {
        "lastPatchScanDate": "2019-06-23T11:14:43+0000",
        "lastPatchScanStatus": "success",
        "missingPatchesAfterScan": 134,
        "missingPatchesBeforeScan": 134,
        "noOfMissingPatchesFoundInLastScan": 0
      }
    }
  ],
  "totalPages": 1,
  "totalResults": 1
}
{
  "descendingOrder": true,
  "nextPage": false,
  "orderBy": "name",
  "pageNo": 1,
  "pageSize": 100,
  "previousPageNo": 0,
  "results": [
    {
      "device": {
        "clientUniqueId": "client_16",
        "generalInfo": {
          "aliasName": "admin-pc",
          "hostName": "ADMIN-PC",
          "ipAddresses": "10.0.3.15",
          "osBuildNumber": "7601",
          "osName": "Microsoft Windows 7 Professional Service Pack 1, 32-bit",
          "resourceName": "",
          "resourceType": "Work Station"
        },
        "id": "2771a95d-496a-4c0b-a4f4-1cf1b7f94045",
        "type": "DEVICE"
      },
      "scanStatus": {
        "lastPatchScanDate": "2019-06-23T11:42:56+0000",
        "lastPatchScanStatus": "success",
        "missingPatchesAfterScan": 0,
        "missingPatchesBeforeScan": 0,
        "noOfMissingPatchesFoundInLastScan": 0
      }
    }
  ],
  "totalPages": 1,
  "totalResults": 1
}
{
  "descendingOrder": true,
  "nextPage": false,
  "orderBy": "name",
  "pageNo": 1,
  "pageSize": 100,
  "previousPageNo": 0,
  "results": [
    {
      "device": {
        "clientUniqueId": "client_16",
        "generalInfo": {
          "aliasName": "",
          "hostName": "opsrampdev",
          "ipAddresses": "10.0.4.15",
          "osName": "Ubuntu 14.04.5 LTS",
          "resourceName": "",
          "resourceType": "Linux"
        },
        "id": "2ca44d27-888e-4ddb-a5ee-89eb962798fe",
        "type": "DEVICE"
      },
      "scanStatus": {
        "lastPatchScanDate": "2019-06-23T11:14:43+0000",
        "lastPatchScanStatus": "success",
        "missingPatchesAfterScan": 134,
        "missingPatchesBeforeScan": 134,
        "noOfMissingPatchesFoundInLastScan": 0
      }
    }
  ],
  "totalPages": 1,
  "totalResults": 1
}