[ARCHIVED] REST API - quiz_statistics - matching - multiple attempts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2021
08:10 AM
I am using the REST API to get data
question_type: 'matching_question',
question_text: '<p>Match the hex values on the left with the binary values on the right</p>',
position: 2,
correct: 8,
partially_correct: 4,
incorrect: 0,
responses: 1,
answered: 1,
The quiz is set to allow multiple attempts and in this case, there were 12 students and 2 took the quiz twice.
For the statistics, I would like to see the unique statistics based on each student's latest attempt - or respect the grading approach
For example, if one student took the quiz twice, the statistics would include only the latest attempt for that student.
A work around is to sum the correct, partially_correct and incorrect values.
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.