tp.timeplan.aapnedata – Timeplan-info

room.timetable – timeplan for et rom innenfor en gitt periode

GET https://tp.data.uib.no/{apikey}/ws/1.4/room.php?id=243301.08H3&fromdate=2017-06-01&todate=2017-12-31&lang=no
apikey string apikey
id string rom-id
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
response
200 OK
Content-Type: application/json
{
  "name": "Timetabledata",
  "version": "1.4",
  "roomid": "243301.08H3",
  "interval-start": "2017-06-01",
  "interval-end": "2017-12-31",
  "typename": "room",
  "lastchanged": "2017-02-16T11:52:44+01",
  "timestamp": "2017-03-08T15:02:42+01",
  "events": [
    {
      "semesterid": "17h",
      "courseid": "BOOKING",
      "actid": "17h-ASTBG",
      "id": "17h-ASTBG-510",
      "weeknr": 47,
      "dtstart": "2017-11-21T08:00:00+01",
      "dtend": "2017-11-21T22:00:00+01",
      "teaching-method": "-",
      "teaching-method-name": "Booking",
      "teaching-title": "Booking ASTBG",
      "summary": "KMD/GA/Konferanse/POLYFON",
      "room": [
        {
          "buildingid": "243",
          "buildingname": "Studentsenteret",
          "buildingurl": "http://maps.google.com/maps?f=q&hl=no&q=Parkveien 1,Bergen,Norway",
          "buildingacronym": "SS",
          "roomid": "301.04H1",
          "roomname": "Seminarrom E",
          "roomacronym": "Sem.rom E",
          "roomurl": ""
        },
        ...
        {
          "buildingid": "243",
          "buildingname": "Studentsenteret",
          "buildingurl": "http://maps.google.com/maps?f=q&hl=no&q=Parkveien 1,Bergen,Norway",
          "buildingacronym": "SS",
          "roomid": "301.08H3",
          "roomname": "Auditorium Egget",
          "roomacronym": "Egget",
          "roomurl": ""
        }
      ]
    },
    ...
    {
      "semesterid": "17h",
      "courseid": "BOOKING",
      "actid": "17h-ASTBG",
      "id": "17h-ASTBG-514",
      "weeknr": 50,
      "dtstart": "2017-12-11T08:00:00+01",
      "dtend": "2017-12-11T22:00:00+01",
      "teaching-method": "-",
      "teaching-method-name": "Booking",
      "teaching-title": "Booking ASTBG",
      "summary": "MN/Konferanse/Kompetansedeling for studenters suksess i h\u00f8yere utdanning",
      "room": [
        {
          "buildingid": "243",
          "buildingname": "Studentsenteret",
          "buildingurl": "http://maps.google.com/maps?f=q&hl=no&q=Parkveien 1,Bergen,Norway",
          "buildingacronym": "SS",
          "roomid": "301.04H1",
          "roomname": "Seminarrom E",
          "roomacronym": "Sem.rom E",
          "roomurl": ""
        },
	...
        {
          "buildingid": "243",
          "buildingname": "Studentsenteret",
          "buildingurl": "http://maps.google.com/maps?f=q&hl=no&q=Parkveien 1,Bergen,Norway",
          "buildingacronym": "SS",
          "roomid": "301.04K1",
          "roomname": "Seminarrom D",
          "roomacronym": "Sem.rom D",
          "roomurl": ""
        }
      ]
    }
  ]
}
  • lastchanged inneholder tidspunkt for siste bestilling/avbestilling i aktuelt rom.
  • Språk i feltet teaching-method styres av parameter lang.
  • Feltet teaching-title er aktivitetsnavnet fra FS.
  • Feltet summary er egennavnet på forekomsten.