Get Courses by Institution
Returns the list of courses offered by an institution for a given academic year.
Api
- Route
/Courses/api/Institution/{institutionId}/Year/{academicYearId}- Method
- GET
- Key Required
- Yes
- Common Response
- No
- Response Type
- Array of Course
Path Parameters
- institutionId (integer)
- The unique id of the institution. Institution ids are returned from Get Institutions.
- academicYearId (integer)
- The academic year to retrieve courses for. Academic year ids are returned from Get Academic Years.
Query Parameters
- filter (string)
- Partial string match applied against the combined prefix+number (e.g.
CHEM 25), prefix alone, course number alone, or course title. A course is included if any of those fields contains the filter value. - department (string)
- Filters courses to those belonging to the specified department name.
- departmentParentId (integer)
- Filters courses to those belonging to the specified department by its parent id.
- prefix (string)
- Filters courses to those with the specified prefix (e.g.
CHEM). - prefixParentId (integer)
- Filters courses to those with the specified prefix by its parent id.
Curl Example
curl -X 'GET' \
'https://prod.assistng.org/Courses/api/Institution/110/Year/74' \
-H 'accept: application/json' \
-H 'API-Key':'<redacted>'
- institutionId =
110(Allan Hancock College) - academicYearId =
74(2023-2024) - API-Key =
<redacted>(You’ll need to provide your own key.)
Sample Response
[
{
"courseIdentifierParentId": 340948,
"courseParentId": 340900,
"courseTitle": "Introductory Chemistry",
"courseNumber": "25",
"prefix": "CHEM",
"prefixParentId": 3868,
"prefixDescription": "Chemistry",
"departmentParentId": 2370,
"department": "Chemistry and Biochemistry",
"begin": "F2020",
"beginDate": "2020-08-01T00:00:00",
"beginTermId": 241,
"end": "",
"endDate": null,
"endTermId": null,
"minUnits": 3.00,
"maxUnits": 3.00,
"isTerminated": false,
"hasOutline": true,
"isCsuTransferable": true,
"isUcTransferable": false,
"crosslistedCourses": [],
"pathways": []
}
// ... additional courses omitted for brevity
]