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

Query Parameters
pageNo
integer

pageSize
integer

queryString
string

Responses

OK

descendingOrder
boolean

nextPage
boolean

pageNo
integer

pageSize
integer

results
array

results.agentInstalled
results.aliasName
results.appRoles
results.assetManagedTime
results.attributes
results.bios
results.classCode
results.client
results.clientId
results.clientUniqueId
results.components
results.consoles
results.cpus
results.createdDate
results.deleted
results.description
results.devicePath
results.deviceType
results.dns
results.extResourceId
results.firstAssetManagedTime
results.gatewayProfileId
results.generalInfo
results.history
results.hostName
results.id
results.installedApp
results.ipAddress
results.location
results.locationOffset
results.logicalDisks
results.macAddress
results.make
results.managementProfile
results.metricTypes
results.model
results.name
results.networkCards
results.osArchitecture
results.osName
results.physicalDisks
results.properties
results.resourceName
results.resourceType
results.serialNumber
results.source
results.state
results.status
results.systemUID
results.tags
results.totalLocations
results.ts
results.type
results.updatedDate
results.videoCards
results.wsusSettings
totalPages
integer

totalResults
integer

{
  "descendingOrder": false,
  "nextPage": false,
  "pageNo": 1,
  "pageSize": 100,
  "results": [
    {
      "agentInstalled": true,
      "aliasName": "HYDLPT117@OpsRamp",
      "attributes": {
        "ami": "ami-84562dec",
        "instanceId": "i-373dcec7",
        "instanceState": "running",
        "instanceType": "t1.micro",
        "launchDate": "2015-11-03T21:14:28+0000",
        "monitoringState": "disabled",
        "owner": "23422135901",
        "privateDns": "ip-10-33-136-158.ec2.internal",
        "privateIp": "12.32.345.132",
        "provider": "AWS",
        "publicIp": "54.211.85.6",
        "zone": "us-east-1e"
      },
      "description": "BIOS Date: 09/12/17 00:52:26 Ver: 1.6.4.00 ",
      "devicePath": "Server \u003e\u003e Linux",
      "deviceType": "Linux",
      "dns": "opsrampdev",
      "history": {
        "decommissionReason": "Sample decommission reason"
      },
      "hostName": "SJLPT1122",
      "id": "740e2b6d-77ae-46d0-85ca-414e41607b15",
      "ipAddress": "161.43.12.54",
      "macAddress": "0A:00:27:00:00:02",
      "make": "innotek GmbH",
      "managementProfile": {
        "id": 7,
        "name": "vg-ubuntu16",
        "type": "Gateway"
      },
      "model": "VirtualBox",
      "name": "SJLPT117",
      "osArchitecture": "64",
      "osName": "Ubuntu 16.04.4 LTS",
      "resiurceType": "Linux",
      "resourceName": "SJLPT117",
      "serialNumber": "7GH9NH2",
      "state": "Decommissioned",
      "systemUID": "5G6H6874-1246-4H60-9012-D4C04F4E4123",
      "tags": [
        {
          "name": "vmtesttag",
          "value": "tagvalue"
        }
      ],
      "type": "DEVICE",
      "updatedDate": "2018-08-02T10:24:16+0000"
    },
    {
      "agentInstalled": false,
      "dns": "Sample DNS",
      "history": {
        "decommissionReason": "Replacement of the server"
      },
      "hostName": "Windows-SJ",
      "id": "d0d2c5f0-22e0-4a02-be73-135e696ca4f9",
      "ipAddress": "123.11.32.34",
      "managementProfile": {
        "id": 7,
        "name": "vg-ubuntu16",
        "type": "Gateway"
      },
      "serialNumber": "HYD102394574",
      "state": "Decommissioned",
      "type": "DEVICE",
      "updatedDate": "2018-07-27T09:48:48+0000"
    },
    {
      "agentInstalled": false,
      "attributes": {
        "instanceId": "/subscriptions/9ee6993f-a036-4118-9eab-c66d9fda1ef3/resourceGroups/TEST/providers/Microsoft.Compute/virtualMachines/globalasset1"
      },
      "history": {
        "decommissionReason": "Expiry of the Instance"
      },
      "hostName": "globalasset1",
      "id": "fd6b542f-e35c-4d34-8068-47e4f2e92391",
      "ipAddress": "132.23.1.2",
      "state": "Decommissioned",
      "systemUID": "6709ADA4-2345-C148-DCDE-4236F5C6DE12",
      "type": "DEVICE",
      "updatedDate": "2018-07-27T09:36:48+0000"
    },
    {
      "agentInstalled": false,
      "history": {
        "decommissionReason": "Sample decommission reason"
      },
      "hostName": "TestLinuxVM",
      "id": "fbb6c1df-b85e-4016-bcac-93487b6129f4",
      "ipAddress": "10.0.0.4",
      "state": "Decommissioned",
      "systemUID": "223C543D-0CD7-2A56-2345-3DCDD332901D",
      "tags": [
        {
          "name": "vmtesttag",
          "value": "tagvalue"
        }
      ],
      "type": "DEVICE",
      "updatedDate": "2018-07-26T12:46:42+0000"
    },
    {
      "agentInstalled": false,
      "hostName": "Linux-SJ",
      "id": "f22d5518-d380-4edf-a6f4-1fb52af83151",
      "ipAddress": "12.321.43.125",
      "state": "Decommissioned",
      "tags": [
        {
          "name": "Device Location",
          "value": "SJ"
        }
      ],
      "type": "DEVICE",
      "updatedDate": "2018-07-21T11:03:47+0000"
    }
  ],
  "totalPages": 1,
  "totalResults": 5
}