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=1520
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1540", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1500", "results": [ { "id": 3114, "ctype": "geo.room", "presentation": "MC1.B.02.027: Gitterrost/Technikraum: Schacht für TGA (OG02)\n", "level_id": 6, "room_id": 3114 }, { "id": 3137, "ctype": "geo.room", "presentation": "MC1.C.02.007: Gitterrost/Technikraum: Schacht für TGA (OG02)\n", "level_id": 6, "room_id": 3137 }, { "id": 3173, "ctype": "geo.room", "presentation": "MC1.F.02.013: Gitterrost/Technikraum: Schacht für TGA (OG02)\n", "level_id": 6, "room_id": 3173 }, { "id": 3358, "ctype": "geo.room", "presentation": "MC1.D.02.013: Gitterrost/Technikraum: Schacht für TGA (OG02)\n", "level_id": 6, "room_id": 3358 }, { "id": 3398, "ctype": "geo.room", "presentation": "MC1.G.01.008: Gitterrost/Technikraum: Schacht für TGA (OG01)\n", "level_id": 7, "room_id": 3398 }, { "id": 3409, "ctype": "geo.room", "presentation": "MC1.F.01.015: Gitterrost/Technikraum: Schacht für TGA (OG01)\n", "level_id": 7, "room_id": 3409 }, { "id": 3416, "ctype": "geo.room", "presentation": "MC1.F.01.018: Raum für Übungsvorbereitung (Radionuklid-Bereich) (OG01)\n", "level_id": 7, "room_id": 3416 }, { "id": 3426, "ctype": "geo.room", "presentation": "MC1.C.01.006: Gitterrost/Technikraum: Schacht für TGA (OG01)\n", "level_id": 7, "room_id": 3426 }, { "id": 3453, "ctype": "geo.room", "presentation": "MC1.D.01.004: Gitterrost/Technikraum: Schacht für TGA (OG01)\n", "level_id": 7, "room_id": 3453 }, { "id": 3472, "ctype": "geo.room", "presentation": "MC1.E.01.007: Gitterrost/Technikraum: Schacht für TGA (OG01)\n", "level_id": 7, "room_id": 3472 }, { "id": 3482, "ctype": "geo.room", "presentation": "MC1.B.01.010: Gitterrost/Technikraum: Schacht für TGA (OG01)\n", "level_id": 7, "room_id": 3482 }, { "id": 3501, "ctype": "geo.room", "presentation": "MC1.B.01.026: Gitterrost/Technikraum: Schacht für TGA (OG01)\n", "level_id": 7, "room_id": 3501 }, { "id": 3670, "ctype": "geo.room", "presentation": "MC1.G.05.019: Zentraler Einkauf, Bestellung, Warenübernahme (OG05)\n", "level_id": 3, "room_id": 3670 }, { "id": 3678, "ctype": "geo.room", "presentation": "MC1.G.05.009: Gitterrost/Technikraum: Schacht für TGA (OG05)\n", "level_id": 3, "room_id": 3678 }, { "id": 3685, "ctype": "geo.room", "presentation": "MC1.G.05.014: Molekula pathologische Diagnostik Präanalytik (OG05)\n", "level_id": 3, "room_id": 3685 }, { "id": 3695, "ctype": "geo.room", "presentation": "MC1.F.05.028: Molekularpathologische Diagnostik AVANT Sequenzaus (OG05)\n", "level_id": 3, "room_id": 3695 }, { "id": 3713, "ctype": "geo.room", "presentation": "MC1.F.05.015: Gitterrost/Technikraum: Schacht für TGA (OG05)\n", "level_id": 3, "room_id": 3713 }, { "id": 3732, "ctype": "geo.room", "presentation": "MC1.C.05.015: Gitterrost/Technikraum: Schacht für TGA (OG05)\n", "level_id": 3, "room_id": 3732 }, { "id": 3755, "ctype": "geo.room", "presentation": "MC1.B.05.030: Gitterrost/Technikraum: Schacht für TGA (OG05)\n", "level_id": 3, "room_id": 3755 }, { "id": 3787, "ctype": "geo.room", "presentation": "MC1.B.05.012: Gitterrost/Technikraum: Schacht für TGA (OG05)\n", "level_id": 3, "room_id": 3787 } ] }