/
Get Notifications
Get Notifications
Get Notifications
GET /notification/status/{project}/{clientId}
The get Notifications endpoint retrieves all the notifications associated with a client in a specified project.
Path Parameters
Name | Type | Required | Description |
---|---|---|---|
{project} | string | Yes | The name of the project where the client is going to be searched on. |
{clientId} | string | Yes | Id assigned to a client. |
Responses
200: Success
[
{
"notificationID": "",
"project": "",
"clientId":Ā "",
"msg": "",
"channel": "",
"to": "",
"templateId": "",
"templateParams": "",
"notificationDate": "",
"status": "",
},
{
"notificationID": "",
"project": "",
"clientId":Ā "",
"msg": "",
"channel": "",
"to": "",
"templateId": "",
"templateParams": "",
"notificationDate": "",
"status": "",
},
{
"notificationID": "",
"project": "",
"clientId":Ā "",
"msg": "",
"channel": "",
"to": "",
"templateId": "",
"templateParams": "",
"notificationDate": "",
"status": "",
},
...
]
404: Not Found. The request was processed but the entity was not found.
{
"timestamp": "2024-02-29T04:12:17.603Z",
"statusCode": 404,
"message": "Client or project not found.",
"errors": []
}
409: Conflict. The request was processed but the resource was not found.
{
"timestamp": "2024-02-29T04:17:07",
"statusCode": 409,
"message": "Tracked entity instance is specified but does not exist: cMyjKYJtgSIasdasd",
"errors": [
{
"httpStatus": "Conflict",
"httpStatusCode": 409,
"status": "ERROR",
"message": "Tracked entity instance is specified but does not exist: cMyjKYJtgSIasdasd"
}
]
}
500: Internal Server Error.
{
"timestamp": "2024-02-29T04:26:43.447Z",
"statusCode": 500,
"message": "Request failed with status code 500",
"errors": [
"<!doctype html><html lang=\"en\"><head><title>HTTP Status 500 ā Internal Server Error</title><style type=\"text/css\">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 500 ā Internal Server Error</h1><hr class=\"line\" /><p><b>Type</b> Exception Report</p><p><b>Message</b> The request was rejected because the URL contained a potentially malicious String ";"</p><p><b>Description</b> The server encountered an unexpected condition that prevented it from fulfilling the request.</p><p><b>Exception</b></p><pre>org.springframework.security.web.firewall.RequestRejectedException: The request was rejected because the URL contained a potentially malicious String ";"\n\torg.springframework.security.web.firewall.StrictHttpFirewall.rejectedBlocklistedUrls(StrictHttpFirewall.java:535)\n\torg.springframework.security.web.firewall.StrictHttpFirewall.getFirewalledRequest(StrictHttpFirewall.java:505)\n\torg.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:210)\n\torg.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:190)\n\torg.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354)\n\torg.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267)\n\torg.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)\n\torg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)\n\torg.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:354)\n\torg.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:267)\n\torg.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)\n\torg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)\n\torg.springframework.orm.hibernate5.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:156)\n\torg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)\n</pre><p><b>Note</b> The full stack trace of the root cause is available in the server logs.</p><hr class=\"line\" /><h3>Apache Tomcat/8.5.98</h3></body></html>"
]
}
Related content
Cancel
Cancel
More like this
Reply
Reply
More like this
Schedule
Schedule
More like this
Notifications API endpoints
Notifications API endpoints
More like this
Notifications Release Notes
Notifications Release Notes
More like this
API Structure: Providers
API Structure: Providers
More like this