Sentiment Topics
Sentiment topics define the topics being tracked for sentiment analysis.
Use the Datastore_SentimentTopic endpoint to query sentiment topics.
Endpoints
List Sentiment Topics
GET
/v1/odata/Datastore_SentimentTopicSingle Sentiment Topic
GET
/v1/odata/Datastore_SentimentTopic({id})Fields
Datastore Fields (inherited)
| Field | Type | Description |
|---|---|---|
Name | String | Display name |
Code | String | Unique code identifier |
LocalizedName | String | Localized display name |
IsDefault | Boolean | Whether this is the default value |
Relationships
| Relationship | Target Entity | Cardinality | Description |
|---|---|---|---|
| AggregatedSentimentTopicMeasurement | AggregatedSentimentTopicMeasurement | 1:N | AggregatedSentimentTopicMeasurement |
| SentimentTopicMeasurement | SentimentTopicMeasurement | 1:N | SentimentTopicMeasurement |
Expanding Relationships
GET
/v1/odata/Datastore_SentimentTopic({id})?$expand=AggregatedSentimentTopicMeasurementNavigating Relationships
GET
/v1/odata/Datastore_SentimentTopic({id})/AggregatedSentimentTopicMeasurementFiltering Examples
GET
/v1/odata/Datastore_SentimentTopic?$filter=Name eq '{Name}'&$top={top}GET
/v1/odata/Datastore_SentimentTopic?$filter=contains(Name, '{Name}')&$top={top}GET
/v1/odata/Datastore_SentimentTopic?$filter=Code eq '{Code}'&$top={top}GET
/v1/odata/Datastore_SentimentTopic?$filter=IsDefault eq {IsDefault}&$top={top}