Student

A collection of services for searching and seeing student information. Access to these services are restrictive and only systems with documented requirements to access student data will be allowed access. The system's needs of data and rules for GDPR must be approved by a lawyer at JU.

APIDescription
GET api/Student/Search?CivicNumber={CivicNumber}&FirstName={FirstName}&LastName={LastName}&MaxItemsToReturn={MaxItemsToReturn}&Page={Page}

Searches for students from Ladok, based on the given selection. Returns a small object with the student's name and social civic number. You can omit the parameters that are not used. For example, StudentSearch?CivicNumber=1980* Return StudentSearchResponse object (Http Status 200). If something is wrong HTTP Status: 400 = Missing or or incorrect parameter. 409 = Some internal execution error. 500 = Some runtime exeption.

GET api/Student/{CivicNumber}

Gets a student object by civic number. The response gives a student an object with contact information and simplified study information. Return the Student object (Http Status 200). If something is wrong HTTP Status: 404 = Student not find. 400 = Missing or or incorrect parameter. 409 = Some internal execution error. 500 = Some runtime exeption.

Room

A collection of services to get Room Jönköping University. Access to these services are restrictive and access is only granted to approved systems. NOTE!! The rooms are taken from the booking system. So there are only classrooms, group rooms, auditoriums and so on.

APIDescription
GET api/Type

Return a list of room types (Http Status 200). If something is wrong HTTP Status: 401 = Unauthorized. 500 = Some runtime exeption.

GET api/Room/{name}

Return a bookable room by name (Http Status 200). If something is wrong HTTP Status: 404 = Not find. 401 = Unauthorized. 500 = Some runtime exeption.

GET api/Room/Type/{id}

Return a list of bookable rooms by type (Http Status 200). If something is wrong HTTP Status: 401 = Unauthorized. 500 = Some runtime exeption.

GET api/Room/Search?name={name}

Return a list of bookable rooms by type (Http Status 200). If something is wrong HTTP Status: 401 = Unauthorized. 500 = Some runtime exeption.

Schedule

A collection of services to get schedule Jönköping University. Access to these services are restrictive and access is only granted to approved systems.

APIDescription
GET api/Schedule/Room/{room}?date={date}

Retrieves schedule for one day by room number. Return a list of Schedule object (Http Status 200). Empty list if there are no hits for the room in the schedule. If something is wrong HTTP Status: 400 = Missing or or incorrect parameter. 500 = Some runtime exeption.

GET api/Schedule/Staff/{signature}?date={date}

Retrieves schedule for one day by staff signature. Return a list of Schedule object (Http Status 200). Empty list if there are no hits for the signature in the schedule. If something is wrong HTTP Status: 400 = Missing or or incorrect parameter. 500 = Some runtime exeption.

Staff

A collection of services to search and view staff at Jönköping University. Access to these services are restrictive and access is only granted to approved systems.

APIDescription
GET api/Staff/{Signature}

Gets a Staff object by its signature. Return the Staff object (Http Status 200). If something is wrong HTTP Status: 404 = Staff not find. 400 = Missing or or incorrect parameter. 500 = Some runtime exeption.

GET api/Staff?filter={filter}

Gets staff that matches the selection filter. Return a list of Staff object (Http Status 200). If something is wrong HTTP Status: 400 = Missing or or incorrect parameter. 500 = Some runtime exeption.

GET api/Staff/Room/{room}

Retrieves staff via the room, where they have their workplace. Return a list of Staff object (Http Status 200). If something is wrong HTTP Status: 400 = Missing or or incorrect parameter. 500 = Some runtime exeption.

GET api/Staff/{Signature}/Photo?height={height}

Get a photo of requested staff by its signature. Return the photo in PNG format (Http Status 200). NOTE! Don't look at the return type of the documentation. A regular PNG image is returned just about any image from a web server. If something is wrong HTTP Status: 404 = Staff not find or there is no photo to show. 400 = Missing or or incorrect parameter. 500 = Some runtime exeption.