Notification
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit.
-
For Fetching Notifications List
Class : NotificationInteractor
Method : getAllNotifications()
It returns the list of notifications
Request:
- Request Object : NotificationRequest
- Parameters
- limit : How many notifications you want in a single response
- offset : it's the current page/offset
Response:
- Response Object : NotificationInfo
- Message : It is a simple string message
- StatusCode : It returns an API status code (like 200,201,500,401)
- Success : It returns boolean value, (true/false)
- data : it returns notification list
-
To Change Notification Read Status
Class : NotificationInteractor
Method : changeNotificationStatus()
To mark notification as Read
Request:
- Request Object : IsReadNotificationRequest
- Parameters
- id : notification id
Response:
- Response Object : IsReadNotification
- Message : It is a simple string message
- StatusCode : It returns an API status code (like 200,201,500,401)
- Success : It returns boolean value, (true/false)
- data : it return notification Read Data