getRequestForNotificationsUpdate

open fun getRequestForNotificationsUpdate(apiVersion: String, notificationIds: List<String>, before: Date, read: Boolean, seen: Boolean): RestRequest

Request for updating notifications.

Parameters

apiVersion

Salesforce API version.

notificationIds

IDs of notifications to get. Shouldn't be used with `before`.

before

Get notifications before the provided date. Shouldn't be used with `notificationIds`.

read

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

seen

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