Skip to content

GET Forms Student

Julien Lesaffre edited this page Mar 3, 2019 · 2 revisions

Get a list of all forms for a specific student and a specific semester

Method

GET

URL

/forms/student/{userId}/{semester}/{year}

Params

  • int userId: id of the user
  • String semester - semester
  • int year - year

Output

An array of forms, each containing the fields specific to the kind of form.
For more details about fields of each specific form, please refer to the Output of their creation declared in their Rest Api documentation (5.4 to 5.7 here)

Example

Request: GET http://localhost:8080/forms/student/1/Fall/2018

Success Response:

  • Code: 200
  • Content:
{
"formId": 10,
"submissionDate": "2017-03-02",
"employerEvaluation": 2,
"softwareTechnologies": "Java, Python",
"usefulCourses": "ECSE 321",
"studentWorkExperience": "None",
"studentPerformance": 5,
"tasks": "Testing",
"hoursPerWeek": 20,
"wage": 500,
"training": null,
"coop": -4
}

Back to REST API

Clone this wiki locally