POST - Exam
The POST /evaluation-platform/v1/exam endpoint allows you to create a new exam for a specific class, subject, and exam type. Once an exam is created successfully, it returns a unique examId and status.
This API allows a teacher to create a new exam for a specific class, subject, and exam type. The newly created exam is initially empty and can be configured further by associating documents or additional metadata.
Scenario: Creating a New Exam for a Class
A teacher needs to set up a new exam for ‘Class 10’ in the subject ‘Science’ and exam type ‘Pre Boards.’
- The teacher uses this API to create an empty exam by providing the required class, subject, and exam type.
Response:
- A unique
examId
(e.g.,d19e6868-98dd-4274-a2a5-4a616dd93ea7
) is returned. - The
status
field indicates that the exam creation was successful.
Next Steps:
- The teacher can use the
examId
in subsequent APIs to upload relevant documents or configure the exam further
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Name of the exam
"Mid-Term Exam"
Class for which the exam is intended
10
Subject ID
1
Type of exam.
1
Set of the exam paper
"A"
Date of the exam (should be in the format format - 'YYYY-MM-DD')
"2025-01-10"
Optional section of the class
"A"