Skip to content

Faggruppe4Semester/DAB2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GroupNames:
Thomas Carstensen – 201807833
Markus Kristian Simonsen - 201808680
Matias Tvorup - 201807748
Frederik Vestergaard - 201708560

Every creation has been added onto a HTTPGET-request, so testing can be done through a browser.
In the following list of paths, the base-path ("localhost:<port>/api/[controller]/") should be added before the path, to perform the way we designed it.

NOTE: CourseID & AssignmentID is autogenerated. The ID's can be found using GetAllCourses & GetAllAssignments.

How To Start:
* Change Connectionstring in DAB_Assignment2-project.
* Database-Update
* F5

URL-Paths:

[controller]: Exercise
GetAllExercises:	"Default-Path. Nothing extra shoud be added."
CreateExercise:		Create/{Lecture}/{Number}/{Where}/{open}/{TeacherID}/{studentID}/{CourseID}
ChangeLocation:		Update/{Lecture}/{Number}/{Where}
ChangeTeacher: 		Update/{Lecture}/{Number}/{TeacherID}
ChangeStudent:		Update/{Lecture}/{Number}/{StudentID}
ChangeCourse:		Update/{Lecture}/{Number}/{CourseID}
UpdateOpen:		UpdateOpen/{Lecture}/{Number}/{active}

[controller]: Teacher
CreateTeacher: 		Create/{TeacherName}/{TeacherID}/{CourseID}
PrintOpenHelpRequests:	/{TeacherID}/{CourseID}

[controller]: Course
GetAllCourses:		"Default-Path. Nothing extra should be added."
CreateCourse:		Create/{courseName}
Help-Request Stats:	Stats/{CourseID}
AddStudent:		AddStudent/{studentID}/{courseID}/{active}/{semester}


[controller]: Assignment
GetAllAssignments:	"Default-Path. Nothing extra should be added."
CreateAssignment:	Create/{CourseID}/{TeacherID}
AddStudent:		AddStudent/{AssignmentID}/{studentID}


[controller]: Student
CreateStudent:		Create/{studentName}/{studentID}
GetHelpRequestsFromId:	{StudentID}
CreateHelpRequest:	CreateHelpRequest/{studentID}/{assignmentId}
UpdateHelpRequest:	UpdateHelpRequest/{studentId}/{assignmentId}/{status}
AddCourse:		AddToCourse/{studentID}/{courseID}/{active}/{semester}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages