cURL
curl --request POST \ --url https://test-api.afrainity.com/api/v1/school/sessions/{session_pk}/exam-sessions/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "term": "1", "name": "<string>", "is_published": true, "is_deleted": true, "is_active": true } '
{}
Create a new exam session within an academic session. This represents a collection of exams (e.g., End of Term 1 Exams).
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Auto-populate created_by from request.user when available.
1
2
3
1 - 255