Mark Notification
Mark a notification as read by notification ID
Settings:
URL | https://partners.99digital.co.il/api/online/markNotificationRead |
Method | JSON via POST |
Header | Authorization: Bearer {{access_token}} *The access_token can be received from settings->get access token API. |
Body:
Parameter | Description / Example |
|---|---|
accountID | The account ID you wish to do the action on |
notification_id | The ID of the notification you want to mark as read |
server | The server subdomain hosting the account |
Response:
{
"status": "OK",
"accountID": 4142,
"server": "online",
"notification_id": 4562463467
}
Response-Explain:
Parameter | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
status | OK or FAIL "OK" means the request was successful. "Fail" means error. | ||||||||||||||||||
accountID | The account ID you provided | ||||||||||||||||||
agentID | The agent ID you provided | ||||||||||||||||||
server | The server you provided | ||||||||||||||||||
notification_id | The notification ID you provided | ||||||||||||||||||
reason | 'reason' is the status explanation in case of FAIL
|