GET |
/course/list |
- |
Get all the entries in course table |
POST |
/course/addNewCourse |
course_id, coursename, type, credits |
Add New course in course table |
POST |
/course/addMultipleNewCourse |
.xlsx file of ( course_id, coursename, type, credits) |
Add Multiple New course in course table |
POST |
/course/updateCourse |
course_id, coursename, type, credits |
Update Exisitng course in course table |
POST |
/course/deleteCourse |
course_id |
Delete all entries of course_id from courseEnrollment, availableCourses and course table |
POST |
/course/addAvailableCourse |
course_id, semester, branch, totalSeats, grp |
Add new availibility for a course in availableCourses table |
POST |
/course/getAvailableSeats |
course_id, semester, branch |
Get Seats available for a course |
POST |
/course/decreaseAvailableSeats |
course_id, semester, branch |
Decreases seats available in a course by 1 if not 0 |
POST |
/course/increaseAvailableSeats |
course_id, semester, branch |
Increases seats available in a course by 1 |
POST |
/course/updateTotalSeats |
course_id, semester, branch |
Update Total Seats |
GET |
/course/deleteAllAvailableCourse |
- |
Delete all entries in availableCourses tables |
POST |
/course/courseAvailibility |
course_id |
Get all different availibility for a particular course |
POST |
/course/availableCoursesInSem |
semester |
Get all courses in a semester |
POST |
/course/availableCoursesForBranch |
branch |
Get all courses for a branch |
POST |
/course/getCoreCourses |
branch,semester |
Get list of all the Core courses for a sem branch combo |
POST |
/course/getElectiveCourses |
branch,semester |
Get list of all the elective courses for a sem branch combo |
POST |
/course/addEnrollment |
student_id, course_id |
Add Enrollment for a student |
POST |
/course/deleteEnrollment |
student_id, course_id |
Delete Enrollment for a student |
POST |
/course/isEnrolledInCourse |
student_id, course_id |
If student is enrolled in a course return true else false |