Autocomplete List
Get autocomplete suggestions for geographic objects:
.../?q=<Word>
To limit results to certain models use the m parameter:
.../?q=<Word>&m=<Model>,<Model>,...
Possible models are currently:
campusonline.Personcampusonline.Roomcampusonline.Studentgeo.Roomstructure.Organizationstructure.Person
The ctype property determines the content type of each suggested item.
This can be used to do further queries at other endpoints.
GET /v1/api/autocomplete/?format=api&offset=980
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1000", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=960", "results": [ { "id": 686, "ctype": "geo.room", "presentation": "MC1.B.06.040: WC B (OG06)\n", "level_id": 1, "room_id": 686 }, { "id": 2879, "ctype": "geo.room", "presentation": "MC1.D.04.018: Laser-Labor (EMV-Raum) (OG04)\n", "level_id": 4, "room_id": 2879 }, { "id": 2962, "ctype": "geo.room", "presentation": "MC1.D.03.023: WC B/D (OG03)\n", "level_id": 5, "room_id": 2962 }, { "id": 3357, "ctype": "geo.room", "presentation": "MC1.D.02.028: WC B/D (OG02)\n", "level_id": 6, "room_id": 3357 }, { "id": 3611, "ctype": "geo.room", "presentation": "MC1.B.EG.023: Einwurfbereich Probenannahme (EG01)\n", "level_id": 2, "room_id": 3611 }, { "id": 3615, "ctype": "geo.room", "presentation": "MC1.B.EG.028: WC D (EG01)\n", "level_id": 2, "room_id": 3615 }, { "id": 3616, "ctype": "geo.room", "presentation": "MC1.B.EG.029: WC B (EG01)\n", "level_id": 2, "room_id": 3616 }, { "id": 3617, "ctype": "geo.room", "presentation": "MC1.B.EG.030: WC H (EG01)\n", "level_id": 2, "room_id": 3617 }, { "id": 3650, "ctype": "geo.room", "presentation": "MC1.E.EG.006: Meeting Point (EG01)\n", "level_id": 2, "room_id": 3650 }, { "id": 3746, "ctype": "geo.room", "presentation": "MC1.B.05.022: Bakt-Labor (Sequenziereinheit) (OG05)\n", "level_id": 3, "room_id": 3746 }, { "id": 3807, "ctype": "geo.room", "presentation": "MC1.E.05.023: iDN-Labor (EMV-Raum) (OG05)\n", "level_id": 3, "room_id": 3807 }, { "id": 3832, "ctype": "geo.room", "presentation": "MC1.D.05.017: Kreislauf-Weltraum-Adaptions Labor (OG05)\n", "level_id": 3, "room_id": 3832 }, { "id": 273, "ctype": "geo.room", "presentation": "MC1.G.06.012: Zell-Labor 01 (OG06)\n", "level_id": 1, "room_id": 273 }, { "id": 535, "ctype": "geo.room", "presentation": "MC1.F.06.036: Zell-Labor 02 (OG06)\n", "level_id": 1, "room_id": 535 }, { "id": 548, "ctype": "geo.room", "presentation": "MC1.C.06.018: Tiefkühlraum (-20°C) (OG06)\n", "level_id": 1, "room_id": 548 }, { "id": 575, "ctype": "geo.room", "presentation": "MC1.F.06.040: Proteomics 2d-Elphor (OG06)\n", "level_id": 1, "room_id": 575 }, { "id": 583, "ctype": "geo.room", "presentation": "MC1.F.06.027: Zell-Labor 03 (OG06)\n", "level_id": 1, "room_id": 583 }, { "id": 596, "ctype": "geo.room", "presentation": "MC1.E.06.017: Kühlraum (+4°C) (OG06)\n", "level_id": 1, "room_id": 596 }, { "id": 644, "ctype": "geo.room", "presentation": "MC1.C.06.006: Kühlraum (+4°C) (OG06)\n", "level_id": 1, "room_id": 644 }, { "id": 2973, "ctype": "geo.room", "presentation": "MC1.D.03.016: Kühlgeräteraum (-80°C-Freezer) (OG03)\n", "level_id": 5, "room_id": 2973 } ] }