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=1640
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1660", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1620", "results": [ { "id": 3349, "ctype": "geo.room", "presentation": "MC1.D.02.033: Labor Typ 6 - Labor Proteinanalytik II (OG02)\n", "level_id": 6, "room_id": 3349 }, { "id": 3350, "ctype": "geo.room", "presentation": "MC1.D.02.034: Labor Typ 6 - Labor Proteinanalytik II (OG02)\n", "level_id": 6, "room_id": 3350 }, { "id": 3351, "ctype": "geo.room", "presentation": "MC1.D.02.029: Labor Typ 6 - Labor Proteinanalytik II (OG02)\n", "level_id": 6, "room_id": 3351 }, { "id": 3352, "ctype": "geo.room", "presentation": "MC1.D.02.031: Labor Typ 6 - Labor Proteinanalytik II (OG02)\n", "level_id": 6, "room_id": 3352 }, { "id": 3532, "ctype": "geo.room", "presentation": "MC1.F.EG.006: Fläche für Ver- und Entsorgung / Verladehof (EG01)\n", "level_id": 2, "room_id": 3532 }, { "id": 3717, "ctype": "geo.room", "presentation": "MC1.F.05.016: Übungsraum Pathologie 01 (UR) [D&F Molek. BioMed] (OG05)\n", "level_id": 3, "room_id": 3717 }, { "id": 3718, "ctype": "geo.room", "presentation": "MC1.F.05.017: Übungsraum Pathologie 02 (UR) [D&F Molek. BioMed] (OG05)\n", "level_id": 3, "room_id": 3718 }, { "id": 3080, "ctype": "geo.room", "presentation": "MC1.B.02.023: Übungsraum Hygiene (UR) [D&F Molek. BioMed] (OG02)\n", "level_id": 6, "room_id": 3080 }, { "id": 2742, "ctype": "geo.room", "presentation": "MC1.B.04.013: Bakt. Hauptlabor J-Standard und K-Standard 2 (OG04)\n", "level_id": 4, "room_id": 2742 }, { "id": 3175, "ctype": "geo.room", "presentation": "MC1.C.U1.021: S3-Infektionsseziersaal 2 und Makro f. infek. Mat. (UG01)\n", "level_id": 8, "room_id": 3175 }, { "id": 3178, "ctype": "geo.room", "presentation": "MC1.C.U1.020: S3-Infektionsseziersaal 1 und Makro f. infek. Mat. (UG01)\n", "level_id": 8, "room_id": 3178 }, { "id": 3530, "ctype": "geo.room", "presentation": "MC1.F.EG.009: Zentrales Gaslager für zentrale Versorg (CO2 + N2) (EG01)\n", "level_id": 2, "room_id": 3530 }, { "id": 50012, "ctype": "campusonline.person", "presentation": "Dr.med.univ. Christa Hager\n", "level_id": null, "room_id": null }, { "id": 50017, "ctype": "campusonline.person", "presentation": "Dr.med.univ. Karl Kocher\n", "level_id": null, "room_id": null }, { "id": 50018, "ctype": "campusonline.person", "presentation": "Univ.-Ass. Dr.med.univ. Gernot Wildner\n", "level_id": null, "room_id": null }, { "id": 50020, "ctype": "campusonline.person", "presentation": "Priv.-Doz. Dr.med.univ. Theresa Lahousen-Luxenberger\n", "level_id": null, "room_id": null }, { "id": 50038, "ctype": "campusonline.person", "presentation": "Univ. FA Priv.-Doz. Dr.med.univ. Peter Konstantiniuk\n", "level_id": null, "room_id": null }, { "id": 50039, "ctype": "campusonline.person", "presentation": "Univ.-Prof. Dr.med.univ. Peter Kornprat\n", "level_id": null, "room_id": null }, { "id": 50041, "ctype": "campusonline.person", "presentation": "Univ.-Ass. Priv.-Doz. Dr.med.univ. Peter Komericki\n", "level_id": null, "room_id": null }, { "id": 50044, "ctype": "campusonline.person", "presentation": "Univ.-Doz. Univ. FA Dr.med. Cord Langner\n", "level_id": null, "room_id": null } ] }