GET api/notifications?pageNumber={pageNumber}&pageSize={pageSize}

Get list of the notifications previously sent to the user

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageNumber

integer

Required

pageSize

integer

Required

Body Parameters

None.

Response Information

List of notifications

NameDescriptionTypeAdditional information
Items

Notification Items

Collection of UserNotifications

None.

TotalResults

Total Results count

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",
        "isfavorite": true
      },
      "expirationDate": "2024-11-21T08:29:01.738342+01:00",
      "createDate": "2024-11-21T08:29:01.738342+01:00",
      "scheduledDate": "2024-11-21T08:29:01.738342+01:00",
      "image": "sample string 6",
      "imageCard": "sample string 7",
      "imageType": 0
    },
    {
      "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",
        "isfavorite": true
      },
      "expirationDate": "2024-11-21T08:29:01.738342+01:00",
      "createDate": "2024-11-21T08:29:01.738342+01:00",
      "scheduledDate": "2024-11-21T08:29:01.738342+01:00",
      "image": "sample string 6",
      "imageCard": "sample string 7",
      "imageType": 0
    }
  ],
  "totalResults": 1
}