Alert custom rule details
Select
SaaS
Customer Managed
Get the details of the custom alert rule by Id
Path Parameters
- alertRuleId int32 required
Unique Id of the alert custom rule to get details
Responses
- 200
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
queryEntities object[]
{
"queryEntities": [
{
"isQueryModifyEnabled": true,
"visibility": 0,
"sqlQuery": "string",
"doesQuerySupportOutputFilter": true,
"frequency": 0,
"isOverwriteAssociationAtAlertAllowed": true,
"isSystemCreated": true,
"isPrimaryKeyPresent": true,
"isDisabled": true,
"queryDescription": "string",
"queryCriteriaName": "string",
"customAlertType": 0,
"creator": {
"userName": "string",
"userId": 0
},
"additionalQueryDetails": {
"querySeverity": "NONE",
"scriptDescription": {
"reportName": "string",
"description": "string",
"guid": "string"
}
},
"queryEntity": {
"queryId": 0,
"queryName": "string"
},
"queryOutputColumns": [
{
"isColumnFilterable": true,
"lmDataType": 0,
"isPrimaryKey": true,
"columnFriendlyName": "string",
"columnName": "string"
}
],
"securityAssociations": {
"associations": [
{}
]
}
}
]
}
Internal Server Error
GET /alert/customrule/:alertruleid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Alert/CustomRule/:alertRuleId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Alert/CustomRule/:alertRuleId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Alert/CustomRule/:alertRuleId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Alert/CustomRule/:alertRuleId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Alert/CustomRule/:alertRuleId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Alert/CustomRule/:alertRuleId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Alert/CustomRule/:alertRuleId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'