Department

Represents a single department under the institution.

URI
/api/v9/institutions/ID/departments/ID

GET Get a department

Retrieve information about a particular institution department.

Syntax
GET /api/v9/institutions/123/departments/321
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/institutions/123/departments/321"

Response headers

HeaderValueDescription
Content-Typeapplication/jsonMedia type of the resource
Content-Length1234Size of the response body in bytes

Response codes

Response codeDescription
200 OKThe department data was successfully returned
404 Not FoundThe department was not found

Example response

Response
{
    "id": 1,
    "name": "Department of Mechanical Engineering",
    "country": "BE",
    "location": "Antwerp",
    "www": "https://engtech.edu/me"
}