SAMPLE WEB SERVICE - Timetable
DESCRIPTION:
Returns timetable information for all sessions related to the supplied course code.
INPUT:
String (course code)
example: ANTA01H3
OUTPUT (JSON):
fields:
course (course code)
session
URL (link to registrar page)
meeting (LEC: Lecture, TUT: Tutorial or PRA: Practical)
option
restriction (C: Check for any course retrictions, I: Additional information about a course or W: Indicates if the lecture section has a waitlist feature)
day (day of week)
starttime
endtime
location
instructor
webpage
changes
example of JSON output:
[{"course":"ANTA01H3","session":"F","URL":"ANTA0","meeting":"LEC01","option":null,"restriction":"W","day":"TU","starttime":"11:00","endtime":"13:00","location":"SY 110","instructor":"G.Dewar","webpage":null,"changes":null},
{"course":"ANTA01H3","session":"F","URL":"ANTA0","meeting":"LEC02","option":null,"restriction":"W","day":"TH","starttime":"12:00","endtime":"14:00","location":"AA 112","instructor":"G.Dewar","webpage":null,"changes":null},
{"course":"ANTA01H3","session":"F","URL":"ANTA0","meeting":"LEC03","option":null,"restriction":"W","day":"MO","starttime":"15:00","endtime":"17:00","location":"SY 110","instructor":"M.Silcox","webpage":null,"changes":null},
{"course":"ANTA01H3","session":"F","URL":"ANTA0","meeting":"TUT0001","option":null,"restriction":null,"day":"TH","starttime":"14:00","endtime":"15:00","location":"MW 329","instructor":null,"webpage":null,"changes":null},
{"course":"ANTA01H3","session":"F","URL":"ANTA0","meeting":"TUT0002","option":null,"restriction":null,"day":"TH","starttime":"15:00","endtime":"16:00","location":"MW 329","instructor":null,"webpage":null,"changes":null},
{"course":"ANTA01H3","session":"F","URL":"ANTA0","meeting":"TUT0003","option":null,"restriction":null,"day":"TH","starttime":"16:00","endtime":"17:00","location":"MW 329","instructor":null,"webpage":null,"changes":null},
{"course":"ANTA01H3","session":"F","URL":"ANTA0","meeting":"TUT0004","option":null,"restriction":null,"day":"TH","starttime":"17:00","endtime":"18:00","location":"MW 329","instructor":null,"webpage":null,"changes":null},
{"course":"ANTA01H3","session":"F","URL":"ANTA0","meeting":"TUT0005","option":null,"restriction":null,"day":"TH","starttime":"18:00","endtime":"19:00","location":"MW 329","instructor":null,"webpage":null,"changes":null},
{"course":"ANTA01H3","session":"F","URL":"ANTA0","meeting":"TUT0006","option":null,"restriction":null,"day":"FR","starttime":"10:00","endtime":"11:00","location":"MW 329","instructor":null,"webpage":null,"changes":null},
{"course":"ANTA01H3","session":"F","URL":"ANTA0","meeting":"TUT0007","option":null,"restriction":null,"day":"FR","starttime":"11:00","endtime":"12:00","location":"MW 329","instructor":null,"webpage":null,"changes":null},
{"course":"ANTA01H3","session":"F","URL":"ANTA0","meeting":"TUT0008","option":null,"restriction":null,"day":"FR","starttime":"12:00","endtime":"13:00","location":"MW 329","instructor":null,"webpage":null,"changes":null},
{"course":"ANTA01H3","session":"F","URL":"ANTA0","meeting":"TUT0009","option":null,"restriction":null,"day":"FR","starttime":"13:00","endtime":"14:00","location":"MW 329","instructor":null,"webpage":null,"changes":null},
{"course":"ANTA01H3","session":"F","URL":"ANTA0","meeting":"TUT0010","option":null,"restriction":null,"day":"FR","starttime":"14:00","endtime":"15:00","location":"MW 329","instructor":null,"webpage":null,"changes":null},
{"course":"ANTA01H3","session":"Y","URL":"ANTA0","meeting":"LEC01","option":null,"restriction":"W","day":"TH","starttime":"13:00","endtime":"15:00","location":"MW 170","instructor":null,"webpage":null,"changes":null},
{"course":"ANTA01H3","session":"Y","URL":"ANTA0","meeting":"TUT0001","option":null,"restriction":null,"day":"TH","starttime":"10:00","endtime":"11:00","location":"MW 140","instructor":null,"webpage":null,"changes":null},
{"course":"ANTA01H3","session":"Y","URL":"ANTA0","meeting":"TUT0002","option":null,"restriction":null,"day":"TH","starttime":"11:00","endtime":"12:00","location":"MW 140","instructor":null,"webpage":null,"changes":null},
{"course":"ANTA01H3","session":"Y","URL":"ANTA0","meeting":"TUT0003","option":null,"restriction":null,"day":"TH","starttime":"12:00","endtime":"13:00","location":"MW 140","instructor":null,"webpage":null,"changes":null}]