[ARCHIVED] Enrollments API currentScore field is null

mileshenrichs
Community Member

Hi,

I'm interested in using the list enrollments API to grab a snapshot of each student's current grade in a course.  I'd like to compare snapshots taken at periodic intervals to detect when a student's grade has changed.  The currentPoints field of the Grade object seems like it will work for this purpose in most cases, except for when a student receives a grade of 0 on an assignment (currentPoints won't increase).

To detect a score of 0, it seems like the currentScore field would help -- receiving a 0 on an assignment, while not changing currentPoints, would almost certainly decrease currentScore.  However, I've noticed that the currentScore field is missing (null) if there is one or more ungraded assignments.  Many instructors create all of a course's assignments at the beginning of the semester, so throughout the semester the currentScore field will be useless.  Is there a way to get the currentScore field, ignoring ungraded assignments?

Thank you!

Labels (2)
0 Likes