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

Get list of the competition notifications previously sent to the user

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageNumber

integer

Required

pageSize

integer

Required

Body Parameters

None.

Response Information

list notification

NameDescriptionTypeAdditional information
Items

Collection of UserCompetitions

None.

TotalResults

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "items": [
    {
      "id": 1,
      "name": "sample string 2",
      "title": "sample string 3",
      "body": "sample string 4",
      "image": "sample string 5",
      "startDate": "2020-10-18T11:34:29.8103861+02:00",
      "endDate": "2020-10-18T11:34:29.8103861+02:00",
      "lifespan": "2020-10-18T11:34:29.8113863+02:00",
      "sticky": true,
      "isNotificationNew": true,
      "supplierId": 9,
      "isParticipant": true
    },
    {
      "id": 1,
      "name": "sample string 2",
      "title": "sample string 3",
      "body": "sample string 4",
      "image": "sample string 5",
      "startDate": "2020-10-18T11:34:29.8103861+02:00",
      "endDate": "2020-10-18T11:34:29.8103861+02:00",
      "lifespan": "2020-10-18T11:34:29.8113863+02:00",
      "sticky": true,
      "isNotificationNew": true,
      "supplierId": 9,
      "isParticipant": true
    }
  ],
  "totalResults": 1
}