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=1440
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1460", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1420", "results": [ { "id": 2693, "ctype": "geo.room", "presentation": "MC1.B.04.036: Bakteriologie Stuhllabor 1 (OG04)\n", "level_id": 4, "room_id": 2693 }, { "id": 2715, "ctype": "geo.room", "presentation": "MC1.B.04.006: Gang Trakt 04 (OG04)\n", "level_id": 4, "room_id": 2715 }, { "id": 2729, "ctype": "geo.room", "presentation": "MC1.B.04.003: Gang Trakt 01 (OG04)\n", "level_id": 4, "room_id": 2729 }, { "id": 2748, "ctype": "geo.room", "presentation": "MC1.B.04.004: Brücke 3 geschlossen (OG04)\n", "level_id": 4, "room_id": 2748 }, { "id": 2817, "ctype": "geo.room", "presentation": "MC1.C.04.003: Gang Trakt 04 (OG04)\n", "level_id": 4, "room_id": 2817 }, { "id": 3000, "ctype": "geo.room", "presentation": "MC1.E.03.003: Gang Trakt 02 (OG03)\n", "level_id": 5, "room_id": 3000 }, { "id": 3006, "ctype": "geo.room", "presentation": "MC1.E.03.004: Brücke 6 geschlossen (OG03)\n", "level_id": 5, "room_id": 3006 }, { "id": 3008, "ctype": "geo.room", "presentation": "MC1.B.03.003: Gang Trakt 01 (OG03)\n", "level_id": 5, "room_id": 3008 }, { "id": 3013, "ctype": "geo.room", "presentation": "MC1.B.03.004: Brücke 3 geschlossen (OG03)\n", "level_id": 5, "room_id": 3013 }, { "id": 3031, "ctype": "geo.room", "presentation": "MC1.B.03.005: Gang Trakt 04 (OG03)\n", "level_id": 5, "room_id": 3031 }, { "id": 3032, "ctype": "geo.room", "presentation": "MC1.B.03.006: Gang Trakt 04 (OG03)\n", "level_id": 5, "room_id": 3032 }, { "id": 3044, "ctype": "geo.room", "presentation": "MC1.B.03.007: Gang Trakt 04 (OG03)\n", "level_id": 5, "room_id": 3044 }, { "id": 3107, "ctype": "geo.room", "presentation": "MC1.B.02.007: Gang Trakt 04 (OG02)\n", "level_id": 6, "room_id": 3107 }, { "id": 2587, "ctype": "geo.room", "presentation": "MC1.G.U1.021: Lager Sperrige Güter (UG01)\n", "level_id": 8, "room_id": 2587 }, { "id": 3289, "ctype": "geo.room", "presentation": "MC1.B.U1.042: Lampenlager, Verbrauchsgüter (TBF) (UG01)\n", "level_id": 8, "room_id": 3289 }, { "id": 3290, "ctype": "geo.room", "presentation": "MC1.B.U1.041: Werkstätte Kleinreparatur (TBF) (UG01)\n", "level_id": 8, "room_id": 3290 }, { "id": 2767, "ctype": "geo.room", "presentation": "MC1.F.04.033: Immunhisto Schneideraum + Administration (OG04)\n", "level_id": 4, "room_id": 2767 }, { "id": 2821, "ctype": "geo.room", "presentation": "MC1.D.04.024: Sozialraum (Teilnutzung AG Hill) (OG04)\n", "level_id": 4, "room_id": 2821 }, { "id": 2909, "ctype": "geo.room", "presentation": "MC1.E.04.010: Laserlabor (Teilnutzung AG Hill) (OG04)\n", "level_id": 4, "room_id": 2909 }, { "id": 2936, "ctype": "geo.room", "presentation": "MC1.C.03.008: Office of Doctoral Studies (OG03)\n", "level_id": 5, "room_id": 2936 } ] }