Differences
This shows you the differences between two versions of the page.
api:api_applications_id_studyplans_id [2016/06/01 14:46] Lauri Elevant [Response example (applicant chooses subjects)] |
api:api_applications_id_studyplans_id [2021/01/21 12:51] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== / | ||
- | ===== HEAD, GET ===== | ||
- | |||
- | A study plan is always created in a particular application and are related to a particular course. | ||
- | |||
- | ==== Insert subjects vs Select subjects ==== | ||
- | |||
- | If you look at the tow examples below, you can see that there is a small different in the way the '' | ||
- | |||
- | This has to do with two different ways a study plan can be created in DreamApply. | ||
- | |||
- | a) if the subjects list has been imported into DreamApply, then the applicant can simply " | ||
- | | ||
- | b) if the subjects list is not inserted into DreamApply, the applicant is presented with a form that he/she can fill manually, by typing the code, name, Fall/Spring and credits points manually. It is expected that the applicant has some sort of Excel/PDF for reference, but obviously there is no guarantee that the data in the study plan is correct. | ||
- | |||
- | |||
- | ==== Explanation of data ==== | ||
- | |||
- | The '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | * '' | ||
- | |||
- | The statuses can currently be: | ||
- | * Blank | ||
- | * Prepare | ||
- | * Completed | ||
- | * Accepted | ||
- | * Closed | ||
- | |||
- | |||
- | ==== Syntax ==== | ||
- | |||
- | GET / | ||
- | Host: apply.example.edu | ||
- | Authorization: | ||
- | |||
- | ==== Response headers ==== | ||
- | |||
- | Content-Type: | ||
- | Content-Length: | ||
- | | ||
- | ==== Response example (applicant inserts subjects) ==== | ||
- | |||
- | { | ||
- | " | ||
- | { | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | }, | ||
- | { | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | }, | ||
- | { | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | } | ||
- | ], | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | } | ||
- | ==== Response example (applicant chooses subjects) ==== | ||
- | |||
- | { | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | }, | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | }, | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | } | ||
- | }, | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | " | ||
- | } |