Data - Retrieve Alert Type Properties

Retrieves alert type properties like rule or monitor information of the alert.

GET http://<Servername>/OperationsManager/data/alertTypeProperties/{alertId}

URI Parameters

Name In Required Type Description
alertId
path True

string

Alert ID for which the type information is to be fetched.

Responses

Name Type Description
200 OK

AlertTypePropertyResponse

OK. Successfully retrieved alert type properties.

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

Examples

RetrieveAlertTypeProperties

Sample Request

GET http://<Servername>/OperationsManager/data/alertTypeProperties/667736a8-d59a-407b-b142-80fd74ba4041

Sample Response

{
  "title": "Rule Properties",
  "data": {
    "tableColumns": [
      {
        "field": "name",
        "header": "Name",
        "type": null,
        "hidden": false
      },
      {
        "field": "value",
        "header": "Value",
        "type": null,
        "hidden": false
      }
    ],
    "rows": [
      {
        "name": "Display name",
        "value": "{\"text\":\"All Management Servers Resource Pool Unavailable\",\"drilldowntype\":\"rule\",\"id\":\"86006a18-5f04-2002-a8a3-9cd37ab016e9\"}"
      },
      {
        "name": "Description",
        "value": "This rule generates alerts when the All Management Servers Resource Pool is not available."
      },
      {
        "name": "Comment",
        "value": null
      },
      {
        "name": "Enabled",
        "value": "true"
      },
      {
        "name": "Identifier",
        "value": "1|Microsoft.SystemCenter.2007/9396306c2be7fcc4|1.0.0.0|Microsoft.SystemCenter.SDKService.PrincipleManagementServerDown.Alert||"
      },
      {
        "name": "Category",
        "value": "Alert"
      },
      {
        "name": "Xml Tag",
        "value": "Rule"
      },
      {
        "name": "Target name",
        "value": "{\"text\":\"Management Server\",\"drilldowntype\":\"class\",\"id\":\"83c21025-550e-695b-c1e0-d3e247b74205\"}"
      }
    ]
  }
}

Definitions

Name Description
AlertTypePropertyResponse
TableColumn
TableDataResponse

AlertTypePropertyResponse

Name Type Description
data

TableDataResponse

Alert Data

title

string

Alert Title

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