This is an old revision of the document!


/api/applications/ID/courses

HEAD, GET

Get a list of course associations for the application in question.

An application can contain multiple courses (or “priorities”) that the applicant has chosen to apply to.

Courses is the technical name given to resources that applicants “can apply to”. In some educational systems students may apply to programmes, in others, to courses. Furthermore, in exchange setups courses represent the mobilities that can be applied to. In all these cases (course, programme, mobility etc.) the technical term will still remain “course”.

Note that this will not return the courses themselves, but rather represents the relationships between an application and the courses that have been added to it. Follow the course URI in the response to retrieve further information about the course in question.

Syntax

GET /api/applications/123/courses
Host: apply.example.edu
Authorization: DREAM apikey="..."

Response headers

Content-Type: application/json
Content-Length: 1234

Example response

{
  "22": {
      "priority": 1,
      "submitted": "2014-06-29T18:11:15+00:00",
      "course": "/api/course/22",
      "intake": 2
  },
  "33": {
      "priority": 2,
      "submitted": "2014-06-29T18:11:15+00:00",
      "course": "/api/course/33",
      "intake": 2
  }
}