Get Distinct Values Of Notification Property

Get Distinct Values Of Notification Property

This API returns the distinct values of live notifications for a property, provided as query param {property_name}. If user wants to get the distinct values for a set of notification instead of all notification, user can pass filter in the request payload.

Request
URI
POST
https://{api_host}/tcsa.host.com/tcsa/api/notification-management/v1/notifications/properties/{property_name}/distinct
COPY
Path Parameters
string
property_name
Required

name of the property

property_name example
Severity

Request Body

Request to get distinct property values.

NotificationDistinctValueRequest of type(s) application/json
Required
{
    "vsafilter": {
        "filterlist": [
            {
                "propfilter": [
                    {
                        "propname": "Name",
                        "matchtype": "REGEX",
                        "values": [
                            "NOTIFICATION-CPU.*"
                        ]
                    }
                ]
            }
        ]
    }
}
vsafilter
Optional

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

integer
size
Optional

The size parameter allows you to configure the maximum no of records to be returned.

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns Array of object of type(s) application/json
[
    {
        "1": null
    }
]

Response Headers

integer
X-Total-Count

Total number of items matching criteria

integer
X-Result-Count

Actual number of items returned in the response body


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.

Operation doesn't return any data structure