Skip to content
Woolf Help Center home
Woolf Help Center home

✅ 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

attendance

AttendanceInput!

Attendance details including student ID, resource ID, and attendance status.

Input Object: AttendanceInput

Field

Type

Description

studentId

ID!

ID of the student whose attendance is being recorded.

resourceId

ID!

ID of the resource (e.g., lecture, assignment) linked to this attendance.

timestamp

String

Optional timestamp of the attendance record.

Response Fields

Field

Type

Description

activityId

ID!

Unique identifier of the recorded attendance activity.

assets

[AssetUpload!]!

List of assets uploaded as attendance proof.

evidenceAssets

[AssetUpload!]!

List of evidence assets attached to the attendance record.

🚀 Request (Try It)