Dartmouth API Developer Portal
Academic Section Types API
Returns information about section types.
Rating
Attribute | Value |
---|---|
Highly Available | Yes |
Cache Refresh Interval | 4 hours |
Filtering | Yes |
Required Scopes
None: only requires authentication to Dartmouth's login API as documented in the introduction section of this portal.
Request
GET /api/academic/section_types/{id}
Required Headers
Authorization: Bearer {jwt}
Parameters
Parameter Name | Type | Description | Valid values | Required |
---|
(standard filter parameters as documented in the introduction section of this portal)
Notes on usage
When {id} is excluded from the URL, all section types are returned as a collection. This can be useful when an application needs to provide a complete list of valid selections. Standard filtering via URL parameters is also available and returns a collection; the collection will be empty if no records are qualified by the filtering.
Business Logic
The {id} and {name} attributes are sourced from the Banner stvschd table - stvschd_code and stvschd_desc.
Returns
Status Code | Description |
---|---|
200 | {id} requested exists or was not specified |
404 | {id} requested does not exist |
Sample Request
https://api.dartmouth.edu/api/academic/section_types/L
Sample Return
{
"id": "L",
"name": "Lecture",
"is_active": true,
"cache_date": "2021-03-24T20:11:14Z"
}