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=1420
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1440", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1400", "results": [ { "id": 2925, "ctype": "geo.room", "presentation": "MC1.F.03.028: Biochemie PCR (RNA) (OG03)\n", "level_id": 5, "room_id": 2925 }, { "id": 3037, "ctype": "geo.room", "presentation": "MC1.B.03.031: Personenaufenthaltsraum / Sozialraum (OG03)\n", "level_id": 5, "room_id": 3037 }, { "id": 3051, "ctype": "geo.room", "presentation": "MC1.B.03.044: Lager / Archiv (OG03)\n", "level_id": 5, "room_id": 3051 }, { "id": 3454, "ctype": "geo.room", "presentation": "MC1.D.01.006: FM Lager (Brandschutz) (OG01)\n", "level_id": 7, "room_id": 3454 }, { "id": 3549, "ctype": "geo.room", "presentation": "MC1.F.EG.022: Chemikalientankraum brennbare Flüssigkeiten(VEXAT) (EG01)\n", "level_id": 2, "room_id": 3549 }, { "id": 3557, "ctype": "geo.room", "presentation": "MC1.F.EG.014: Reinraum (Assemblierung, Messung) (EG01)\n", "level_id": 2, "room_id": 3557 }, { "id": 3560, "ctype": "geo.room", "presentation": "MC1.C.EG.010: Personenaufenthaltsraum / Sozialraum (EG01)\n", "level_id": 2, "room_id": 3560 }, { "id": 3565, "ctype": "geo.room", "presentation": "MC1.C.EG.006: TBF / Nachtportier (EG01)\n", "level_id": 2, "room_id": 3565 }, { "id": 3593, "ctype": "geo.room", "presentation": "MC1.A.EG.006: Infopoint / Portier (EG01)\n", "level_id": 2, "room_id": 3593 }, { "id": 2789, "ctype": "geo.room", "presentation": "MC1.F.04.024: Pathologie - Sektionsraum 01 (OG04)\n", "level_id": 4, "room_id": 2789 }, { "id": 2790, "ctype": "geo.room", "presentation": "MC1.F.04.023: Pathologie - Sektionsraum 02 (OG04)\n", "level_id": 4, "room_id": 2790 }, { "id": 2791, "ctype": "geo.room", "presentation": "MC1.F.04.022: Pathologie - Sektionsraum 03 (OG04)\n", "level_id": 4, "room_id": 2791 }, { "id": 2792, "ctype": "geo.room", "presentation": "MC1.F.04.021: Pathologie - Sektionsraum 04 (OG04)\n", "level_id": 4, "room_id": 2792 }, { "id": 3455, "ctype": "geo.room", "presentation": "MC1.D.01.007: Seminarraum MC 04 (SR) (OG01)\n", "level_id": 7, "room_id": 3455 }, { "id": 608, "ctype": "geo.room", "presentation": "MC1.D.06.023: Kühlgeräteraum (-80°C-Freezer, Kühltruhen) (OG06)\n", "level_id": 1, "room_id": 608 }, { "id": 2603, "ctype": "geo.room", "presentation": "MC1.F.U1.039: Aufzug Versorgung / Verladehof (UG01)\n", "level_id": 8, "room_id": 2603 }, { "id": 2644, "ctype": "geo.room", "presentation": "MC1.D.U1.012: ESR - Prof. Prassl (UG01)\n", "level_id": 8, "room_id": 2644 }, { "id": 2645, "ctype": "geo.room", "presentation": "MC1.D.U1.011: ESR - Prof. Prassl (UG01)\n", "level_id": 8, "room_id": 2645 }, { "id": 2683, "ctype": "geo.room", "presentation": "MC1.B.04.005: Gang Trakt 04 (OG04)\n", "level_id": 4, "room_id": 2683 }, { "id": 2692, "ctype": "geo.room", "presentation": "MC1.B.04.035: Bakteriologie Stuhllabor 2 (OG04)\n", "level_id": 4, "room_id": 2692 } ] }