getRequestForNotificationUpdate

open fun getRequestForNotificationUpdate(apiVersion: String, notificationId: String, read: Boolean, seen: Boolean): RestRequest

Request for updating a notification.

Parameters

apiVersion

Salesforce API version.

notificationId

ID of notification.

read

Marks notification as read (true) or unread (false). If null, field won't be updated. Required if `seen` not provided.

seen

Marks notification as seen (true) or unseen (false). If null, field won't be updated. Required if `read` not provided.

See also

<a href="https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resource_notifications_specific.htm">https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resource_notifications_specific.htm</a>