read:attendance permission. Totals are aggregated in SQL with conditional counts and paginated at the database — nothing is loaded into memory to be counted. groupBy=period buckets by day, week or month; groupBy=person returns per-user totals for the recap table.core.session_token: ********************Authorization: Bearer ********************curl --location '/attendance/admin/recap?from=&to=&granularity=&groupBy=&slotId=&personType=&classId=&page=&limit='{
"success": true,
"message": "string",
"meta": {
"page": 0,
"limit": 0,
"total": 0
},
"errors": [
{
"code": "CR-100001",
"field": "string",
"message": "string"
}
],
"result": [
{
"bucket": "2019-08-24",
"total": 0,
"present": 0,
"excused": 0,
"absent": 0,
"pending": 0,
"late": 0,
"lateMinutes": 0,
"attendanceRate": 0
}
]
}