Student Registration
Base URL: http://192.168.100.250/
Endpoints
Section titled “Endpoints”| Method | Endpoint | Description |
|---|---|---|
| GET | /stu-reg |
Get filter form data |
| GET | /student-registration/students |
Get students DataTable |
| GET | /student-registration/student/{id} |
Get single student with registration |
| POST | /student-registration/store |
Store registration |
| POST | /student-registration/bulk-update |
Bulk update registrations |
| POST | /student-registration/selected-students |
Get selected students |
Filter Form
Section titled “Filter Form”GET /stu-regAccept: application/jsonStudent DataTable
Section titled “Student DataTable”GET /student-registration/students?program_id=7&academic_year_id=10&semester_id=7| Query Param | Required |
|---|---|
program_id |
Yes |
academic_year_id |
Yes |
semester_id |
Yes |
Get Single Student
Section titled “Get Single Student”GET /student-registration/student/{id}Store Registration
Section titled “Store Registration”POST /student-registration/storeContent-Type: application/jsonRequest Body:
{ "student_id": 1, "board_reg": "123456", "roll_no": "10", "registration_year": "2080", "status": "registered"}Bulk Update
Section titled “Bulk Update”POST /student-registration/bulk-updateContent-Type: application/jsonRegister Bulk:
{ "student_ids": [1, 2, 3], "action": "register", "registration_year": "2080"}Unregister Bulk:
{ "student_ids": [1, 2, 3], "action": "unregister"}Update Board Reg Numbers:
{ "student_ids": [1, 2, 3], "action": "update_board_reg", "board_regs": { "1": "REG001", "2": "REG002", "3": "REG003" }}Get Selected Students
Section titled “Get Selected Students”POST /student-registration/selected-studentsContent-Type: application/jsonRequest Body:
{ "student_ids": [1, 2, 3]}