Aggregated
Get Departments Aggregated
GET
/sessions/aggregation/departments
https://api.relesysapp.net/api/v1.3/sessions/aggregation/departments
Get Sessions aggregated for a period and per department.
Time Interval:
All data returned is between DateFrom and DateTo, the dates are inclusive
Department Type:
"Company", "Country", "Department", "District", "Division", "Other", "Partner", "Region", "Store", "Subdepartment"
SubDepartments:
If set to true, a DeparmentId is required to get aggregated data for all individual subdepartments
Time Interval:
All data returned is between DateFrom and DateTo, the dates are inclusive
Department Type:
"Company", "Country", "Department", "District", "Division", "Other", "Partner", "Region", "Store", "Subdepartment"
SubDepartments:
If set to true, a DeparmentId is required to get aggregated data for all individual subdepartments
Scopes: relesys.api, relesys.api:read, relesys.api.insights, relesys.api.insights:read
Query String
dateFrom | datetime |
Filterable
|
required | |
dateTo | datetime |
Filterable
|
required | |
departmentId | string / guid |
Filterable
|
optional | |
departmentType | string |
Filterable
|
optional | |
subDepartments | boolean |
Filterable
|
optional |