GET api/BusinessIntelligence/GetActivityMetrics?from={from}&to={to}
Get metrics for activities. Data is grouped on a per-date and per-group basis.
Request Information
URI Parameters
| Name | Description | Type | Additional Information |
|---|---|---|---|
| from |
Filter data from this date (inclusive), must be before or equal to . |
date |
Required |
| to |
Filter data to this date (inclusive), must be after or equal to . |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of StatisticDto of IEnumerable of ActivityMetricsDto| Name | Description | Type | Additional Information |
|---|---|---|---|
| Date |
The date and time for when the metric was created. |
date |
None. |
| GroupData |
Collection of statistical data per group. |
Collection of StatisticGroupData of IEnumerable of ActivityMetricsDto |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Date": "2025-11-04T09:01:23.405747+01:00",
"GroupData": [
{
"GroupId": 1,
"LastUpdate": "2025-11-04T09:01:23.405747+01:00",
"Data": [
{
"TaskID": 1,
"DoubleTaskID": 1,
"DoubleTaskType": 1,
"DoubleTaskMaster": true,
"PlannedStart": "2025-11-04T09:01:23.405747+01:00",
"PlannedEnd": "2025-11-04T09:01:23.405747+01:00",
"PlannedMinutes": 4,
"ActualStart": "2025-11-04T09:01:23.405747+01:00",
"ActualEnd": "2025-11-04T09:01:23.405747+01:00",
"ActualMinutes": 1,
"IsCancelled": true,
"IsDone": true,
"VisitType": "sample string 7",
"VisitTypeFlatRateMinutes": 1,
"VisitTypeIsCustom": true,
"IsWorkTime": true,
"IsClientTime": true
},
{
"TaskID": 1,
"DoubleTaskID": 1,
"DoubleTaskType": 1,
"DoubleTaskMaster": true,
"PlannedStart": "2025-11-04T09:01:23.405747+01:00",
"PlannedEnd": "2025-11-04T09:01:23.405747+01:00",
"PlannedMinutes": 4,
"ActualStart": "2025-11-04T09:01:23.405747+01:00",
"ActualEnd": "2025-11-04T09:01:23.405747+01:00",
"ActualMinutes": 1,
"IsCancelled": true,
"IsDone": true,
"VisitType": "sample string 7",
"VisitTypeFlatRateMinutes": 1,
"VisitTypeIsCustom": true,
"IsWorkTime": true,
"IsClientTime": true
}
]
},
{
"GroupId": 1,
"LastUpdate": "2025-11-04T09:01:23.405747+01:00",
"Data": [
{
"TaskID": 1,
"DoubleTaskID": 1,
"DoubleTaskType": 1,
"DoubleTaskMaster": true,
"PlannedStart": "2025-11-04T09:01:23.405747+01:00",
"PlannedEnd": "2025-11-04T09:01:23.405747+01:00",
"PlannedMinutes": 4,
"ActualStart": "2025-11-04T09:01:23.405747+01:00",
"ActualEnd": "2025-11-04T09:01:23.405747+01:00",
"ActualMinutes": 1,
"IsCancelled": true,
"IsDone": true,
"VisitType": "sample string 7",
"VisitTypeFlatRateMinutes": 1,
"VisitTypeIsCustom": true,
"IsWorkTime": true,
"IsClientTime": true
},
{
"TaskID": 1,
"DoubleTaskID": 1,
"DoubleTaskType": 1,
"DoubleTaskMaster": true,
"PlannedStart": "2025-11-04T09:01:23.405747+01:00",
"PlannedEnd": "2025-11-04T09:01:23.405747+01:00",
"PlannedMinutes": 4,
"ActualStart": "2025-11-04T09:01:23.405747+01:00",
"ActualEnd": "2025-11-04T09:01:23.405747+01:00",
"ActualMinutes": 1,
"IsCancelled": true,
"IsDone": true,
"VisitType": "sample string 7",
"VisitTypeFlatRateMinutes": 1,
"VisitTypeIsCustom": true,
"IsWorkTime": true,
"IsClientTime": true
}
]
}
]
},
{
"Date": "2025-11-04T09:01:23.405747+01:00",
"GroupData": [
{
"GroupId": 1,
"LastUpdate": "2025-11-04T09:01:23.405747+01:00",
"Data": [
{
"TaskID": 1,
"DoubleTaskID": 1,
"DoubleTaskType": 1,
"DoubleTaskMaster": true,
"PlannedStart": "2025-11-04T09:01:23.405747+01:00",
"PlannedEnd": "2025-11-04T09:01:23.405747+01:00",
"PlannedMinutes": 4,
"ActualStart": "2025-11-04T09:01:23.405747+01:00",
"ActualEnd": "2025-11-04T09:01:23.405747+01:00",
"ActualMinutes": 1,
"IsCancelled": true,
"IsDone": true,
"VisitType": "sample string 7",
"VisitTypeFlatRateMinutes": 1,
"VisitTypeIsCustom": true,
"IsWorkTime": true,
"IsClientTime": true
},
{
"TaskID": 1,
"DoubleTaskID": 1,
"DoubleTaskType": 1,
"DoubleTaskMaster": true,
"PlannedStart": "2025-11-04T09:01:23.405747+01:00",
"PlannedEnd": "2025-11-04T09:01:23.405747+01:00",
"PlannedMinutes": 4,
"ActualStart": "2025-11-04T09:01:23.405747+01:00",
"ActualEnd": "2025-11-04T09:01:23.405747+01:00",
"ActualMinutes": 1,
"IsCancelled": true,
"IsDone": true,
"VisitType": "sample string 7",
"VisitTypeFlatRateMinutes": 1,
"VisitTypeIsCustom": true,
"IsWorkTime": true,
"IsClientTime": true
}
]
},
{
"GroupId": 1,
"LastUpdate": "2025-11-04T09:01:23.405747+01:00",
"Data": [
{
"TaskID": 1,
"DoubleTaskID": 1,
"DoubleTaskType": 1,
"DoubleTaskMaster": true,
"PlannedStart": "2025-11-04T09:01:23.405747+01:00",
"PlannedEnd": "2025-11-04T09:01:23.405747+01:00",
"PlannedMinutes": 4,
"ActualStart": "2025-11-04T09:01:23.405747+01:00",
"ActualEnd": "2025-11-04T09:01:23.405747+01:00",
"ActualMinutes": 1,
"IsCancelled": true,
"IsDone": true,
"VisitType": "sample string 7",
"VisitTypeFlatRateMinutes": 1,
"VisitTypeIsCustom": true,
"IsWorkTime": true,
"IsClientTime": true
},
{
"TaskID": 1,
"DoubleTaskID": 1,
"DoubleTaskType": 1,
"DoubleTaskMaster": true,
"PlannedStart": "2025-11-04T09:01:23.405747+01:00",
"PlannedEnd": "2025-11-04T09:01:23.405747+01:00",
"PlannedMinutes": 4,
"ActualStart": "2025-11-04T09:01:23.405747+01:00",
"ActualEnd": "2025-11-04T09:01:23.405747+01:00",
"ActualMinutes": 1,
"IsCancelled": true,
"IsDone": true,
"VisitType": "sample string 7",
"VisitTypeFlatRateMinutes": 1,
"VisitTypeIsCustom": true,
"IsWorkTime": true,
"IsClientTime": true
}
]
}
]
}
]