This API allows authenticated users to update an existing model answer by either attaching rubric-based evaluation criteria or uploading supporting documents.
path param
, required): Unique ID of the assignment.form-data
, required): Role of the user submitting the model answer (e.g., 1 for teacher).form-data
, optional): The unique ID of the rubric used for evaluation or you can refer this doc to get the rubricId
.form-data
, optional): Pass true
if this is the final model answer being submitted for evaluation.form-data
, optional): Uploads related documents such as reference material or answer sheets.documents
, rubricId
, or isFinal
.isFinal=true
, the model answer sheet will be sent for evaluation.⚠️ Key Note: You can either upload
documents
or provide arubricId
in a single request — not both. This is to ensure clarity in what part of the model answer you’re updating.
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Unique identifier of the assignment
Unique identifier of the model answer
Model answer sheet updated successfully.
The response is of type object
.