Data - Retrieve Alert Count By ID

Retrieves the number of alerts associated with the specified entity ID.

GET http://<Servername>/OperationsManager/data/alertCount/{entityId}

URI Parameters

Name In Required Type Description
entityId
path True

string

Specify the Entity ID.

Responses

Name Type Description
200 OK

integer

OK.Successfully retrieved alert count.

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

Examples

RetrieveAlertCountById

Sample Request

GET http://<Servername>/OperationsManager/data/alertCount/6B1D1BE8-EBB4-B425-08DC-2385C5930B04

Sample Response

[
  "2"
]