Skip to main content
Detect Sentiment

Headers

Accept-Language
string

Convert string references and multi-language values into a specified language (iso2) code.

SO-Language
string

Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.

SO-Culture
string

Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.

SO-TimeZone
string

Specify the timezone code that you would like date/time responses converted to.

SO-AppToken
string

The application token that identifies the partner app. Used when calling Online WebAPI from a server.

Query Parameters

$select
string

Optional comma separated list of properties to include in the result. Other fields are then nulled out to reduce payload size: "Name,department,category". Default = show all fields.

Body

Text

DetectSentiment: Detect the sentiment of a (reasonably short) text. Sentiment analysis may cause a translation to be made, since sentiment analysis only supports a limited set of languages

Text
string

Response

OK

Sentiment information: Score (-100 to 100) and Confidence (0 to 100) Carrier object for Sentiment. Services for the Sentiment Carrier is available from the AI Agent.

Score
integer<int32>

Sentiment score, -100 = very unhappy, 100 = very happy, 0 = no idea (not recognized)

Confidence
integer<int32>

Sentiment analysis confidence, where available. 0 = no idea, 100 = perfectly confident, -1 = no confidence score available

TableRight
object

Wraps a table right together with an explanatory reason. Code can indicate why access is restricted.

FieldProperties
object

Field property dictionary mapping field names to field access rights.