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

1

not FAIL. the status is OK

2

Wrong credentials

3

Access token does not exist or expired, please generate another one from Settings - Get access token API

13

you need to use POST method.

29

accountID is invalid or wrong

32

You cant connect to a suspended account

34

server is invalid or wrong

35

agentID is invalid or wrong

36

wrong notification_id