# Stats **GET /v1/attendances/stats** Stats Attendance Stats ## Servers - Development Server: https://api-dev.classmanager.io (Development Server) - Localhost: https://localhost (Localhost) - Local (Valet): https://classmanager.test (Local (Valet)) - Staging Server: https://api-stage.classmanager.io (Staging Server) - Production Server: https://api.classmanager.io (Production Server) ## Parameters ### Query parameters - **lessons** (array[object]) Array of lesson attendance stat requests - **courseId** (string) ## Responses ### 422 Validation error #### Body: application/json (object) - **statusCode** (number) Status Code - **messages** (array[string]) List of error messages - **exception** (object) Exception ### 200 List collection response #### Body: application/json (array[object]) - **classId** (string) Class ID - **date** (string(date)) Date of attendance - **time** (string) Time of attendance - **completePercent** (number(float)) Complete percentage - **attendancePercent** (number(float)) Attendance percentage - **presentCount** (integer) Number of present students - **absentCount** (integer) Number of absent students - **expectedCount** (integer) Expected number of students - **completeCount** (integer) Number of complete attendances - **incompleteCount** (integer) Number of incomplete attendances ### 403 Not authorized #### Body: application/json (object) - **statusCode** (number) Status Code - **messages** (array[string]) List of error messages - **exception** (object) Exception [Powered by Bump.sh](https://bump.sh)