Add endpoints to Notification Center.
endpoints, to (Notification Center) obtain all the notifications of the last 7 days and that it can be
get the ones for the next day (example give me the one for the next day, day 8)
// last 7 days, returns the last 7 days of notifications, to show them in the Notification Center
// the status is returned (SUCCESS or FAILED), the description, the date, the username, and if it was read
GET api/EventTrack
// next day ex. GET api/EventTrack/2022-06-13/2022-06-14
// this endoint is used in the Notification Center to get more notifications, open to add a button
at the end I say "Show more"
GET api/EventTrack/{before}/{after}
// this endpoint returns yesterday's and today's notifications marked as unread, which are displayed in
// the menu
GET api/EventTrack/yesterdayAndToday
// When opening the menu and displaying them call the backend to mark them as read
PUT api/eventTract/markReadYesterdayAndToday
Mockups
Acceptance Criteria
// last 7 days, returns the last 7 days of notifications, to show them in the Notification Center // the status is returned (SUCCESS or FAILED), the description, the date, the username, and if it was read GET api/EventTrack
// next day ex. GET api/EventTrack/2022-06-13/2022-06-14 // this endoint is used in the Notification Center to get more notifications, open to add a button at the end I say "Show more" GET api/EventTrack/{before}/{after}
// this endpoint returns yesterday's and today's notifications marked as unread, which are displayed in // the menu GET api/EventTrack/yesterdayAndToday
// When opening the menu and displaying them call the backend to mark them as read PUT api/eventTract/markReadYesterdayAndToday