PATCH - Student Answer Sheet
The API allows clients to upload and associate documents with an existing student answer sheet for a specific exam. Only one type of file format (either PDF, multiple images like JPEG or public pdf link) is allowed for a single answer sheet. Mixing formats in a single answer sheet is not permitted.
Key Notes:
- You can supply a PDF using
fileUrlinstead of uploading viadocuments. fileUrlmust be a public HTTPS URL, and the URL path must end with.pdf.- Use only one of
documents,fileUrl, orisFinalin a single request (do not combine them).
Scenarios:
-
Uploading PDF Document to a Student’s Answer Sheet:
- The teacher provides the Answer Sheet ID and uploads a PDF.
- Outcome:
- The student’s scanned answer sheet is successfully uploaded in PDF format, replacing the placeholder document.
-
Uploading Multiple JPEG Images for a Student’s Answer Sheet:
- A student’s handwritten answer sheet is scanned in parts and saved as multiple JPEG images.
- The teacher uploads each image sequentially using the same Answer Sheet ID.
- Outcome:
- All images are uploaded, completing the student’s answer sheet and associating them for grading.
documents and isFinal are provided in the same request, a validation error is returned. Use the two-step flow: first submit documents (file/image/public PDF link), then send isFinal in a separate request. For link-based uploads, the PDF URL must be publicly accessible. Documentation Index
Fetch the complete documentation index at: https://docs.crazygoldfish.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
"4340132f-50fa-4877-9ffa-e9b7ee59d51f"
"f5f2576f-1e3a-4869-88ae-a2c6cd2b9eab"
Body
The details to update for the student answer sheet.
The student answer file to be uploaded.
Public HTTPS URL to a PDF. Use instead of uploading documents. The URL must be publicly accessible without authentication and must end with a .pdf extension.
"https://cdn.example.com/answer-sheet/answer-sheet-101.pdf"
After successfully uploaded files pass this parameter as true for the extraction for your exam.
true
Response
Successful response
Unique identifier of the student answer sheet
"f5f2576f-1e3a-4869-88ae-a2c6cd2b9eab"
Unique identifier of the student
"2017009807"
Unique identifier of the institute
"98765"
Unique identifier of the teacher
"54321"
Name of the student
"John Doe"
Unique identifier of the parent
"11223"
List of documents associated with the student answer sheet