tp.timeplan.aapnedata – Timeplan-info

course.timetable.plenary – timeplan, fellesundervisning for et emne innenfor en gitt periode

GET https://tp.data.uib.no/{apikey}/ws/1.4/course.php?id=BIO100&fromdate=2017-01-01&todate=2017-12-31&lang=en&sem=17v&termnr=1
apikey string apikey
id string emnekode
fromdate string fra-dato format: yyyy-mm-dd
todate string til-dato format: yyyy-mm-dd
lang string = no Språk: no, nn eller en
sem string semester format: yy[v|h]
termnr string = 1 terminnummer
response
200 OK
Content-Type: application/json
{
  "name": "Timetabledata",
  "version": "1.4",
  "courseid": "BIO100",
  "title": "BIO100 Innf\u00f8ring i evolusjon og \u00f8kologi",
  "interval-start": "2017-01-01",
  "interval-end": "2017-12-31",
  "typename": "course",
  "lastchanged": "2017-03-03T12:49:26+01",
  "timestamp": "2017-03-09T09:00:52+01",
  "events": [
    {
      "semesterid": "17h",
      "courseid": "BIO100",
      "actid": "7",
      "id": "17H-BIO100-0-1-7-1",
      "weeknr": 34,
      "dtstart": "2017-08-22T12:15:00+02",
      "dtend": "2017-08-22T14:00:00+02",
      "lopenr": 1,
      "teaching-method": "FOR",
      "teaching-method-name": "Lecture",
      "teaching-title": "Forelesning (sjef/slave test)",
      "summary": "Forelesning (sjef/slave test)",
      "room": [
        {
          "buildingid": "308",
          "buildingname": "Realfagbygget",
          "buildingurl": "http://maps.google.com/maps?f=q&hl=no&q=Allegaten 41,Bergen,Norway",
          "buildingacronym": "RFB",
          "roomid": "UC7B",
          "roomname": "Auditorium 1",
          "roomacronym": "Aud 1",
          "roomurl": ""
        }
      ],
      "terminnr": 1
    },
    ...
    {
      "semesterid": "17h",
      "courseid": "BIO100",
      "actid": "7",
      "id": "17H-BIO100-0-1-7-1",
      "weeknr": 51,
      "dtstart": "2017-12-19T12:15:00+01",
      "dtend": "2017-12-19T14:00:00+01",
      "lopenr": 1,
      "teaching-method": "FOR",
      "teaching-method-name": "Lecture",
      "teaching-title": "Forelesning (sjef/slave test)",
      "summary": "Forelesning (sjef/slave test)",
      "room": [
        {
          "buildingid": "308",
          "buildingname": "Realfagbygget",
          "buildingurl": "http://maps.google.com/maps?f=q&hl=no&q=Allegaten 41,Bergen,Norway",
          "buildingacronym": "RFB",
          "roomid": "UC7B",
          "roomname": "Auditorium 1",
          "roomacronym": "Aud 1",
          "roomurl": ""
        }
      ],
      "terminnr": 1
    }
  ],
  "terminnr": "1"
}

Merk følgende felter kan være med i event.

  • title (rik tekst) tittel på forelesning
  • curr (rik tekst) pensum og ressurs-informasjon
  • xstaff (tekst) tekst om ekstern foreleser
  • tags (array) tagger/etiketter