AnsweredAssumed Answered

Submissions API not returning all submissions?

Question asked by Glen Parker on Apr 30, 2015
Latest reply on Sep 19, 2016 by MARCELO AMORIM

I think I'm running into an API bug and am hoping you can confirm.    I know the URLs won't work for most of you, but hopefully you can recognize something I'm missing.

 

I am calling the Submissions API to return all the submissions for a particular quiz in a particular course.    FWIW, there are 6300 students in this course.

The Course (982096)

https://usflearn.instructure.com/courses/982096

The Assignment : Quiz 5 (3156530)

 

The student, Adam Wetsch (ID 3867214), his submission is clearly a score of 100, I can click it and see his submission to the quiz.

http://note.io/1DYnwhg

 

 

However, the API is not including his submission in the results.   I am iterating over the 600-ish page calls, and I do not see his submissions included in the list.   I see more than 6000 other submissions, but his (and a few others) are not inlcuded in that list. 

 

 

Here is the API call I am making

https://usflearn.instructure.com/api/v1/courses/982096/assignments/3156530/submissions

 

 

If I use the API to load his submission directly by UserID, it loads fine. 

https://usflearn.instructure.com/api/v1/courses/982096/assignments/3156530/submissions/3867214

 

I've put in a ticket with support to see if they can replicate what I'm seeing. 

 

Has anyone else used Submissions and found that some records are missing?

 

Thanks, Glen

Outcomes