Get All Notification Rules Using GET

Get All Notification Rules Using GET

Get all the Notification Rules defined in the system

Request
URI
GET
https://{api_host}/suite-api/api/notifications/rules
COPY
Query Parameters
integer
page
Optional

Page number from which data needs to be displayed (0-based)

integer
pageSize
Optional

Expected number of entries per page


Authentication
This operation uses the following authentication methods.
Responses
200

All the Notification Rules defined in the system

Returns notification-rules of type(s) application/json
{
    "links": [
        {
            "description": "string",
            "href": "string",
            "name": "string",
            "rel": "string"
        }
    ],
    "pageInfo": {
        "page": 0,
        "pageSize": 0,
        "sortBy": "string",
        "sortOrder": "string",
        "totalCount": 0
    },
    "rules": [
        {
            "alertControlStates": [
                "string"
            ],
            "alertDefinitionIdFilters": {
                "values": [
                    "string"
                ]
            },
            "alertImpactFilters": {
                "values": [
                    "string"
                ]
            },
            "alertStatuses": [
                "string"
            ],
            "alertTypeFilters": [
                {
                    "alertSubTypes": [
                        0
                    ],
                    "alertType": 0
                }
            ],
            "collectorGroupId": "string",
            "collectorUUId": "string",
            "criticalities": [
                "string"
            ],
            "id": "string",
            "links": [
                {
                    "description": "string",
                    "href": "string",
                    "name": "string",
                    "rel": "string"
                }
            ],
            "name": "string",
            "pluginId": "string",
            "properties": [
                {
                    "name": "string",
                    "value": "string"
                }
            ],
            "resourceFilter": {
                "childrenResourceKindFilters": [
                    "string"
                ],
                "childrenResourceKindKeyFilters": [
                    {
                        "adapterKind": "string",
                        "resourceKind": "string"
                    }
                ],
                "matchResourceIdOnly": false,
                "relationship": "string",
                "resourceId": "string"
            },
            "resourceFilters": [
                {
                    "childrenResourceKindFilters": [
                        "string"
                    ],
                    "childrenResourceKindKeyFilters": [
                        {
                            "adapterKind": "string",
                            "resourceKind": "string"
                        }
                    ],
                    "matchResourceIdOnly": false,
                    "relationship": "string",
                    "resourceId": "string"
                }
            ],
            "resourceKindFilter": {
                "adapterKind": "string",
                "resourceKind": "string"
            },
            "resourceKindFilters": [
                {
                    "adapterKind": "string",
                    "resourceKind": "string"
                }
            ],
            "templateId": "string"
        }
    ]
}
array of link
links
Optional

Collection of links

pageInfo
Optional

pageInfo

rules
Optional

List of Notification Rules


500

There was an error while returning all the Notification Rules defined in the system

Operation doesn't return any data structure