Get Alert DefinitionsDetails
Select
SaaS
Customer Managed
Get details of alert definition
Path Parameters
- id int32 required
Query Parameters
- additionalProperties boolean
Responses
- 200
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- id int32
- name string
alertSummary object
- sendIndividualNotifications boolean
true if individual notifications are on for the alert definitions
- processDiscoveredVMs boolean
True if individual notifications for each discovered virtual machine are enabled for the alert definition
- subscriptionBasedAlert boolean
Flag to indicate whether its a subscription based alert.
associations object[]
alertTarget object
templates object
additionalProperties object
tokens object
customQueryDetails object
eventCriteriaDetails object
globalConfigInfo object
{
"id": 0,
"name": "string",
"alertSummary": {
"type": {
"id": 0,
"name": "Clients"
},
"category": {
"id": 0,
"name": "Configuration"
},
"criteria": {
"id": 0,
"name": "Backup Job Failed",
"paramsList": [
{
"unit": 0,
"type": 0,
"value": 0,
"paramIndex": 0
}
],
"notificationCriteria": {
"value": 1,
"delayTime": 0,
"persistTime": 0
}
},
"criteriaList": [
{
"id": 0,
"name": "Backup Job Failed",
"paramsList": [
{
"unit": 0,
"type": 0,
"value": 0,
"paramIndex": 0
}
],
"notificationCriteria": {
"value": 1,
"delayTime": 0,
"persistTime": 0
}
}
]
},
"sendIndividualNotifications": true,
"processDiscoveredVMs": true,
"subscriptionBasedAlert": true,
"associations": [
{
"id": 0,
"name": "string",
"type": "ALL_SERVERS",
"parentEntity1": {
"id": 0,
"name": "string",
"type": "SERVER_ENTITY"
},
"parentEntity2": {
"id": 0,
"name": "string",
"type": "SERVER_ENTITY"
},
"parentEntity3": {
"id": 0,
"name": "string",
"type": "SERVER_ENTITY"
},
"parentEntity4": {
"id": 0,
"name": "string",
"type": "SERVER_ENTITY"
},
"flags": {
"exclude": true
}
}
],
"alertTarget": {
"sendAlertTo": [
"LIVEFEEDS"
],
"recipientsOperationType": "ADD",
"recipients": {
"to": [
{
"id": 0,
"name": "string",
"type": "USER"
}
],
"cc": [
{
"id": 0,
"name": "string",
"type": "USER"
}
],
"bcc": [
{
"id": 0,
"name": "string",
"type": "USER"
}
],
"webHookId": 0
}
},
"templates": {
"locale": {
"id": 0,
"name": "string"
},
"email": "string",
"console": "string",
"eventViewer": "string",
"webhook": "string",
"workflow": {
"id": 0,
"name": "string",
"clientId": 0,
"clientName": "string"
},
"workflowInputDetails": "string"
},
"additionalProperties": {
"status": 0
},
"tokens": {
"match": "AND",
"ruleGroups": [
{
"match": "AND",
"rules": [
{
"tokenName": "SUBJECT END",
"value": "string",
"ruleSecValue": "string",
"matchCondition": "EQUALS",
"timeRange": {
"fromTime": "string",
"toTime": "string"
},
"dateRange": {
"fromDate": "string",
"toDate": "string",
"timeRange": [
{
"fromTime": "string",
"toTime": "string"
}
]
},
"tokenFormat": "NONE"
}
]
}
]
},
"customQueryDetails": {
"queryId": 0,
"additionalQueryInfo": {
"queryParameters": [
{
"paramName": "string",
"value": "string"
}
]
}
},
"eventCriteriaDetails": {
"opBetweenConditions": 0,
"criteriaName": "string",
"conditions": [
{
"name": "string",
"id": 0,
"operation": "EQUALS",
"value": "string",
"fromValue": "string",
"toValue": "string",
"advancedCriteria": [
"NONE"
],
"valuesList": [
0
]
}
]
},
"globalConfigInfo": {
"id": "string",
"name": "string",
"commcells": [
{
"id": 0,
"name": "string",
"guid": "string"
}
],
"scope": "string",
"scopeFilterQuery": "string",
"applyOnAllCommCells": true,
"isMarkedForDeletion": true,
"status": "string"
}
}
Internal Server Error
GET /v4/alertdefinitions/:id
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/AlertDefinitions/:id' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/AlertDefinitions/:id' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/AlertDefinitions/:id' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/AlertDefinitions/:id' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/AlertDefinitions/:id' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/AlertDefinitions/:id' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/V4/AlertDefinitions/:id' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'