Skip to main content
POST
Create a new exam for a specific class, subject, and date.

Authorizations

Authorization
string
header
required

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

Body

application/json
examName
string
required

Name of the exam

Example:

"Mid-Term Exam"

grade
integer
required

Class for which the exam is intended

Example:

10

subject
integer
required

Subject ID

Example:

1

examType
integer
required

Type of exam.

Example:

1

examSet
string
required

Set of the exam paper

Example:

"A"

examDate
string<date>
required

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

Example:

"2025-01-10"

classSection
string

Optional section of the class

Example:

"A"

Response

Exam created successfully.

examId
string

Unique identifier of the exam

Example:

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

documents
object[]

An empty array to attach further content.

Example: