exchange.ws – Exchange Web Service TEST

events.room – liste over events for rom

GET https://ews.datatest.uib.no/[APIKEY]/api/v1/events/year:{year}/week:{week}/day:{day}/room:{room}
year integer Årstall
week integer Ukenummer
day integer = 0 Dag idag, 1 = imorgen, -1 = igår, osv. Overstyrer week hvis begge er angitt.
room string Romnavn, feks: ExITMoteromSR4110@exchange.uib.no
JSON
200 OK
Content-Type: application/json

	{"room": "ExITMoteromSR4110@exchange.uib.no",
	"events": [{
	   "subject": "...",
	   "start": "...",
	   "end": "...",
	   "id": "...",
	   "change_key": "..."
	   },{
	   "subject": "...",
	   "start": "...",
	   "end": "...",
	   "id": "...",
	   "change_key": "..."
	   },{
	   "subject": "...",
	   "start": "...",
	   "end": "...",
	   "id":"",
	   "change_key":"..."
	   ...
	}]}

Examples

Viser alle events på møterom ExITMoteromSR4110 i uke 2 inneværende år: https://ews.datatest.uib.no/APIKEY/api/v1/events/week:02/room:ExITMoteromSR4110

{"room": "ExITMoteromSR4110@exchange.uib.no",
"events": [{
      "subject": "A3 møter- brukerstøtte NB Forberedelser :-)",
      "start": "2016-01-11T12:00:00.000+00:00",
      "end": "2016-01-11T13:30:00.000+00:00",
      "id": "AAMkADQyZjQzYWQ2LWFiOTktNDExYi04OTlkLWQ3...",
      "change_key": "DwAAABYAAAD88wwMHgulSpU1tBKNjyuRAAA6h9M2"
      },{
      "subject": "Presentasjon av Brukerstøtte",
      "start": "2016-01-12T12:00:00.000+00:00",
      "end": "2016-01-12T12:45:00.000+00:00",
      "id": "AAMkADQyZjQzYWQ2LWFiOTktNDExYi04OTlkLWQ3...",
      "change_key": "DwAAABYAAAD88wwMHgulSpU1tBKNjyuRAAA6h9Py"
      },{
      "subject": "A3 om møter",
      "start": "2016-01-14T08:00:00.000+00:00",
      "end": "2016-01-14T09:30:00.000+00:00",
      "id": "AAMkADQyZjQzYWQ2LWFiOTktNDExYi04OTlkLWQ3...",
      "change_key": "DwAAABYAAAD88wwMHgulSpU1tBKNjyuRAAA6h9gZ"
      },{
      "subject": "Nito - styremøte",
      "start": "2016-01-14T12:30:00.000+00:00",
      "end": "2016-01-14T14:00:00.000+00:00",
      "id": "AAMkADQyZjQzYWQ2LWFiOTktNDExYi04OTlkLWQ3",
      "change_key": "DwAAABYAAAD88wwMHgulSpU1tBKNjyuRAAA6h9Q2"
}]}