Get Alert Types Using GET

Get Alert Types Using GET


Examples:
GET /api/alerts/types returns the Problem Alerts specific Alert Types & Subtypes
GET /api/alerts/types?ignoreLegacy=false returns all the Alert Types & Subtypes

Request
URI
GET
https://{api_host}/api/alerts/types
COPY
Query Parameters
boolean
ignoreLegacy
Optional

Setting to true will filter out the legacy Alert Types & Subtypes Defaults to true


Authentication
This operation uses the following authentication methods.
Responses
200

All the Alert Types and the associated Subtypes

Returns alert-types of type(s) application/json
{
    "alertTypes": [
        {
            "description": "string",
            "extension": {
                "anyObjects": [
                    {}
                ]
            },
            "id": 0,
            "links": [
                {
                    "description": "string",
                    "href": "string",
                    "name": "string",
                    "rel": "string"
                }
            ],
            "name": "string",
            "subTypes": [
                {
                    "description": "string",
                    "extension": {
                        "anyObjects": [
                            {}
                        ]
                    },
                    "id": 0,
                    "links": [
                        {
                            "description": "string",
                            "href": "string",
                            "name": "string",
                            "rel": "string"
                        }
                    ],
                    "name": "string"
                }
            ]
        }
    ]
}
array of alert-type
alertTypes
Optional

List of alert types


500

Error occurred while retrieving the Alert Types & Subtypes

Operation doesn't return any data structure