Get Engagement Topics
Retrieves a list of pairs from the engagement topics of the object
ID (from the TopicId field) and its object name for the current messaging
session.
This action is available in API version 68.0 and later.
Supported REST HTTP Methods
- URI
- /services/data/vXX.X/actions/standard/getEngagementTopics
- Formats
- JSON, XML
- HTTP Methods
- POST
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| salesforceInternal |
|
Outputs
| Output | Details |
|---|---|
| topicIdsAndObjectNames |
|
Example
Sample request body:
1{
2 "inputs" : [{
3 "salesforceInternal" : "internal"
4 }]
5}Sample response body:
1{
2 "actionName" : "getEngagementTopics",
3 "errors" : null,
4 "isSuccess" : true,
5 "outputValues" : {
6 "topicIdsAndObjectNames" : "[{\"TopicId\":\"08pRZ0000008iPeYAI\",\"ObjectName\":\"ServiceAppointment\"},{\"TopicId\":\"02iRZ0000006AeDYAU\",\"ObjectName\":\"Asset\"}]"
7 }
8}