Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Latest commit

 

History

History
294 lines (263 loc) · 5.65 KB

term_subject_enrollment.md

File metadata and controls

294 lines (263 loc) · 5.65 KB

Course enrollment by subject term

GET /terms/{term}/{subject}/enrollment.{format}

Description

This method returns enrollment numbers for all courses in a subject for a single term

Summary

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

Notes

  • Any value can be null

Sources

Parameters

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

Examples

GET /terms/{term}/{subject}/enrollment.{format}

Response

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

Output

JSON

{
  "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
    }
  ]
}