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=1540
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1560", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1520", "results": [ { "id": 3799, "ctype": "geo.room", "presentation": "MC1.E.05.007: Gitterrost/Technikraum: Schacht für TGA (OG05)\n", "level_id": 3, "room_id": 3799 }, { "id": 3805, "ctype": "geo.room", "presentation": "MC1.E.05.026: Gitterrost/Technikraum: Schacht für TGA (OG05)\n", "level_id": 3, "room_id": 3805 }, { "id": 2741, "ctype": "geo.room", "presentation": "MC1.B.04.012: Bakt. Hauptlabor J-Standard (OG04)\n", "level_id": 4, "room_id": 2741 }, { "id": 3077, "ctype": "geo.room", "presentation": "MC1.E.02.005: Zentrale Spülküche Hygiene/Pathologie (OG02)\n", "level_id": 6, "room_id": 3077 }, { "id": 3078, "ctype": "geo.room", "presentation": "MC1.E.02.004: Zentrale Spülküche Hygiene/Pathologie (OG02)\n", "level_id": 6, "room_id": 3078 }, { "id": 3097, "ctype": "geo.room", "presentation": "MC1.B.02.016: S3-Infektionsforschungsbereich (QC PreparationLab) (OG02)\n", "level_id": 6, "room_id": 3097 }, { "id": 3099, "ctype": "geo.room", "presentation": "MC1.B.02.018: S3-Infektionsforschungsbereich (Nitrogen Storage) (OG02)\n", "level_id": 6, "room_id": 3099 }, { "id": 692, "ctype": "geo.room", "presentation": "MC1.B.06.048: Zellkultur 05 ZMF II (OG06)\n", "level_id": 1, "room_id": 692 }, { "id": 693, "ctype": "geo.room", "presentation": "MC1.B.06.047: Zellkultur 04 ZMF II (OG06)\n", "level_id": 1, "room_id": 693 }, { "id": 694, "ctype": "geo.room", "presentation": "MC1.B.06.046: Zellkultur 03 ZMF II (OG06)\n", "level_id": 1, "room_id": 694 }, { "id": 695, "ctype": "geo.room", "presentation": "MC1.B.06.045: Zellkultur 02 ZMF II (OG06)\n", "level_id": 1, "room_id": 695 }, { "id": 696, "ctype": "geo.room", "presentation": "MC1.B.06.044: Zellkultur 01 ZMF II (OG06)\n", "level_id": 1, "room_id": 696 }, { "id": 2580, "ctype": "geo.room", "presentation": "MC1.G.U1.024: Lager/Archiv: Lehrstuhl für Physiologie (UG01)\n", "level_id": 8, "room_id": 2580 }, { "id": 2586, "ctype": "geo.room", "presentation": "MC1.G.U1.019: Lager/Archiv: Lehrstuhl für Biophysik (UG01)\n", "level_id": 8, "room_id": 2586 }, { "id": 2643, "ctype": "geo.room", "presentation": "MC1.D.U1.010: NMR - Prof. Madl (UG01)\n", "level_id": 8, "room_id": 2643 }, { "id": 2685, "ctype": "geo.room", "presentation": "MC1.B.04.028: Autoklavenraum, Kühlgeräteraum (-80°C-Freezer) (OG04)\n", "level_id": 4, "room_id": 2685 }, { "id": 3100, "ctype": "geo.room", "presentation": "MC1.B.02.017: S3-Infektionsforschungsbereich (Freezer -80°C) (OG02)\n", "level_id": 6, "room_id": 3100 }, { "id": 3335, "ctype": "geo.room", "presentation": "MC1.F.02.019: Allg. Histo - Färbungen (OG02)\n", "level_id": 6, "room_id": 3335 }, { "id": 3526, "ctype": "geo.room", "presentation": "MC1.G.EG.010: Gitterrost/Technikraum: Schacht für TGA (EG01)\n", "level_id": 2, "room_id": 3526 }, { "id": 3551, "ctype": "geo.room", "presentation": "MC1.F.EG.021: Gitterrost/Technikraum: Schacht für TGA (EG01)\n", "level_id": 2, "room_id": 3551 } ] }