Get Patch Scan Status of All Devices of a Missing Job

Gets the patch scan status of all devices assigned to a missing patch job and display paginated output.

Path Parameters

  • tenantIdstringrequired

    Describes the clientId of the tenant

  • jobIdstringrequired

    Unique Identifier (UUID) of patch config job.

Query Parameters

  • pageNointeger

    Default: 1

  • pageSizeinteger

    Default: 100

  • isDescendingOrderboolean

  • sortNamestring

    Default: name

  • queryStringstring

Responses

  • resultsarray

  • totalResultsinteger

  • orderBystring

  • pageNointeger

  • pageSizeinteger

  • totalPagesinteger

  • nextPageboolean

  • previousPageNointeger

  • descendingOrderboolean

Response Samples

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