Is it possible to get attendance records for students who were present?

Title pretty much says it all. I'm attempting to pull in attendance records using the ‘v1/attendance’ endpoint, but it only seems to return records that were marked as excused.

Any help would be much appreciated.

Comments

  • Brian Gray
    Brian Gray Community All-Star
    Eighth Anniversary Kudos 5 First Reply bbcon 2025 Attendee Badge

    @Francis Gallagher - As far as I can tell, there is no database entry for each student who is “present” - it is a conclusion based on information that is in the database.

    To conclude that a student was present, you have to determine that the class was scheduled to meet, that it was not marked as cancelled, that the student was enrolled in the course on that day, and that there is no absence infraction recorded for the student that day.

    (If a class is marked as cancelled by the teacher, on the student's profile page the schedule for the day indicates that the student attended anyway.)

  • Thanks Brian! Sorry for the late reply.

    I have noticed that if I change a students attendance back and forth from present to absent, the attendance record retains the same ID when I get the absent record, so I had hoped that it did actually exist as a present attendance record, but perhaps not.

    Do you know which api endpoints I would need to use to gather the section information you have described?

  • Brian Gray
    Brian Gray Community All-Star
    Eighth Anniversary Kudos 5 First Reply bbcon 2025 Attendee Badge

    @Francis Gallagher -

    To get the list of sections for a specific student, Academics student enrollment list will return a list of all sections that a student is or was enrolled in. Look at the begin_date and end_date fields to verify that the student was enrolled in that section on the day in question.

    I don't see an endpoint to get the information about "attendance taken" or "class cancelled" so my program reads and Advanced List. On the Select Objects tab, in the Absence section, add the Attendance Taken object. I get the fields Attendance ID, Group ID, Calendar Date, Created Date, Did Not Meet, Created User, Calendar Datetime (the scheduled date and start time of the class meeting).

Categories