[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance
Get Distinct Values Of Notification Property
DescriptionThis 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
URLURL
https://{api_host}tcsa.host.com/tcsa/api/notification-management/v1/notifications/properties/{property_name}/distinct
Path Parameters
Path Parameters
string
property_name
Required
name of the property
property_name example
"Severity"
Request Body
Request Body
NotificationDistinctValueRequest
of mimetype application/json
Required
Request to get distinct property values.
{
"vsafilter": {
"filterlist": [
{
"propfilter": [
{
"matchtype": "REGEX",
"propname": "Name",
"values": [
"NOTIFICATION-CPU.*"
]
}
]
}
]
}
}
integer
size
Optional
The size parameter allows you to configure the maximum no of records to be returned.
vsafilter
Optional
The VSAFilter object defines how the filters has to be applied on queries.
Authentication
This operation uses the following authentication methods.
Response
integer
Response
Response BodyResponse Body
200 OK
Returns
array
of
object
of type application/json
Response Headers
integer
X-Total-Count
Total number of items matching criteria
X-Total-Count example
1000
X-Result-Count
Actual number of items returned in the response body
X-Result-Count example
10
Errors
401
Client must authenticate itself to get the requested response
403
The client does not have access rights to the content.
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"vsafilter":{"filterlist":[{"propfilter":[{"matchtype":"REGEX","propname":"Name","values":["NOTIFICATION-CPU.*"]}]}]}}' https://{api_host}tcsa.host.com/tcsa/api/notification-management/v1/notifications/properties/Severity/distinct
[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance
On This Page
Notification Operations
post
post
post
post
post
post
post
post
post
post