The list of notifications for users, which come from various campaigns or activities, are updated with status and other information. The notifications can be categorized as follows
- Campaign
- Cat
- Event
- Link
- Message
- Dashboard
The display and access to notifications of each type may vary depending on the design of your application.
Notification List
This refers to all the notifications that the user has read and unread. You can retrieve this information by calling the API Get Notification List.
curl --location --request GET 'https://buzzebees-stg.azure-api.net/api/noti/?mode=&'
--header 'Content-Type: application/x-www-form-urlencoded; charset=utf-8'
--header 'Ocp-Apim-Subscription-Key: {Subscription-Key}'
--header 'Ocp-Apim-Trace: 1 '
--header 'App-Id: {App-Id}'
--header 'Authorization: token {token}'
Read notification
This refers to updating the status of the notifications from unread to read by calling the API Read Notification and passing in the parameter ids, which will be obtained from the RowKey in the API Get Notification List.
curl --location --request POST 'https://buzzebees-stg.azure-api.net/api/noti/read'
--header 'Content-Type: application/x-www-form-urlencoded; charset=utf-8'
--header 'Ocp-Apim-Subscription-Key: {Subscription-Key}'
--header 'Ocp-Apim-Trace: 1 '
--header 'App-Id: {App-Id}'
--header 'Authorization: token {token}'
--form 'ids="[]"'
After that, retrieve the notification list again and the isRead status should have changed to True.