Endpoint: POST /academic/class_teacher/list
curl -X POST {{base_url}}/academic/class_teacher/list \
-H "Content-Type: application/json"
This command lists all classes along with their assigned class teachers.
Endpoint: POST /academic/class_teacher/assign
curl -X POST {{base_url}}/academic/class_teacher/assign \
-H "Content-Type: application/json" \
-d '{
"class_id": 1,
"staff_id": 101
}'
This command assigns a teacher to a specific class. Replace class_id and staff_id with the appropriate values.
Endpoint: POST /academic/class_teacher/delete
curl -X POST {{base_url}}/academic/class_teacher/delete \
-H "Content-Type: application/json" \
-d '{
"class_id": 1
}'
This command deletes the class teacher assignment from the specified class. Replace class_id with the appropriate value.