✨ Attendance
Endpoint : /attendance (GET method expected)
Example API Response
js
[
{
"year": "2024-2025", // Academic year for the attendance records
"student_gr_number": "001", // Unique identifier for the student
"attendance": { // Object containing attendance status for different dates.
"2024-12-12": "P", // Date (YYYY-MM-DD) : Status ("P" for Present, "A" for Absent)
"2024-12-13": "A",
"2024-12-15": "P",
"2024-12-16": "A"
}
}
]Mandatory Parameters
| Name | Parameter | Description | Expected Values |
|---|---|---|---|
| year | format | Academic year for the attendance records | 2024-2025 |
| student_gr_number | Text | Unique identifier for the student | 001 |
| attendance | Object | Object containing attendance status for different dates. | ["2024-12-12": "P","2024-12-13": "A","2024-12-15": "P","2024-12-16": "A" ] |
Notes:
- The dates within the
attendanceobject should consistently follow theYYYY-MM-DDformat. - The attendance status should adhere to a defined set of codes (e.g., "P", "A"). Please confirm if other status codes are used.
