Skip to content

Courses

Developer From Jokela edited this page Sep 16, 2022 · 1 revision

/overview POST-request provides current courses, but it lacks future and past courses in comparison to offical API with API-key.

Body data:

  • date: Date of month in format dd.MM.yyyy
  • getfullmonth: true
  • format: json
  • formkey: Form Key of selected user

Response:

{
   "Role":"student",
   "AddAppt":false,
   "Schedule":[],
   "Exams":[],
   "Groups":[]
}

Example group:

{
    "Id":175362,
    "CourseId":16287,
    "CourseName":"Englannin kieli vaikuttamisen välineenä",
    "CourseCode":"ENA04",
    "Name":"ENA04.1",
    "Caption":"ENA04.1",
    "StartDate":"2022-08-10",
    "EndDate":"2022-09-30",
    "Committed":false,
    "Teachers":[
        {
            "TeacherId":2170,
            "TeacherName":"Vahosalmi Henriikka",
            "TeacherCode":"NRI"
        }
    ],
    "Homework":[
        {
            "Date":"2022-09-15",
            "Homework":"Luvusta 16: 1, 3, 5, 7, 10, 13, 18"
        },
    ],
    "Diary":[],
    "Exams":[
        {
            "Id":102270,
            "Date":"2022-08-22",
            "Name":"Mini-Exam 1",
            "Info":"Unit 2 sanasto + Unit 7 relatiivipronominit",
            "Grade":"10+",
            "VerbalGrade":""
        }
    ]

}
Clone this wiki locally