Appearance
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/updateHeaders ​
| Header | Required | Description |
|---|---|---|
x-nextinteract-authtoken | Yes | Auth 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 ​
| Exception | Description |
|---|---|
WSInvalidAuthTokenException | See Error Definitions |
WSCacheServiceException | See Error Definitions |
WSInvalidParameterException | See Error Definitions |
WSUserNotificationServiceException | See Error Definitions |