[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance
Get Notification Summary
DescriptionThis API provides summary of notification severity and their count.
Request
URLURL
https://{api_host}tcsa.host.com/tcsa/api/notification-management/v1/notifications/summary
Request Body
Request Body
SummaryRequest
of mimetype application/json
Optional
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.
{
"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.
Response
Response
Response BodyResponse Body
200 OK
Returns
SummaryResponse
of type application/json
{
"Result": [
{
"2": 5807
},
{
"3": 374
},
{
"1": 228
},
{
"4": 158
}
]
}
array of
integer
Result
Optional
Notification summary object.
Errors
401
Client must authenticate itself to get the requested response
403
The client does not have access rights to the content; that is, it is Client must authenticate itself to get the requested response
404
The server can not find the requested resource
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"size":10,"sort":[{"fieldName":"LastChangedAt","order":"desc"}],"vsafilter":{"filterlist":[{"condition":"OR","propfilter":[{"matchtype":"MATCH","propname":"Severity","values":[1]},{"matchtype":"MATCH","propname":"Severity","values":[2]}]}]}}' https://{api_host}tcsa.host.com/tcsa/api/notification-management/v1/notifications/summary
[{"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