notification-controller
Get notification requests (getNotificationRequests)
Returns the page of notification requests submitted by users of this tenant or sysadmins.
You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See response schema for more details.
Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority.
get/api/notification/requests
Query parameters
pageSizeinteger required
Maximum amount of entities in a one page
pageinteger required
Sequence number of page starting from 0
textSearchstring
Case-insensitive 'substring' filed based on the used template name
sortPropertystring
Property of entity to sort by
sortOrderstring
Sort order. ASC (ASCENDING) or DESC (DESCENDING)
Response
OK
Example response
{
"data": [
{
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "NOTIFICATION_REQUEST"
},
"createdTime": 1746028547220,
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
},
"templateId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "NOTIFICATION_TEMPLATE"
},
"template": {
"id": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "NOTIFICATION_TEMPLATE"
},
"createdTime": 1746028547220,
"tenantId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "TENANT"
}
},
"info": {
"dashboardId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "DASHBOARD"
},
"stateEntityId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "DEVICE"
}
},
"originatorEntityId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "DEVICE"
},
"ruleId": {
"id": "784f394c-42b6-435a-983c-b7beff2784f9",
"entityType": "NOTIFICATION_RULE"
}
}
]
}