Endpoint
/api/v2/tenants/{tenantId}/resources/patches
Path Parameters
tenantId
string

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.approvalStatus
results.approvedTime
results.installedApplicationId
results.installedResult
results.installedStatus
results.installedTime
results.patch
results.patchStatus
results.resource
results.scanTime
totalPages
integer

totalResults
integer

{
  "descendingOrder": true,
  "nextPage": false,
  "orderBy": "id",
  "pageNo": 1,
  "pageSize": 100,
  "previousPageNo": 0,
  "results": [
    {
      "approvalStatus": "APPROVED",
      "installedApplicationId": "OpsRamp Agent",
      "installedResult": "0x0",
      "installedStatus": "COMPLETED",
      "patch": {
        "category": "Critical Updates - Windows 7",
        "externalId": "10000",
        "id": "PATCH-6ca40150-56b1-12ca-2b15-22a6ea787790",
        "name": "Dummy Patch Name0",
        "rating": {
          "rating": "TESTING"
        },
        "rebootRequired": false,
        "releaseTime": "2019-05-29T08:53:22+0000",
        "type": "WINDOWS"
      },
      "patchStatus": "INSTALLED",
      "resource": {
        "aliasName": "alias name",
        "clientId": 0,
        "consoles": [],
        "days": 0,
        "deleted": false,
        "encrypted": false,
        "frequency": 0,
        "hostName": "",
        "id": "bae45962-981e-4611-bfef-b272c8d8aa87",
        "ipAddress": "172.31.26.40",
        "locationOffset": 0,
        "paused": false,
        "port": 0,
        "receiverHostPort": 0,
        "resourceName": "172.31.26.40",
        "resourceType": "Windows",
        "timeout": 0,
        "totalLocations": 0,
        "ts": 0,
        "type": "Windows",
        "validateSSL": false
      },
      "scanTime": "2019-10-29T08:56:11+0000"
    }
  ],
  "totalPages": 1,
  "totalResults": 1
}
{
  "descendingOrder": true,
  "nextPage": false,
  "orderBy": "id",
  "pageNo": 1,
  "pageSize": 100,
  "previousPageNo": 0,
  "results": [
    {
      "approvalStatus": "APPROVED",
      "installedApplicationId": "OpsRamp Agent",
      "installedResult": "0x0",
      "installedStatus": "COMPLETED",
      "patch": {
        "category": "Critical Updates - Windows 7",
        "externalId": "10000",
        "id": "PATCH-6ca40150-56b1-12ca-2b15-22a6ea787790",
        "name": "Dummy Patch Name0",
        "rating": {
          "rating": "TESTING"
        },
        "rebootRequired": false,
        "releaseTime": "2019-05-29T08:53:22+0000",
        "type": "WINDOWS"
      },
      "patchStatus": "INSTALLED",
      "resource": {
        "aliasName": "alias name",
        "clientId": 0,
        "consoles": [],
        "days": 0,
        "deleted": false,
        "encrypted": false,
        "frequency": 0,
        "hostName": "",
        "id": "bae45962-981e-4611-bfef-b272c8d8aa87",
        "ipAddress": "172.31.26.40",
        "locationOffset": 0,
        "paused": false,
        "port": 0,
        "receiverHostPort": 0,
        "resourceName": "172.31.26.40",
        "resourceType": "Windows",
        "timeout": 0,
        "totalLocations": 0,
        "ts": 0,
        "type": "Windows",
        "validateSSL": false
      },
      "scanTime": "2019-10-29T08:56:11+0000"
    }
  ],
  "totalPages": 1,
  "totalResults": 1
}