This API allows updating an existing exam. You can:
Key Notes:
Scenario: Finalizing an Exam and Triggering AI Extraction
This API allows a teacher to finalize an exam by setting the final attribute to true using the PATCH Update Exams API.
Outcome:
Note:
isFinal to true, the AI extraction process is initiated. This process may take some time to complete.documents or isFinal can be processed at a time.Example Workflow:
{ "isFinal": true }.documents and isFinal are provided in the same request, a validation error is returned. Use either documents to upload, or isFinal to trigger extraction — not both together. Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
"4340132f-50fa-4877-9ffa-e9b7ee59d51f"
The details to update for the exam paper.
The exam paper file to be uploaded.
The class the exam paper belongs to.
12
The subject of the exam paper.
1
The type of the exam.
1
The set of the exam.
"C"
Date of the exam (should be in the format format - 'YYYY-MM-DD')
The section of the class.
"A"
After successfully uploaded files pass this parameter as true for the extraction for your exam.
true
Successfully updated exam details.
The unique identifier for the updated exam.
"4340132f-50fa-4877-9ffa-e9b7ee59d51f"
Details of the documents attached to the exam.
[
{
"id": "628f10af-59b5-44f2-b27a-fdf30d254fd5",
"status": 0,
"pageNo": null,
"uploadTime": "2025-01-02T11:03:30.034720Z",
"url": "https://cgfblob.blob.core.windows.net/ielts/evaluation/CBSE_10_Maths_-_Mock_Test_A_SjFa0sA.pdf",
"fileType": 1
}
]