Skip to content

Timetable Output Format

andrewnags edited this page Feb 20, 2020 · 4 revisions
{
  "courses": [],
  "messages": [
    {
      "type": "success",
      "message": "POST success"
    },
    {
      "type": "error",
      "message": "No classes found"
    }
  ]
}
{
  "courses": [],
  "messages": [
    {
      "type": "success",
      "message": "POST success"
    },
    {
      "type": "error",
      "message": "No classes found"
    }
  ]
}
{
  "courses": [
    {
      "subject_code": "ASI",
      "course_number": "3111",
      "course_name": "East Asian Cinemas",
      "sections": [
        {
          "year": 2020,
          "term": "winter",
          "label": "A",
          "components": [
            {
              "room": "145 Jean-Jacq. Luss. (LMX) 219",
              "instructor": "Sufeng Xu",
              "day": "WE",
              "start_time": "14:30",
              "end_time": "17:20",
              "start_date": "2020-01-06",
              "end_date": "2020-04-04",
              "label": "A00-LEC",
              "section_id": "A",
              "type": "LEC",
              "session_type": "FULLSESS.",
              "status": "OPEN",
              "description": ""
            }
          ]
        }
      ],
      "messages": []
    }
  ],
  "messages": [
    {
      "type": "success",
      "message": "POST success"
    },
    {
      "type": "success",
      "message": "Got search results"
    }
  ]
}
{
  "courses": [],
  "messages": [
    {
      "type": "success",
      "message": "POST success"
    },
    {
      "type": "error",
      "message": "No classes found"
    }
  ]
}
{
  "courses": [],
  "messages": [
    {
      "type": "success",
      "message": "POST success"
    },
    {
      "type": "error",
      "message": "No classes found"
    }
  ]
}
{
  "courses": [
    {
      "subject_code": "ARB",
      "course_number": "3102",
      "course_name": "Special Topics in Arab Canadian Studies",
      "sections": [
        {
          "year": 2020,
          "term": "winter",
          "label": "A",
          "components": [
            {
              "room": "145 Jean-Jacq. Luss. (LMX) 242",
              "instructor": "Radamis Zaky",
              "day": "TU",
              "start_time": "14:30",
              "end_time": "17:20",
              "start_date": "2020-01-06",
              "end_date": "2020-04-04",
              "label": "A00-LEC",
              "section_id": "A",
              "type": "LEC",
              "session_type": "FULLSESS.",
              "status": "OPEN",
              "description": ""
            }
          ]
        }
      ],
      "messages": []
    },
    {
      "subject_code": "ARB",
      "course_number": "3901",
      "course_name": "Introduction to Arabic Literature",
      "sections": [
        {
          "year": 2020,
          "term": "winter",
          "label": "A",
          "components": [
            {
              "room": "145 Jean-Jacq. Luss. (LMX) 243",
              "instructor": "Alia Kawalit",
              "day": "TH",
              "start_time": "14:30",
              "end_time": "17:20",
              "start_date": "2020-01-06",
              "end_date": "2020-04-04",
              "label": "A00-LEC",
              "section_id": "A",
              "type": "LEC",
              "session_type": "FULLSESS.",
              "status": "OPEN",
              "description": ""
            }
          ]
        }
      ],
      "messages": []
    },
    {
      "subject_code": "ARB",
      "course_number": "3902",
      "course_name": "Special Topics in Arabic Literature",
      "sections": [
        {
          "year": 2020,
          "term": "winter",
          "label": "A",
          "components": [
            {
              "room": "",
              "instructor": "Staff",
              "day": "TBA",
              "start_time": "00:00",
              "end_time": "00:00",
              "start_date": "NA",
              "end_date": "NA",
              "label": "A00-LEC",
              "section_id": "A",
              "type": "LEC",
              "session_type": "FULLSESS.",
              "status": "CLOSED",
              "description": ""
            }
          ]
        }
      ],
      "messages": [
        {
          "type": "warning",
          "message": "Incorrect number of dates (0) found in string 0"
        }
      ]
    },
    {
      "subject_code": "ARB",
      "course_number": "3912",
      "course_name": "Advanced Arabic II",
      "sections": [
        {
          "year": 2020,
          "term": "winter",
          "label": "A",
          "components": [
            {
              "room": "120 University (FSS) 1005",
              "instructor": "Basam Al-Hasoo",
              "day": "TU",
              "start_time": "13:00",
              "end_time": "14:20",
              "start_date": "2020-01-06",
              "end_date": "2020-04-04",
              "label": "A00-LEC",
              "section_id": "A",
              "type": "LEC",
              "session_type": "FULLSESS.",
              "status": "OPEN",
              "description": ""
            },
            {
              "room": "60 University (SMD) 503",
              "instructor": "Basam Al-Hasoo",
              "day": "TH",
              "start_time": "11:30",
              "end_time": "12:50",
              "start_date": "2020-01-06",
              "end_date": "2020-04-04",
              "label": "A00-LEC",
              "section_id": "A",
              "type": "LEC",
              "session_type": "FULLSESS.",
              "status": "OPEN",
              "description": ""
            },
            {
              "room": "145 Jean-Jacq. Luss. (LMX) 243",
              "instructor": "Basam Al-Hasoo",
              "day": "TH",
              "start_time": "13:00",
              "end_time": "13:50",
              "start_date": "2020-01-06",
              "end_date": "2020-04-04",
              "label": "A01-DGD",
              "section_id": "A",
              "type": "DGD",
              "session_type": "FULLSESS.",
              "status": "OPEN",
              "description": ""
            }
          ]
        }
      ],
      "messages": []
    }
  ],
  "messages": [
    {
      "type": "success",
      "message": "POST success"
    },
    {
      "type": "success",
      "message": "Got search results"
    }
  ]
}
{
  "messages": [
    {
      "type": "success",
      "message": "GET success"
    }
  ]
}

Clone this wiki locally