Shows a list of email notification jobs.
GET {{baseUrl}}/emailNotificationJobs?filter=<string>&page=0&size=10
Fetches a list email notification jobs. The resultant list maybe filtered by providing a filter criteria.
Note: Email notification jobs are stored in the system up to 180 days from the date of creation.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
filter | string | JSON string describing filter operations performed on emailNotificationJobs to be returned. |
{
"fromApplication": "MachineMonitor"
}
Unencoded example filter value to fetch all emailNotificationJobs from application 'MachineMonitor' with status 'Queued':
{
"fromApplication": "MachineMonitor",
"status": "Queued"
}
|
| page
| number | | Specifies the requested page index |
| size
| number | | Specifies the number of elements in a page. Maximum size value allowed is 50. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"emailNotificationJobs":[{"id":"59f92744-7bbc-4540-8b78-ee9976befc1a","status":"DispatchedWithFailures","startTime":"2021-04-21T17:32:28.00","fromApplication":"MachineMonitor","maliciousAttachments":[{"filename":"app.pdf","threat":"worm found"},{"filename":"app.pdf","threat":"worm found"}]},{"id":"59f92744-7bbc-4540-8b78-ee9976befc1a","status":"DispatchedWithFailures","startTime":"2021-04-21T17:32:28.00","fromApplication":"MachineMonitor","maliciousAttachments":[{"filename":"app.pdf","threat":"worm found"},{"filename":"app.pdf","threat":"worm found"}]}],"page":{"size":-39340454,"totalElements":-35616766,"totalPages":84490213,"number":-72393251}}