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}Custom Query
Build your own OData query against Datastore_SentimentTopic. Open Run and edit the whole request inline — swap the entity set, change the $filter, or add $expand, $select, $orderby, $top, $skip. Type $ for suggestions; use ↺ Reset to restore this example.
GET
/v1/odata/Datastore_SentimentTopic?$top=10