Get Alerts Using GET
Example: GET /api/alerts?id={id1}&id={id2}&resourceId={resId1}&resourceId={resId2}
Request
URI
GET
https://{api_host}/api/alerts
COPY
Query Parameters
string of array
id
Optional
Identifiers of the Alerts
integer
page
Optional
Page number from which data needs to be displayed (0-based)
integer
pageSize
Optional
Expected number of entries per page
string of array
resourceId
Optional
Identifiers of the Resources whose Alerts you need to be looked up
Responses
200
Alerts matching the specified identifiers. Can be empty
Returns alerts of type(s) application/json
{
"alerts": [
{
"alertDefinitionId": "string",
"alertDefinitionName": "string",
"alertId": "string",
"alertImpact": "string",
"alertLevel": "string",
"cancelTimeUTC": 0,
"controlState": "string",
"extension": {
"anyObjects": [
{}
]
},
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "string"
}
],
"ownerId": "string",
"ownerName": "string",
"resourceId": "string",
"startTimeUTC": 0,
"statKey": "string",
"status": "string",
"subType": "string",
"suspendUntilTimeUTC": 0,
"type": "string",
"updateTimeUTC": 0
}
],
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "string"
}
],
"pageInfo": {
"page": 0,
"pageSize": 0,
"sortBy": "string",
"sortOrder": "string",
"totalCount": 0
}
}
500
Error occurred while retrieving the Alerts with the specified identifiers
Operation doesn't return any data structure
Alerts Operations
POST
Add Alert Note Using POST
POST
Create Alert Definition Using POST
DELETE
Delete Alert Definition Using DELETE
DELETE
Delete Alert Note Using DELETE
DELETE
Delete Canceled Alerts Using DELETE
PUT
Disable Alert Definition In Policies Using PUT
PUT
Enable Alert Definition In Policies Using PUT
GET
Get Alert Contributing Symptoms Using GET
GET
Get Alert Definition By Id Using GET
GET
Get Alert Definitions Using GET
GET
Get Alert Notes Using GET
GET
Get Alert Note Using GET
GET
Get Alerts Using GET
GET
Get Alert Types Using GET
GET
Get Alert Using GET
POST
Modify Alerts Using POST
POST
Query Alert Groups Using POST
POST
Query Alert Notes Using POST
POST
Query Alert Using POST
PUT
Update Alert Definition Using PUT