Data - Retrieve Class Information

Retrieves the class properties for the specified class ID.

GET http://<Servername>/OperationsManager/data/classInformation/{classId}

URI Parameters

Name In Required Type Description
classId
path True

string

The id of the class to be fetched.

Responses

Name Type Description
200 OK

TableDataResponse

OK.Successfully retrieved Class Information

Media Types: "application/json", "text/json", "application/xml", "text/xml"

Examples

RetrieveClassInformation

Sample Request

GET http://<Servername>/OperationsManager/data/classInformation/D0567149-A88D-D0F0-1704-44D80AFF5AC7

Sample Response

{
  "tableColumns": [
    {
      "field": "name",
      "header": "Name",
      "type": null,
      "hidden": false
    },
    {
      "field": "value",
      "header": "Value",
      "type": null,
      "hidden": false
    }
  ],
  "rows": [
    {
      "name": "Display Name",
      "value": "{\"text\":\"All MomSdkTest Entities Group\",\"drilldowntype\":\"class\",\"id\":\"d0567149-a88d-d0f0-1704-44d80aff5ac7\"}"
    },
    {
      "name": "Description",
      "value": null
    },
    {
      "name": "Comment",
      "value": null
    },
    {
      "name": "Hosted",
      "value": "False"
    },
    {
      "name": "Status",
      "value": "Unchanged"
    },
    {
      "name": "Time added",
      "value": "5/16/2022 8:38:00 PM"
    },
    {
      "name": "Base",
      "value": "{\"text\":\"Group\",\"drilldowntype\":\"class\",\"id\":\"769aa88d-b37f-0903-2ffc-3ca99b3ef975\"}"
    }
  ]
}

Definitions

Name Description
TableColumn
TableDataResponse

TableColumn

Name Type Description
field

string

Name of the Column

header

string

Header of the column

hidden

boolean

Is column hidden

type

string

Type of the Column

TableDataResponse

Name Type Description
rows

object[]

Table Rows of data

tableColumns

TableColumn[]

Table columns of data