How to access quiz answers "attempt details" from API?
I would like to see what users have answered to each question, so I can make a leaderboard. In one question they answer the name for the leaderboard.
The page shows various ways of getting the number correct they have, but I can't see how to get the actual answers, or to see if which question a specific user got right/wrong. Is this possible with the API?
I can do it (with a lot of clicks), by making report with "Attempt Details", but I need to do this once for each quiz, each time a student has answered a quiz, which is too much work.
Answers
-
@M.H.3221, if you don't see a particular route/data within the API documentation: then it is not currently possible via API at this time. Best we have regarding your question is to GET /d2l/api/le/(version)/(orgUnitId)/quizzes/(quizId)/attempts/(attemptId) a particular attempt, but this does not list question to question data at this time.
-Johnny
D2L LAM -
Should I post somewhere else, or do anything to let it be know that this is a desired feature?
-
@M.H.3221, posting this question here in Community is a great start. If you want to make a similar request in our Product Ideas Exchange, that is where we generally recommend people to go to for formal feature improvements for everything Brightspace/D2L.
-Johnny
D2L LAM -
I have had some similar questions about the quiz API and seeing user responses. I've been making use of the Scientific Notation version of questions as well as some questions that are multiple choice with graphics (i.e., which of the following images corresponds to XX). I've worked with the manual export of the excel file from grades, but the information is limited in what is provided. Did you ever post a request in the Product Idea Exchange? @M.H.3221


