invokeServerNotificationAction

fun invokeServerNotificationAction(notificationId: String, actionKey: String, restClient: RestClient? = clientManager?.peekRestClient()): NotificationsActionsResponseBody?

Invokes a Salesforce Notifications API notification action.

Return

The Salesforce Notifications API actions endpoint response or null

Parameters

notificationId

The Salesforce actionable notification's id

actionKey

The Salesforce actionable notification's action key

restClient

The REST client to use when invoking the Salesforce Notifications API. Note the REST client determines the user account used as well. This defaults to the current user's REST client.