This function modifies one or more attributes of a attendance.
updateAttendance(section_id, enrollment_id, date, status, comment = "")
section_id | The id of the section for which the attendance entry will be added. |
---|---|
enrollment_id | The id of the enrollment for the student in the course section. |
date | The date of the attendance entry in YYYY-MM-DD format. |
status | 1, 2, 3, or 4 corresponding to 'present', 'absent', 'late', or 'excused'. |
An array of attendance ids and statuses