Notification Count
Returns the count of notifications that are matching with given filter
Request object to get notifications count.
{
"vsafilter": {
"condition": "AND",
"filterlist": [
{
"condition": "AND",
"propfilter": [
{
"propname": "IsLiveNotification",
"matchtype": "MATCH",
"values": [
"true"
]
}
]
}
]
},
"startTimestamp": 1717213680000,
"endTimestamp": 1719373740000
}
The VSAFilter object defines how the filters has to be applied on queries.
The size parameter allows you to configure the maximum no of records to be returned.
The from parameter defines the offset from the first result you want to fetch.
The Sort object defines, on which field sorting has to be apply and what will be the sorting order (ASC/DESC).
Must be in EPOCH milli seconds.
Must be in EPOCH milli seconds.
notification count response object
"NotificationCount Object"
count
Client must authenticate itself to get the requested response
The client does not have access rights to the content.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/tcsa/api/notification-management/v1/notifications/count