Kurswahl 2 Help

API Reference

/api/student/choice GET

GET method/api/student/choice

Getting choice of Students

Request parameters

Responses

/api/student/choice PUT

PUT method/api/student/choice

Altering Choice of Student

Request parameters

{ "choiceNumber": 14, "classId": 91 }

Responses

/api/student/choice DELETE

DELETE method/api/student/choice

Deleting class from choice of Students

Request parameters

{ "choiceId": 36, "classId": 91 }

Responses

/api/auth/resetPasswords PUT

PUT method/api/auth/resetPasswords

Resetting Password of User List

Request parameters

[ { "userId": 6 } ]

Responses

/api/auth/resetPassword PUT

PUT method/api/auth/resetPassword

Resetting Password of User

Request parameters

{ "userId": 6 }

Responses

/api/auth/changePassword PUT

PUT method/api/auth/changePassword

Changing Password of User

Request parameters

{ "oldPassword": "example", "newPassword": "example" }

Responses

/api/admin/teacher GET

GET method/api/admin/teacher

Getting Teacher

Request parameters

Responses

/api/admin/teacher PUT

PUT method/api/admin/teacher

Editing Teacher

Request parameters

{ "firstname": "example", "surname": "example", "abbreviation": "example" }

Responses

/api/admin/teacher POST

POST method/api/admin/teacher

Signing up new Teacher

Request parameters

{ "firstname": "example", "surname": "example", "abbreviation": "example" }

Responses

/api/admin/teacher DELETE

DELETE method/api/admin/teacher

Getting Teacher

Request parameters

Responses

/api/admin/tape GET

GET method/api/admin/tape

Getting tape

Request parameters

Responses

/api/admin/tape PUT

PUT method/api/admin/tape

Editing tape

Request parameters

{ "name": "example", "year": 93, "lk": false }

Responses

/api/admin/tape POST

POST method/api/admin/tape

Create new tape

Request parameters

{ "name": "example", "year": 93, "lk": false }

Responses

/api/admin/tape DELETE

DELETE method/api/admin/tape

Deleting tape

Request parameters

Responses

/api/admin/subject GET

GET method/api/admin/subject

Getting subject

Request parameters

Responses

/api/admin/subject PUT

PUT method/api/admin/subject

Editing subject

Request parameters

{ "name": "example", "subjectAreaId": 28 }

Responses

/api/admin/subject POST

POST method/api/admin/subject

Create new subject

Request parameters

{ "name": "example", "subjectAreaId": 28 }

Responses

/api/admin/subject DELETE

DELETE method/api/admin/subject

Deleting subject

Request parameters

Responses

/api/admin/subjectArea GET

GET method/api/admin/subjectArea

Getting subject area

Request parameters

Responses

/api/admin/subjectArea PUT

PUT method/api/admin/subjectArea

Editing subject area

Request parameters

{ "name": "example" }

Responses

/api/admin/subjectArea POST

POST method/api/admin/subjectArea

Create new subject area

Request parameters

{ "name": "example" }

Responses

/api/admin/subjectArea DELETE

DELETE method/api/admin/subjectArea

Deleting subject area

Request parameters

Responses

/api/admin/student GET

GET method/api/admin/student

Getting Student

Request parameters

Responses

/api/admin/student PUT

PUT method/api/admin/student

Editing Student

Request parameters

{ "firstname": "example", "surname": "example", "studentClassId": 20 }

Responses

/api/admin/student POST

POST method/api/admin/student

Signing up new Student

Request parameters

{ "firstname": "example", "surname": "example", "studentClassId": 20 }

Responses

/api/admin/student DELETE

DELETE method/api/admin/student

Deleting Student

Request parameters

Responses

/api/admin/studentClass GET

GET method/api/admin/studentClass

Getting student class

Request parameters

Responses

/api/admin/studentClass PUT

PUT method/api/admin/studentClass

Editing student class

Request parameters

{ "name": "example", "year": 93, "teacherId": 23 }

Responses

/api/admin/studentClass POST

POST method/api/admin/studentClass

Create a new student class

Request parameters

{ "name": "example", "year": 93, "teacherId": 23 }

Responses

/api/admin/studentClass DELETE

DELETE method/api/admin/studentClass

Deleting student class

Request parameters

Responses

/api/admin/settings GET

GET method/api/admin/settings

Getting Settings

Responses

/api/admin/settings PUT

PUT method/api/admin/settings

Editing Settings

Request parameters

{ "classSizeWarning": 63, "classSizeCritical": 60, "choiceOpen": false, "resultOpen": false }

Responses

/api/admin/rule GET

GET method/api/admin/rule

Getting rule

Request parameters

Responses

/api/admin/rule PUT

PUT method/api/admin/rule

Editing rule

Request parameters

{ "year": 93, "name": "example", "subjectIds": [ 44, 44 ] }

Responses

/api/admin/rule POST

POST method/api/admin/rule

Getting rule

Request parameters

{ "year": 93, "name": "example", "subjectIds": [ 44, 44 ] }

Responses

/api/admin/rule DELETE

DELETE method/api/admin/rule

Deleting rule

Request parameters

Responses

/api/admin/class GET

GET method/api/admin/class

Getting class

Request parameters

Responses

/api/admin/class PUT

PUT method/api/admin/class

Editing class

Request parameters

{ "name": "example", "teacherId": 23, "subjectId": 43, "tapeId": 27 }

Responses

/api/admin/class POST

POST method/api/admin/class

Create a new class

Request parameters

{ "name": "example", "teacherId": 23, "subjectId": 43, "tapeId": 27 }

Responses

/api/admin/class DELETE

DELETE method/api/admin/class

Deleting class

Request parameters

Responses

/api/admin/assignChoice PUT

PUT method/api/admin/assignChoice

Assigning ChoiceClass to student

Request parameters

Responses

/api/admin/assignChoice POST

POST method/api/admin/assignChoice

Assigning alternate Choice to student

Request parameters

{ "classId": 91, "studentId": 42 }

Responses

/api/admin/assignChoice DELETE

DELETE method/api/admin/assignChoice

Deleting ChoiceClass selection from student

Request parameters

Responses

/api/admin/admin GET

GET method/api/admin/admin

Gets Admin

Request parameters

Responses

/api/admin/admin PUT

PUT method/api/admin/admin

Edit Admin

Request parameters

{ "firstname": "example", "surname": "example" }

Responses

/api/admin/admin POST

POST method/api/admin/admin

Signs up new Admin

Request parameters

{ "firstname": "example", "surname": "example" }

Responses

/api/admin/admin DELETE

DELETE method/api/admin/admin

Deletes Admin

Request parameters

Responses

/api/common/message GET

GET method/api/common/message

Getting Message by id

Request parameters

Responses

/api/common/message POST

POST method/api/common/message

Creating new Message

Request parameters

{ "title": "example", "message": "example", "addresseeIds": [ 52, 52 ] }

Responses

/api/auth/standardAdmin POST

POST method/api/auth/standardAdmin

Creating Standard Admin

Responses

/api/auth/login POST

POST method/api/auth/login

Logging in User

Request parameters

{ "username": "example", "password": "example" }

Responses

/api/admin/lesson POST

POST method/api/admin/lesson

Creating new lesson

Request parameters

{ "day": 28, "hour": 76, "tapeId": 27 }

Responses

/api/admin/lesson DELETE

DELETE method/api/admin/lesson

Deleting lesson

Request parameters

Responses

/api/admin/csvTeachers POST

POST method/api/admin/csvTeachers

Importing Teachers from csv file

Request parameters

"example"

Responses

/api/admin/csvStudents POST

POST method/api/admin/csvStudents

Importing Students from csv file

Request parameters

{ "csv": "example", "year": 93 }

Responses

/api/teacher/classes GET

GET method/api/teacher/classes

Getting all classes for teacher

Request parameters

Responses

/api/student/tapeClasses GET

GET method/api/student/tapeClasses

Getting all tapes for Student's year

Request parameters

Responses

/api/student/subjectTapes GET

GET method/api/student/subjectTapes

Getting all subjects with the tapes they are on for Student's year

Request parameters

Responses

/api/student/choices GET

GET method/api/student/choices

Getting choices of Student

Request parameters

Responses

/api/student/choiceResult GET

GET method/api/student/choiceResult

Getting results of Student

Request parameters

Responses

/api/common/users GET

GET method/api/common/users

Getting all Users

Request parameters

Responses

/api/common/messages GET

GET method/api/common/messages

Getting Messages, that user received

Request parameters

Responses

/api/common/messages/sent GET

GET method/api/common/messages/sent

Getting Messages, that user sent

Request parameters

Responses

/api/admin/teachers GET

GET method/api/admin/teachers

Getting all teachers

Responses

/api/admin/teachers DELETE

DELETE method/api/admin/teachers

Deleting list of Teachers

Request parameters

[ 91, 91 ]

Responses

/api/admin/tapes GET

GET method/api/admin/tapes

Getting all tapes from year

Request parameters

Responses

/api/admin/tapes DELETE

DELETE method/api/admin/tapes

Deleting list of tapes

Request parameters

[ 91, 91 ]

Responses

/api/admin/subjects GET

GET method/api/admin/subjects

Getting all subjects

Responses

/api/admin/subjects DELETE

DELETE method/api/admin/subjects

Deleting list of subjects

Request parameters

[ 91, 91 ]

Responses

/api/admin/subjectAreas GET

GET method/api/admin/subjectAreas

Getting all subject areas

Responses

/api/admin/subjectAreas DELETE

DELETE method/api/admin/subjectAreas

Deleting list of subject areas

Request parameters

[ 91, 91 ]

Responses

/api/admin/students GET

GET method/api/admin/students

Getting all Students

Responses

/api/admin/students DELETE

DELETE method/api/admin/students

Deleting list of Students

Request parameters

[ 91, 91 ]

Responses

/api/admin/studentClasses GET

GET method/api/admin/studentClasses

Getting all student classes

Responses

/api/admin/studentClasses DELETE

DELETE method/api/admin/studentClasses

Deleting list of student classes

Request parameters

[ 91, 91 ]

Responses

/api/admin/studentChoices GET

GET method/api/admin/studentChoices

Getting choices of student

Request parameters

Responses

/api/admin/rules GET

GET method/api/admin/rules

Getting all rules by year

Request parameters

Responses

/api/admin/rules DELETE

DELETE method/api/admin/rules

Deleting list of rules

Request parameters

[ 91, 91 ]

Responses

/api/admin/result GET

GET method/api/admin/result

Get results

Request parameters

Responses

/api/admin/classes GET

GET method/api/admin/classes

Getting all classes

Request parameters

Responses

/api/admin/classes DELETE

DELETE method/api/admin/classes

Deleting list of classes

Request parameters

[ 91, 91 ]

Responses

/api/admin/classesStudents GET

GET method/api/admin/classesStudents

Get all classes with students

Request parameters

Responses

/api/admin/choiceTapes GET

GET method/api/admin/choiceTapes

Get all tapes by year

Request parameters

Responses

/api/admin/choiceSurveillance GET

GET method/api/admin/choiceSurveillance

Get choice surveillance

Responses

/api/admin/admins GET

GET method/api/admin/admins

Get all Admins

Responses

/api/admin/admins DELETE

DELETE method/api/admin/admins

Delete List of Admins

Request parameters

[ 91, 91 ]

Responses

/api/admin/alternativeChoice DELETE

DELETE method/api/admin/alternativeChoice

Deleting alternate Choice from student

Request parameters

Responses

Last modified: 11 July 2024