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=1620
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1640", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1600", "results": [ { "id": 3418, "ctype": "geo.room", "presentation": "MC1.F.01.016: Übungsraum 01 (UR) [Otto Loewi Forschungszentrum] (OG01)\n", "level_id": 7, "room_id": 3418 }, { "id": 3438, "ctype": "geo.room", "presentation": "MC1.G.01.010: Übungsraum 010 (UR) [Gottfried Schatz Forschungsz] (OG01)\n", "level_id": 7, "room_id": 3438 }, { "id": 3439, "ctype": "geo.room", "presentation": "MC1.G.01.015: Übungsraum 06 (UR) [Otto Loewi Forschungszentrum] (OG01)\n", "level_id": 7, "room_id": 3439 }, { "id": 3440, "ctype": "geo.room", "presentation": "MC1.G.01.014: Übungsraum 05 (UR) [Otto Loewi Forschungszentrum] (OG01)\n", "level_id": 7, "room_id": 3440 }, { "id": 3441, "ctype": "geo.room", "presentation": "MC1.G.01.012: Übungsraum 012 (UR) [Otto Loewi Forschungszentrum] (OG01)\n", "level_id": 7, "room_id": 3441 }, { "id": 661, "ctype": "geo.room", "presentation": "MC1.B.06.021: Befundung / Probenannahme / Labor Auswertezone (OG06)\n", "level_id": 1, "room_id": 661 }, { "id": 3068, "ctype": "geo.room", "presentation": "MC1.G.02.008: Übungsraum 02 (UR) [D&F Molekulare BioMedizin] (OG02)\n", "level_id": 6, "room_id": 3068 }, { "id": 3069, "ctype": "geo.room", "presentation": "MC1.G.02.009: Übungsraum 03 (UR) [D&F Molekulare BioMedizin] (OG02)\n", "level_id": 6, "room_id": 3069 }, { "id": 3380, "ctype": "geo.room", "presentation": "MC1.G.01.005: Seminarraum 01 (SR) [D&F Molekulare BioMedizin] (OG01)\n", "level_id": 7, "room_id": 3380 }, { "id": 3775, "ctype": "geo.room", "presentation": "MC1.B.05.021: Hist. Labor Schnitte und Blöcke Rücksortierung (OG05)\n", "level_id": 3, "room_id": 3775 }, { "id": 2759, "ctype": "geo.room", "presentation": "MC1.G.03.010: Allg. Histo - Diskussionsmikroskopie und Vorber. (OG03)\n", "level_id": 5, "room_id": 2759 }, { "id": 3330, "ctype": "geo.room", "presentation": "MC1.F.02.014: Allg. Histo - Aufbereitung und Anpassung (OG02)\n", "level_id": 6, "room_id": 3330 }, { "id": 2589, "ctype": "geo.room", "presentation": "MC1.G.U1.020: Lager/Archiv: D&F Institut für Hygiene (UG01)\n", "level_id": 8, "room_id": 2589 }, { "id": 2950, "ctype": "geo.room", "presentation": "MC1.D.03.032: Laborraum Typ 6 - HPLC Labor I (OG03)\n", "level_id": 5, "room_id": 2950 }, { "id": 2951, "ctype": "geo.room", "presentation": "MC1.D.03.031: Laborraum Typ 6 - HPLC Labor I (OG03)\n", "level_id": 5, "room_id": 2951 }, { "id": 2954, "ctype": "geo.room", "presentation": "MC1.D.03.030: Labor Typ 6 - HPLC Labor II (OG03)\n", "level_id": 5, "room_id": 2954 }, { "id": 2956, "ctype": "geo.room", "presentation": "MC1.D.03.028: Labor Typ 6 - HPLC Labor III (OG03)\n", "level_id": 5, "room_id": 2956 }, { "id": 2957, "ctype": "geo.room", "presentation": "MC1.D.03.029: Labor Typ 6 - HPLC Labor III (OG03)\n", "level_id": 5, "room_id": 2957 }, { "id": 2974, "ctype": "geo.room", "presentation": "MC1.D.03.019: Laborraum Typ 6 - Labor Proteinanalytik I (OG03)\n", "level_id": 5, "room_id": 2974 }, { "id": 2976, "ctype": "geo.room", "presentation": "MC1.D.03.017: Laborraum Typ 6 - Labor Proteinanalytik Blutgerinn (OG03)\n", "level_id": 5, "room_id": 2976 } ] }