Get Notification Summary

Get Notification Summary

This API provides summary of notification severity and their count.

Request
URI
POST
https://{api_host}/tcsa.host.com/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
{
    "size": 10,
    "sort": [
        {
            "fieldName": "LastChangedAt",
            "order": "desc"
        }
    ],
    "vsafilter": {
        "filterlist": [
            {
                "condition": "OR",
                "propfilter": [
                    {
                        "matchtype": "MATCH",
                        "propname": "Severity",
                        "values": [
                            1
                        ]
                    },
                    {
                        "matchtype": "MATCH",
                        "propname": "Severity",
                        "values": [
                            2
                        ]
                    }
                ]
            }
        ]
    }
}
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 Summary
Result
Optional

Result


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