Skip to main content
PATCH
Update exam paper details

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
Example:

"4340132f-50fa-4877-9ffa-e9b7ee59d51f"

Body

The details to update for the exam paper.

documents
file

The exam paper file to be uploaded.

grade
integer

The class the exam paper belongs to.

Example:

12

subject
integer

The subject of the exam paper.

Example:

1

examType
integer

The type of the exam.

Example:

1

examSet
string

The set of the exam.

Example:

"C"

examDate
string<date>

Date of the exam (should be in the format format - 'YYYY-MM-DD')

classSection
string

The section of the class.

Example:

"A"

isFinal
boolean

After successfully uploaded files pass this parameter as true for the extraction for your exam.

Example:

true

fileUrl
string<uri>

Public HTTPS URL to a PDF. Use instead of uploading documents (images or a single PDF). The URL must be publicly accessible without authentication and must end with a .pdf extension. Mutually exclusive with documents in the same request.

Example:

"https://cdn.example.com/exams/question-paper.pdf"

Response

Successfully updated exam details.

examId
string

The unique identifier for the updated exam.

Example:

"4340132f-50fa-4877-9ffa-e9b7ee59d51f"

documents
object[]

Details of the documents attached to the exam.

Example: