Skip to content

Student Report

Base URL: http://192.168.100.250/

GET {{baseUrl}}/reports/student

No extra API call — all filter data rendered server-side into HTML.

GET {{baseUrl}}/getProgram?faculty_id={{facultyId}}&level_id={{levelId}}

Response: HTML <option> strings

GET {{baseUrl}}/getSemester?program_id={{programId}}

Response: HTML <option> strings

GET {{baseUrl}}/nepal_location.json

Response: JSON — cascading Province → District → Municipality

POST {{baseUrl}}/reports/student/generate
Content-Type: application/x-www-form-urlencoded
{
"_token": "{{csrfToken}}",
"report_type": "a|b|c|d|e|f|g|h|i|j|k|l|m",
"academic_year_id": "{{academicYearId}}",
"faculty_id": "{{facultyId}}",
"level_id": "{{levelId}}",
"program_id": "{{programId}}",
"program_semester_id": "{{semesterId}}",
"gender": "all|male|female|other",
"ethnicity": "{{ethnicity}}",
"province": "{{province}}",
"district": "{{district}}",
"local_level": "{{localLevel}}"
}

report_type values:

Type Report
a Student Enrollment Detail Report
b Total Students by Faculty and Gender
c Total Students by Faculty and Ethnicity
d Total Students by Level and Gender
e Total Students by Program and Gender
f Total Students by Program, Ethnicity and Gender
g Total Students by District, Ethnicity and Gender
h Total Students by Province, Ethnicity and Gender
i Total Students by Faculty, Level, Program and Local Level
j Total Students by Age Group
k Total Students by Level, Faculty and Program
l Semester-wise Student Enrollment Report
m Academic Year and Semester Combined Report

Response: Full HTML page with report table/chart (not JSON). Standard form submit, not AJAX.