GET api/BusinessIntelligence/GetTaskMetrics?from={from}&to={to}
Get metrics for tasks. 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 TaskMetricsDto| 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 TaskMetricsDto |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Date": "2025-11-04T13:09:17.8373593+01:00",
"GroupData": [
{
"GroupId": 1,
"LastUpdate": "2025-11-04T13:09:17.8373593+01:00",
"Data": [
{
"TaskID": 1,
"DoubleTaskID": 1,
"DoubleTaskType": 1,
"DoubleTaskMaster": true,
"PlannedStart": "2025-11-04T13:09:17.8373593+01:00",
"PlannedEnd": "2025-11-04T13:09:17.8373593+01:00",
"PlannedMinutes": 4,
"ActualStart": "2025-11-04T13:09:17.8373593+01:00",
"ActualEnd": "2025-11-04T13:09:17.8373593+01:00",
"ActualMinutes": 1,
"IsQuickTask": true,
"IsCancelled": true,
"IsDone": true,
"ClientAge": 8,
"VisitType": "sample string 9",
"VisitTypeFlatRateMinutes": 1,
"ExternalId": "sample string 10"
},
{
"TaskID": 1,
"DoubleTaskID": 1,
"DoubleTaskType": 1,
"DoubleTaskMaster": true,
"PlannedStart": "2025-11-04T13:09:17.8373593+01:00",
"PlannedEnd": "2025-11-04T13:09:17.8373593+01:00",
"PlannedMinutes": 4,
"ActualStart": "2025-11-04T13:09:17.8373593+01:00",
"ActualEnd": "2025-11-04T13:09:17.8373593+01:00",
"ActualMinutes": 1,
"IsQuickTask": true,
"IsCancelled": true,
"IsDone": true,
"ClientAge": 8,
"VisitType": "sample string 9",
"VisitTypeFlatRateMinutes": 1,
"ExternalId": "sample string 10"
}
]
},
{
"GroupId": 1,
"LastUpdate": "2025-11-04T13:09:17.8373593+01:00",
"Data": [
{
"TaskID": 1,
"DoubleTaskID": 1,
"DoubleTaskType": 1,
"DoubleTaskMaster": true,
"PlannedStart": "2025-11-04T13:09:17.8373593+01:00",
"PlannedEnd": "2025-11-04T13:09:17.8373593+01:00",
"PlannedMinutes": 4,
"ActualStart": "2025-11-04T13:09:17.8373593+01:00",
"ActualEnd": "2025-11-04T13:09:17.8373593+01:00",
"ActualMinutes": 1,
"IsQuickTask": true,
"IsCancelled": true,
"IsDone": true,
"ClientAge": 8,
"VisitType": "sample string 9",
"VisitTypeFlatRateMinutes": 1,
"ExternalId": "sample string 10"
},
{
"TaskID": 1,
"DoubleTaskID": 1,
"DoubleTaskType": 1,
"DoubleTaskMaster": true,
"PlannedStart": "2025-11-04T13:09:17.8373593+01:00",
"PlannedEnd": "2025-11-04T13:09:17.8373593+01:00",
"PlannedMinutes": 4,
"ActualStart": "2025-11-04T13:09:17.8373593+01:00",
"ActualEnd": "2025-11-04T13:09:17.8373593+01:00",
"ActualMinutes": 1,
"IsQuickTask": true,
"IsCancelled": true,
"IsDone": true,
"ClientAge": 8,
"VisitType": "sample string 9",
"VisitTypeFlatRateMinutes": 1,
"ExternalId": "sample string 10"
}
]
}
]
},
{
"Date": "2025-11-04T13:09:17.8373593+01:00",
"GroupData": [
{
"GroupId": 1,
"LastUpdate": "2025-11-04T13:09:17.8373593+01:00",
"Data": [
{
"TaskID": 1,
"DoubleTaskID": 1,
"DoubleTaskType": 1,
"DoubleTaskMaster": true,
"PlannedStart": "2025-11-04T13:09:17.8373593+01:00",
"PlannedEnd": "2025-11-04T13:09:17.8373593+01:00",
"PlannedMinutes": 4,
"ActualStart": "2025-11-04T13:09:17.8373593+01:00",
"ActualEnd": "2025-11-04T13:09:17.8373593+01:00",
"ActualMinutes": 1,
"IsQuickTask": true,
"IsCancelled": true,
"IsDone": true,
"ClientAge": 8,
"VisitType": "sample string 9",
"VisitTypeFlatRateMinutes": 1,
"ExternalId": "sample string 10"
},
{
"TaskID": 1,
"DoubleTaskID": 1,
"DoubleTaskType": 1,
"DoubleTaskMaster": true,
"PlannedStart": "2025-11-04T13:09:17.8373593+01:00",
"PlannedEnd": "2025-11-04T13:09:17.8373593+01:00",
"PlannedMinutes": 4,
"ActualStart": "2025-11-04T13:09:17.8373593+01:00",
"ActualEnd": "2025-11-04T13:09:17.8373593+01:00",
"ActualMinutes": 1,
"IsQuickTask": true,
"IsCancelled": true,
"IsDone": true,
"ClientAge": 8,
"VisitType": "sample string 9",
"VisitTypeFlatRateMinutes": 1,
"ExternalId": "sample string 10"
}
]
},
{
"GroupId": 1,
"LastUpdate": "2025-11-04T13:09:17.8373593+01:00",
"Data": [
{
"TaskID": 1,
"DoubleTaskID": 1,
"DoubleTaskType": 1,
"DoubleTaskMaster": true,
"PlannedStart": "2025-11-04T13:09:17.8373593+01:00",
"PlannedEnd": "2025-11-04T13:09:17.8373593+01:00",
"PlannedMinutes": 4,
"ActualStart": "2025-11-04T13:09:17.8373593+01:00",
"ActualEnd": "2025-11-04T13:09:17.8373593+01:00",
"ActualMinutes": 1,
"IsQuickTask": true,
"IsCancelled": true,
"IsDone": true,
"ClientAge": 8,
"VisitType": "sample string 9",
"VisitTypeFlatRateMinutes": 1,
"ExternalId": "sample string 10"
},
{
"TaskID": 1,
"DoubleTaskID": 1,
"DoubleTaskType": 1,
"DoubleTaskMaster": true,
"PlannedStart": "2025-11-04T13:09:17.8373593+01:00",
"PlannedEnd": "2025-11-04T13:09:17.8373593+01:00",
"PlannedMinutes": 4,
"ActualStart": "2025-11-04T13:09:17.8373593+01:00",
"ActualEnd": "2025-11-04T13:09:17.8373593+01:00",
"ActualMinutes": 1,
"IsQuickTask": true,
"IsCancelled": true,
"IsDone": true,
"ClientAge": 8,
"VisitType": "sample string 9",
"VisitTypeFlatRateMinutes": 1,
"ExternalId": "sample string 10"
}
]
}
]
}
]