This API endpoint is used to create or update a GradeBook.
curl -X POST https://yourdomain.com/academic/gradebook/marksheeet \
-H "Content-Type: application/json" \
-d '{
"exam_id": 1,
"class_id": 1
}'
This API endpoint is used to create or update a GradeBook.
curl -X POST https://yourdomain.com/academic/gradebook/save \
-H "Content-Type: application/json" \
-d '{
"exam_id": 1,
"class_id": 1,
"subject_id": 2,
"staff_id": 31,
"section": "A"
}'
{"status": 1, "message": "Grade book saved successfully"}This API endpoint is used to delete a GradeBook.
curl -X POST https://yourdomain.com/academic/gradebook/delete \
-H "Content-Type: application/json" \
-d '{
"grade_book_id": 1
}'
{"status": 1, "message": "Grade book deleted successfully"}This API endpoint is used to list GradeBooks based on class IDs.
curl -X POST https://yourdomain.com/academic/gradebook/list \
-H "Content-Type: application/json" \
-d '{
"class_ids": [1, 2],
"offset": 0,
"limit": 10
}'
{
"status": 1,
"totalRecords": 2,
"data": [
{
"grade_book_id": 1,
"exam_id": 1,
"class_id": 1,
"subject_id": 2,
"staff_id": 31,
"section": "A",
"exam_name": "Aug 2024",
"subject_name": "English"
}
]
}
This API endpoint is used to retrieve details of a specific GradeBook.
curl -X POST https://yourdomain.com/academic/gradebook/get \
-H "Content-Type: application/json" \
-d '{
"grade_book_id": 1
}'
{
"status": 1,
"data": {
"grade_book_id": 1,
"exam_id": 1,
"class_id": 1,
"subject_id": 2,
"staff_id": 31,
"section": "A",
"exam_name": "Aug 2024",
"subject_name": "English"
}
}
This API endpoint is used to generate grades for students in a GradeBook.
curl -X POST https://yourdomain.com/academic/gradebook/generate_grades \
-H "Content-Type: application/json" \
-d '{
"grade_book_id": 1
}'
{"status": 1, "message": "Grades generated successfully"}This API endpoint is used to save or update student marks in a GradeBook.
curl -X POST https://yourdomain.com/academic/gradebook/student_marks/save \
-H "Content-Type: application/json" \
-d '{
"grade_book_id": 1,
"student_id": 20,
"marks_obtained": 85,
}'
{"status": 1, "message": "Student marks saved successfully"}This API endpoint lists marks based on exam, class, and subject.
curl -X POST https://yourdomain.com/academic/gradebook/marks/list_by_exam_class_subject \
-H "Content-Type: application/json" \
-d '{
"exam_id": 1,
"class_id": 1,
"subject_id": 2
}'
{
"status": 1,
"data": [
{
"grade_id": 1,
"grade_book_id": 1,
"student_id": 20,
"marks_obtained": 85,
"first_name": "Whiter",
"last_name": "Blue"
}
]
}
This API endpoint lists marks for a student based on academic year.
curl -X POST https://yourdomain.com/academic/gradebook/marks/list_by_student_year \
-H "Content-Type: application/json" \
-d '{
"student_id": 20,
"academic_year_id": 1
}'
{
"status": 1,
"data": [
{
"grade_id": 1,
"grade_book_id": 1,
"exam_id": 1,
"class_id": 1,
"subject_id": 2,
"grade": "A",
"exam_name": "Aug 2024",
"subject_name": "English"
}
]
}