Quiz Submission Questions API Not Returning 'answer' for Multiple Choice Question

Milty
Community Explorer

I'm trying to gather data on if a student gets a question correct and if not which answer they chose. This is for a quiz with a Quiz Type of 'Practice Quiz'. (Classic Quiz)
From what I have read in the API documentation 'answer' should be returned for multiple choice questions. Is there some sort of setting that might be causing the 'answer' field to be excluded in the returned results?

I've tried changing the quiz type to something that would give it an assignment_id but still no luck.

Has anyone else seen this issue or knows how to get around it? I want to avoid the "assignment_id -> assignment_submissions -> include[]=submission_history" workaround.

0 Likes