Wishlist item
API version
Select a version to change the base URI
in syntax and code examples. Learn about versions:
in syntax and code examples. Learn about versions
Represents a single item on the applicant’s wishlist.
URI
/api/v9/applicants/ID/wishes/IDGET Get a wishlist item
Retrieve information about a particular applicant wishlist item. This represents a course that the applicant has shown interest towards, but is not yet added to any application. An applicant may collect interesting courses to his wishlist for later application or further evaluation.
Syntax
GET /api/v9/applicants/123/wishes/1
Host: apply.example.edu
Authorization: DREAM apikey="..."Example request
Request
curl
curl \
-X GET \
-H "Authorization: DREAM apikey=\"YOUR-API-KEY\"" \
"https://apply.example.edu/api/v9/applicants/123/wishes/1"Response headers
| Header | Value | Description |
|---|---|---|
Content-Type | application/json | Media type of the resource |
Content-Length | 1234 | Size of the response body in bytes |
Response codes
| Response code | Description |
|---|---|
200 OK | The item on the applicant wishlist is returned |
404 Not Found | The applicant wishlist item was not found |
Example response
Response
{
"wished": "1970-01-01T00:00:01+00:00",
"applicant": "/api/v9/applicants/60",
"course": "/api/v9/course/1",
"intake": null,
"notes": null
}