Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Notification
- Resource
- /connect/notifications/notificationId
- Available since version
- 49.0
- HTTP methods
- GET, PATCH
- Request parameters for GET
-
Parameter Return Type Description Required or Optional Available Version trimMessages Boolean Specifies whether the content of a notification is trimmed (true) or returned in full (false). If true, the title of a notification returns up to 120 characters and the body returns up to 320 characters. If false, the title of a notification returns up to 250 characters and the body returns up to 750 characters. If unspecified, the default is true. Optional 50.0 - Request body for PATCH
-
- Root XML tag
- <notification>
- JSON example
-
1{ "read" : "true" } - Properties
-
- Request parameters for PATCH
-
Parameter Type Description Required or Optional Available Version read Boolean Marks a notification as read (true) or unread (false). Required if seen isn’t specified 49.0 seen Boolean Marks a notification as seen (true) or unseen (false). Required if read isn’t specified 49.0 - Response body for GET and PATCH
- Notification