Skip to navigation

AddLessonAttendance

View as Markdown

Record a single lesson attendance. Used for classes set with Lesson Attendance mode.

studentToClassesCourse: the student’s class course enrollment id (Check the EnrollClassCourse call)

lecture: the lecture id (Check the GetSingleLectures call)

attendanceStatus: the attendance status id (Check the GetAttendanceStatuses call)

Note: the lecture must be marked as complete before its attendance can be changed.

Headers

dreamclass-secret-keystringOptional

Your DreamClass API key. Required on every request. Find it in the DreamClass app under Settings > Integrations.

tenantstringOptional

Your tenant code: the DreamClass subdomain you sign in at (for https://myaccount.dreamclass.io it is “myaccount”), or your full white-labelled domain. Required on every request.

schoolCodestringOptional

Your school code. Required on every request. Find it in the DreamClass app under Settings > Integrations.

Request

This endpoint expects an object.
studentToClassesCourseobjectRequired
lectureobjectRequired
attendanceStatusobjectRequired
commentstringRequired
minutesLateintegerRequired

Response headers

Access-Control-Allow-OriginstringOptional
Access-Control-Allow-MethodsstringOptional
X-Content-Type-OptionsstringOptional
Cache-ControlstringOptional

Response

OK
studentIdinteger
attendanceStatusstring
datedatetime
commentsstring
classIdinteger
courseIdinteger
minutesLateanyOptional
attendancePointsanyOptional