GET /terms/{term}/{subject}/enrollment.{format}
This method returns enrollment numbers for all courses in a subject for a single term
Name | Value | Name | Value |
Request Protocol | GET | Requires API Key | Yes |
Method ID | 1873 | Enabled | Yes |
Service Name | terms | Service ID | 241 |
Information Steward | Registrar | Data Type | Scraped |
Update Frequency | Every hour | Cache Time | 0 seconds |
- Any value can be
null
GET /terms/{term}/{subject}/enrollment.{format}
Parameter | Type | Required | Description |
term | input | yes | Four digit term representation |
subject | input | yes | Valid uWaterloo subject name |
format | input | yes | The format of the output |
key | filter | yes | Valid API key |
callback | filter | no | JSONP callback format |
Output Formats
- json
- xml
GET /terms/{term}/{subject}/enrollment.{format}
- https://api.uwaterloo.ca/v2/terms/1159/ITAL/enrollment.json
- https://api.uwaterloo.ca/v2/terms/1159/ITAL/enrollment.xml
- https://api.uwaterloo.ca/v2/terms/1159/ITAL/enrollment.json?callback=myResponse
Field Name | Type | Value Description |
subject | string | Requested subject acronym |
catalog_number | string | Registrar assigned class number |
class_number | integer | Associated term specific class enrollment number |
section | string | Class instruction and number |
enrollment_capacity | integer | Class enrollment capacity |
enrollment_total | integer | Total current class enrollment |
waiting_capacity | integer | Class waiting capacity |
waiting_total | string | Total current waiting students |
last_updated | string | ISO8601 timestamp of when the data was last updated |
Any value can be null
{
"meta":{
"requests":723422,
"timestamp":1447986463,
"status":200,
"message":"Request successful",
"method_id":1873,
"method":{
}
},
"data":[
{
"subject":"ITAL",
"catalog_number":"101",
"class_number":7542,
"section":"LAB 101",
"enrollment_capacity":22,
"enrollment_total":21,
"waiting_capacity":0,
"waiting_total":0
},
{
"subject":"ITAL",
"catalog_number":"101",
"class_number":7543,
"section":"LAB 102",
"enrollment_capacity":23,
"enrollment_total":11,
"waiting_capacity":0,
"waiting_total":0
},
{
"subject":"ITAL",
"catalog_number":"101",
"class_number":7548,
"section":"LAB 103",
"enrollment_capacity":23,
"enrollment_total":18,
"waiting_capacity":0,
"waiting_total":0
},
{
"subject":"ITAL",
"catalog_number":"101",
"class_number":7549,
"section":"LAB 104",
"enrollment_capacity":22,
"enrollment_total":24,
"waiting_capacity":0,
"waiting_total":0
},
{
"subject":"ITAL",
"catalog_number":"101",
"class_number":7540,
"section":"LEC 001",
"enrollment_capacity":45,
"enrollment_total":30,
"waiting_capacity":0,
"waiting_total":0
},
{
"subject":"ITAL",
"catalog_number":"101",
"class_number":7541,
"section":"LEC 002",
"enrollment_capacity":45,
"enrollment_total":44,
"waiting_capacity":0,
"waiting_total":0
},
{
"subject":"ITAL",
"catalog_number":"101W",
"class_number":8727,
"section":"LEC 002",
"enrollment_capacity":999,
"enrollment_total":1,
"waiting_capacity":0,
"waiting_total":0
},
{
"subject":"ITAL",
"catalog_number":"155",
"class_number":7555,
"section":"LEC 001",
"enrollment_capacity":20,
"enrollment_total":12,
"waiting_capacity":0,
"waiting_total":0
},
{
"subject":"ITAL",
"catalog_number":"155",
"class_number":7555,
"section":"LEC 001",
"enrollment_capacity":20,
"enrollment_total":12,
"waiting_capacity":0,
"waiting_total":0
}
]
}