This API allows authenticated users to update an existing assignment by modifying its details or uploading assignment documents.
Key Notes:
id (required in path): Unique identifier of the assignment to be updated.multipart/form-data for file uploads.assignmentName, grade, section, or upload a document file using the documents field.isFinal flag to signal that the document upload is complete, which will trigger document extraction.Scenario: Uploading the Final Document
isFinal to 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.
Unique identifier of the assignment
Name of the assignment
"English Assignment"
Type of user
1
ID of the parent institute
"100"
ID of the institute
"200"
ID of the course
"300"
Grade of the assignment
"7"
Section of the assignment
"A"
The assignment file to be uploaded.
After successfully uploaded the assignment then set isFinal as true it will start extracting your document.
true
Assignment updated successfully
Unique identifier for the assignment.
"2600413f-7c6e-46ef-8ea9-3e7b5834879f"
Name of the assignment.
"English Assignment"
Status of the assignment (refer this doc to get the constants)
2
Grade of the assignment.
"7"
10
Section of the assignment.
"A"
ID of the parent institute.
"100"
ID of the institute.
"200"
ID of the course.
"300"
List of documents associated with the assignment.
Created date for the assignment.
"2025-04-06T09:03:42.099207Z"
Modified date of the assignment.
"2025-04-06T09:06:19.351379Z"