GET api/notifications?pageNumber={pageNumber}&pageSize={pageSize}
Get list of the notifications previously sent to the user
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
pageNumber | integer |
Required |
|
pageSize | integer |
Required |
Body Parameters
None.
Response Information
list notification
Name | Description | Type | Additional information |
---|---|---|---|
Items | Collection of UserNotifications |
None. |
|
TotalResults | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "items": [ { "notificationId": 1, "title": "sample string 2", "body": "sample string 3", "type": 0, "isNotificationNew": true, "customData": { "type": "sample string 3", "supplierid": "sample string 4", "notificationid": "sample string 5", "categories": "sample string 6", "subcategories": "sample string 7", "themes": "sample string 8", "specialoffer": "sample string 9", "sortdirection": "sample string 10" }, "expirationDate": "2021-01-19T19:58:25.5152434+01:00", "createDate": "2021-01-19T19:58:25.5152434+01:00" }, { "notificationId": 1, "title": "sample string 2", "body": "sample string 3", "type": 0, "isNotificationNew": true, "customData": { "type": "sample string 3", "supplierid": "sample string 4", "notificationid": "sample string 5", "categories": "sample string 6", "subcategories": "sample string 7", "themes": "sample string 8", "specialoffer": "sample string 9", "sortdirection": "sample string 10" }, "expirationDate": "2021-01-19T19:58:25.5152434+01:00", "createDate": "2021-01-19T19:58:25.5152434+01:00" } ], "totalResults": 1 }