Skip to content

updateUserNotifications ​

Updates the status of one or more Notifications for a given user.

Notification Statuses Code | Name | Desc U | Unviewed | Not seen V | Viewed | Seen A | Archived | Moved to Archive table (out of scope for devices v1)

Request ​

http
PUT /rest/user/notifications/update

Headers ​

HeaderRequiredDescription
x-nextinteract-authtokenYesAuth token returned from loginUser

Parameters ​

Valid values for status: V, A, U (see description)

Sample Request:

json
{
        "status" : "V",
        "userNotificationIds" : [1,2]
}

Response ​

200 OK ​

Standard OK wrapped in Error JSON

json
{
   "errorCode": 0,
   "errorMsg": "OK"
}

Errors ​

ExceptionDescription
WSInvalidAuthTokenExceptionSee Error Definitions
WSCacheServiceExceptionSee Error Definitions
WSInvalidParameterExceptionSee Error Definitions
WSUserNotificationServiceExceptionSee Error Definitions