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. documents or provide a rubricId 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
Numeric type representing the role of the user.
"1"
Flag to trigger evaluation if set to 'true'. Only one of documents, rubricId, or isFinal is allowed.
true, false "true"
List of model answer sheet documents to upload (if any).
Model answer sheet updated successfully.
Unique identifier for the model answer sheet.
"3b27e0be-f9e8-4c4d-977b-b315bfb292ab"
List of documents associated with the model answer sheet.
[]Status of the model answer sheet (refer this doc to get the constants)
1