✅ Add Attendance
The addAttendance mutation records a student's attendance for a specific activity. Attendance can be marked as PRESENT or ABSENT.
Input Parameters
Parameter | Type | Description |
|---|---|---|
| AttendanceInput! | Attendance details including student ID, resource ID, and attendance status. |
Input Object: AttendanceInput
Field | Type | Description |
|---|---|---|
| ID! | ID of the student whose attendance is being recorded. |
| ID! | ID of the resource (e.g., lecture, assignment) linked to this attendance. |
| String | Optional timestamp of the attendance record. |
Response Fields
Field | Type | Description |
|---|---|---|
| ID! | Unique identifier of the recorded attendance activity. |
| [AssetUpload!]! | List of assets uploaded as attendance proof. |
| [AssetUpload!]! | List of evidence assets attached to the attendance record. |