Delen via


Data - Retrieve Class Information

Hiermee worden de klasse-eigenschappen voor de opgegeven klasse-id opgehaald.

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

URI-parameters

Name In Vereist Type Description
classId
path True

string

De id van de klasse die moet worden opgehaald.

Antwoorden

Name Type Description
200 OK

TableDataResponse

OK. Klassegegevens zijn opgehaald

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

Voorbeelden

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\"}"
    }
  ]
}

Definities

Name Description
TableColumn
TableDataResponse

TableColumn

Name Type Description
field

string

Naam van de kolom

header

string

Koptekst van de kolom

hidden

boolean

Is de kolom verborgen

type

string

Type van de kolom

TableDataResponse

Name Type Description
rows

object[]

Tabelrijen met gegevens

tableColumns

TableColumn[]

Tabelkolommen met gegevens