v1
latestOpenAPI 3.1.02026-08-06118124285.7 KBStandard Variables
List standard variables
Fetches standard variables from the statistics service.
post/v2/statistics/standard-variables
Request body
Example request
{
"period": {
"start": "2026-01-01T00:00:00",
"end": "2026-01-31T23:59:59",
"aggregation-type": "D",
"aggregation-value": 1
},
"filters": [
{
"name": "employee",
"timeRange": {
"enabled": true,
"from": "08:00",
"to": "17:00"
}
}
],
"baseScheduleData": {
"baseScheduleId": "abc123"
},
"statisticsFilterTypes": "and",
"people-filter-type": "and",
"shifts-filter-type": "and",
"tasks-filter-type": "and",
"punches-filter-type": "and",
"absences-filter-type": "and"
}Response
OK
Example response
[
{
"variable": "scheduled-hours",
"values": [
{
"start": "2026-01-01T00:00:00",
"end": "2026-01-01T23:59:59",
"value": 100,
"employeeId": 1
}
],
"total-value": 100
}
]