Term types
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 list of all academic term types.
URI
/api/v9/academic-terms/typesGET List term types
List academic term types configured into the system. These are used to create different types of academic terms. In another way — term types are a finite list, terms themselves are created for each academic year.
Syntax
GET /api/v9/academic-terms/types
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/academic-terms/types"Response headers
| Header | Value | Description |
|---|---|---|
Content-Type | application/json | Media type of the resource |
Content-Length | 1234 | Size of the response body in bytes |
X-Count | 2 | Number of available academic term types |
Response codes
| Response code | Description |
|---|---|
200 OK | The list of transactions was successfully returned |
Example response
Response
{
"1": {
"name": "Fall semester"
},
"2": {
"name": "Spring semester"
}
}