Attendance statuses are associated with an enrollment and a specific date.
Table of Contents
Attendance statuses are assigned to users for a specific date through enrollments.
Fields
Field
Name
Description
Type
Required
enrollment_id
Enrollment ID
The ID of the enrollment for which you are assigning an attendance status
integer
yes
date
Date
The date for which the status is being set
date (YYYY-MM-DD)
yes
status
Status
The attendance status:
1: present
2: absent
3: late
4: excused
{1-4}
yes
comment
Comment
A comment to associate with this attendance status
string
Operations
list
View a list of attendance statuses (paged). The following query strings can (optionally) be appended to the path to filter results:
start and end: filter statuses for a given date range, inclusive (YYYY-MM-DD)
enrollment_id: filter statuses for a given enrollment
Retrieving this list without specifying the above parameters will return a paged list of statuses for all dates and students in the course section.
In general, this endpoint will not return records for a status of PRESENT. Rather, callers should assume that if attendance was taken on a given day then all enrollments should be considered PRESENT outside of whatever status-specific records were returned.
Path
GET https://api.schoology.com/v1/sections/{section_id}/attendance
Content
none
Return
A collection of attendance status objects, each one containing attendance fields