GET api/Notification?key={key}&pageNumber={pageNumber}&pageSize={pageSize}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| key | string |
Required |
|
| pageNumber | integer |
Default value is 1 |
|
| pageSize | integer |
Default value is 5 |
Body Parameters
None.
Response Information
Resource Description
NotificationList| Name | Description | Type | Additional information |
|---|---|---|---|
| Notifications | Collection of NotificationDisplayData |
None. |
|
| NotificationsNotReaded | integer |
None. |
|
| AccessGranted | boolean |
None. |
|
| Error | boolean |
None. |
|
| ErrorCode | string |
None. |
|
| ErrorDescription | string |
None. |
|
| Warnings | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Notifications": [
{
"Id": "3823166d-d4f1-4d06-b71f-956ce766c9e4",
"TargetId": 2,
"TargetTag": "sample string 3",
"Message": "sample string 4",
"IconClass": "sample string 5",
"IconColor": "sample string 6",
"Date": "2025-11-01T08:01:53.9226648+01:00",
"IsDisplayed": 8,
"Position": null,
"Address": "sample string 9",
"Map": "sample string 10",
"Latitude": 11.1,
"Longitude": 12.1
},
{
"Id": "3823166d-d4f1-4d06-b71f-956ce766c9e4",
"TargetId": 2,
"TargetTag": "sample string 3",
"Message": "sample string 4",
"IconClass": "sample string 5",
"IconColor": "sample string 6",
"Date": "2025-11-01T08:01:53.9226648+01:00",
"IsDisplayed": 8,
"Position": null,
"Address": "sample string 9",
"Map": "sample string 10",
"Latitude": 11.1,
"Longitude": 12.1
}
],
"NotificationsNotReaded": 1,
"AccessGranted": true,
"Error": true,
"ErrorCode": "sample string 4",
"ErrorDescription": "sample string 5",
"Warnings": "sample string 6"
}