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=1280
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1300", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1260", "results": [ { "id": 2701, "ctype": "geo.room", "presentation": "MC1.G.04.010: Neuro- und Kinderpathologie (OG04)\n", "level_id": 4, "room_id": 2701 }, { "id": 2766, "ctype": "geo.room", "presentation": "MC1.F.04.038: ELMI Schneideplatz (+Fotolabor) (OG04)\n", "level_id": 4, "room_id": 2766 }, { "id": 2769, "ctype": "geo.room", "presentation": "MC1.F.04.032: Immunhisto Labor Geräteraum (OG04)\n", "level_id": 4, "room_id": 2769 }, { "id": 2771, "ctype": "geo.room", "presentation": "MC1.F.04.030: Hämato-, Osteo. Labor (OG04)\n", "level_id": 4, "room_id": 2771 }, { "id": 2772, "ctype": "geo.room", "presentation": "MC1.F.04.029: Hämato-, Osteo. Labor (OG04)\n", "level_id": 4, "room_id": 2772 }, { "id": 2794, "ctype": "geo.room", "presentation": "MC1.F.04.019: Makro f. Seziersaal (OG04)\n", "level_id": 4, "room_id": 2794 }, { "id": 2798, "ctype": "geo.room", "presentation": "MC1.F.04.015: Waschraum (bei Umkleide) (OG04)\n", "level_id": 4, "room_id": 2798 }, { "id": 2799, "ctype": "geo.room", "presentation": "MC1.C.04.017: Allgemeine Kanzlei Schreibdienst (OG04)\n", "level_id": 4, "room_id": 2799 }, { "id": 2801, "ctype": "geo.room", "presentation": "MC1.C.04.018: Allgemeine Kanzlei Schreibdienst (OG04)\n", "level_id": 4, "room_id": 2801 }, { "id": 3520, "ctype": "geo.room", "presentation": "MC1.G.EG.012: Technikraum für Brandrauchverdünnungsanlage (EG01)\n", "level_id": 2, "room_id": 3520 }, { "id": 3527, "ctype": "geo.room", "presentation": "MC1.G.EG.002: Schleuse Kern G (EG01)\n", "level_id": 2, "room_id": 3527 }, { "id": 3542, "ctype": "geo.room", "presentation": "MC1.F.EG.002: Schleuse Kern F (EG01)\n", "level_id": 2, "room_id": 3542 }, { "id": 3566, "ctype": "geo.room", "presentation": "MC1.C.EG.002: Schleuse Kern C (EG01)\n", "level_id": 2, "room_id": 3566 }, { "id": 3582, "ctype": "geo.room", "presentation": "MC1.A.EG.004: Schleuse Kern D (EG01)\n", "level_id": 2, "room_id": 3582 }, { "id": 3604, "ctype": "geo.room", "presentation": "MC1.A.EG.011: Revisionsraum unter Aulastiege (EG01)\n", "level_id": 2, "room_id": 3604 }, { "id": 3620, "ctype": "geo.room", "presentation": "MC1.B.EG.032: Sekretariat - Büro (EG01)\n", "level_id": 2, "room_id": 3620 }, { "id": 3621, "ctype": "geo.room", "presentation": "MC1.B.EG.033: Mitarbeiter - Büro (EG01)\n", "level_id": 2, "room_id": 3621 }, { "id": 3623, "ctype": "geo.room", "presentation": "MC1.B.EG.035: Mitarbeiter - Büro (EG01)\n", "level_id": 2, "room_id": 3623 }, { "id": 3624, "ctype": "geo.room", "presentation": "MC1.B.EG.036: Mitarbeiter - Büro (EG01)\n", "level_id": 2, "room_id": 3624 }, { "id": 3626, "ctype": "geo.room", "presentation": "MC1.B.EG.037: Mitarbeiter - Büro (EG01)\n", "level_id": 2, "room_id": 3626 } ] }