Get Notification Summary

Get Notification Summary

This API provides summary of notification severity and their count.

Request
URI
POST
https://{api_host}/tcsa/api/notification-management/v1/notifications/summary
COPY
Request Body

Request body is optional. User needs to provide request body only when filtering is required. For summary on selected notification, provide "VsaFilter" in request body.

SummaryRequest of type(s) application/json
Optional
{
    "vsafilter": {
        "condition": "AND",
        "filterlist": [
            "Filter Object"
        ]
    }
}
object
vsafilter
Optional

The VSAFilter object defines how the filters has to be applied on queries.

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns SummaryResponse of type(s) application/json
{
    "Result": [
        {
            "2": 5807
        },
        {
            "3": 374
        },
        {
            "1": 228
        },
        {
            "4": 158
        }
    ]
}
array of object
Result
Optional

Notification summary object.


401

Client must authenticate itself to get the requested response

Operation doesn't return any data structure

403

The client does not have access rights to the content; that is, it is Client must authenticate itself to get the requested response

Operation doesn't return any data structure

404

The server can not find the requested resource

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/tcsa/api/notification-management/v1/notifications/summary