Skip to content

Student Registration

Base URL: http://192.168.100.250/


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

GET /stu-reg
Accept: application/json

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 /student-registration/student/{id}

POST /student-registration/store
Content-Type: application/json

Request Body:

{
"student_id": 1,
"board_reg": "123456",
"roll_no": "10",
"registration_year": "2080",
"status": "registered"
}

POST /student-registration/bulk-update
Content-Type: application/json

Register 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" }
}

POST /student-registration/selected-students
Content-Type: application/json

Request Body:

{
"student_ids": [1, 2, 3]
}