Skip to main content

Sentiment Categories

EntityDatastoreDatastore.SentimentCategory

Sentiment categories classify the sentiment of relationships and activities (e.g., positive, neutral, negative).

Use the Datastore_SentimentCategory endpoint to query sentiment categories.

Endpoints

List Sentiment Categories

GET/v1/odata/Datastore_SentimentCategory

Single Sentiment Categorie

GET/v1/odata/Datastore_SentimentCategory({id})

Fields

Datastore Fields (inherited)

FieldTypeDescription
NameStringDisplay name
CodeStringUnique code identifier
LocalizedNameStringLocalized display name
IsDefaultBooleanWhether this is the default value

Relationships

RelationshipTarget EntityCardinalityDescription
RelationshipRelationship1:NRelationship
ActivityActivity1:NActivity

Expanding Relationships

GET/v1/odata/Datastore_SentimentCategory({id})?$expand=Relationship
GET/v1/odata/Datastore_SentimentCategory({id})/Relationship

Filtering Examples

GET/v1/odata/Datastore_SentimentCategory?$filter=Name eq '{Name}'&$top={top}
GET/v1/odata/Datastore_SentimentCategory?$filter=contains(Name, '{Name}')&$top={top}
GET/v1/odata/Datastore_SentimentCategory?$filter=Code eq '{Code}'&$top={top}
GET/v1/odata/Datastore_SentimentCategory?$filter=IsDefault eq {IsDefault}&$top={top}