This API allows clients to read sentiment analysis from check-ins.
Throughout the API an 'api_id' for department used. This can be specified by the client when creating a new department via the API, if one is not specified during creation or a user is created via a different method (i.e. the user interface) then the API ID can be obtained by querying the API.
Departments can be created and managed using the Directory API: Departments endpoints.
GET /department_sentiment/
List all sentiment data for all departments in organisation
Optional Parameters
startdate: string | Start date in format YYYY-MM-DD |
endate: string | End date in format YYYY-MM-DD |
Response
Returns an object including a list of Sentiment data values.
[
{
iso_week: integer,
iso_year: integer,
avg_sentiment_normalised: float,
department_api_id: string
}.....
]