Perform Survey Sentiment Analysis
Create or update the AI Sentiment Result records. You can get
insights into the sentiments underlying survey responses and save the sentiment analysis in the
SentimentAnalysisResult object.
This action is available in API version 55.0 and later.
Special Access Rules
To access the Perform Survey Sentiment Analysis action, you must have the Feedback Management - Starter and Feedback Management - Growth licenses.
Supported REST HTTP Methods
- URI
- /services/data/v55.0/actions/standard/performSurveySentimentAnalysis
- Formats
- JSON
- HTTP Methods
- POST
- Authentication
- Authorization: Bearer token
Inputs
Input | Details |
---|---|
surveyId |
|
surveyQuestionIds |
|
startDate |
|
endDate |
|
typeOfOperation |
|
Outputs
None.
Example
- Sample Request
-
Here’s an example POST request to create or update the AI Sentiment Result records:
{ "inputs":[{ "surveyId":"0Kdx00000000GYeCAM", "surveyQuestionIds":["0Kux00000000xDgCAI","0Kux00000000xDiCAI"], "startDate":"1-07-2022", "endDate":"12-07-2022", "typeOfOperation":"create" }] }