Edit exam questions, answers, or marks
Apply a teacher’s corrections to extracted questions, model answers, student answers, marks, and choice rules.
Rules
- The body is a JSON array, even for a single change. Every item needs
entityandid. - Every item is validated before anything is saved. One bad item rejects the whole call with
400. - The
idmust belong to the exam in the path. - An
answeritem that changestextormarksmust includeupdateReason. It comes back asteacherFeedback. - When an item changes
marksormaxQuestionAttempt, the totals above it are recalculated for you: the question group, then the section, then the exam.
What you can edit
answer and section edits keep working after evaluation, so a teacher can still change a student’s marks. An answer’s marks are only checked for being negative, not against the question’s marks, so validate that in your own interface.modelAnswer’s stepMarking does not change the question’s marks, so isModelAnswerMarkMismatch can turn true. Send a question item with the new marks in the same call to keep them in step.Next step
Publish exam results
Authorizations
Access token from Get an access token. A missing, invalid, or expired token returns 403.
Path Parameters
The exam id returned by Create an exam.
"d19e6868-98dd-4274-a2a5-4a616dd93ea7"
Body
1What you are editing.
question, parentQuestion, modelAnswer, answer, section The entity's id, which must belong to this exam.
New text. For modelAnswer it is the answer text, and for answer it is what the student wrote. Not used by section.
New marks. For parentQuestion and section it cannot exceed the total of the level below.
x >= 0For parentQuestion and section only: how many of the items below count toward the score. Cannot exceed how many exist.
x >= 0Mark the item as reviewed by a teacher.
For modelAnswer only: the new step by step marking.
Why the answer changed. Required when an answer item sends text or marks. It comes back as teacherFeedback.
For question and answer: a new diagram description. This field keeps its snake_case name.