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=940
{ "count": 18715, "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=960", "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=920", "results": [ { "id": 625, "ctype": "geo.room", "presentation": "MC1.F.06.025: Labor 07 (OG06)\n", "level_id": 1, "room_id": 625 }, { "id": 626, "ctype": "geo.room", "presentation": "MC1.F.06.028: Labor 08 (OG06)\n", "level_id": 1, "room_id": 626 }, { "id": 2972, "ctype": "geo.room", "presentation": "MC1.D.03.018: Kühlraum (+4°C) (OG03)\n", "level_id": 5, "room_id": 2972 }, { "id": 3345, "ctype": "geo.room", "presentation": "MC1.D.02.037: Kühlraum (+4°C) (OG02)\n", "level_id": 6, "room_id": 3345 }, { "id": 2574, "ctype": "geo.room", "presentation": "MC1.G.U1.029: Duschen/Umkleide Damen (UG01)\n", "level_id": 8, "room_id": 2574 }, { "id": 2575, "ctype": "geo.room", "presentation": "MC1.G.U1.027: Duschen/Umkleiden Herren (UG01)\n", "level_id": 8, "room_id": 2575 }, { "id": 2627, "ctype": "geo.room", "presentation": "MC1.F.U1.026: Abluftöffnung NS-Aggregat (UG01)\n", "level_id": 8, "room_id": 2627 }, { "id": 2633, "ctype": "geo.room", "presentation": "MC1.F.U1.008: WC B (UG01)\n", "level_id": 8, "room_id": 2633 }, { "id": 2634, "ctype": "geo.room", "presentation": "MC1.F.U1.009: Aufbahrung, Verabschiedung (UG01)\n", "level_id": 8, "room_id": 2634 }, { "id": 2635, "ctype": "geo.room", "presentation": "MC1.F.U1.011: WC B (UG01)\n", "level_id": 8, "room_id": 2635 }, { "id": 2653, "ctype": "geo.room", "presentation": "MC1.D.U1.025: WC B/D (UG01)\n", "level_id": 8, "room_id": 2653 }, { "id": 2662, "ctype": "geo.room", "presentation": "MC1.D.U1.013: Duschen/Umkleiden Damen (UG01)\n", "level_id": 8, "room_id": 2662 }, { "id": 2663, "ctype": "geo.room", "presentation": "MC1.D.U1.015: Duschen/Umkleiden Herren (UG01)\n", "level_id": 8, "room_id": 2663 }, { "id": 3194, "ctype": "geo.room", "presentation": "MC1.C.U1.011: Lager Obduktionsnähe (UG01)\n", "level_id": 8, "room_id": 3194 }, { "id": 3195, "ctype": "geo.room", "presentation": "MC1.C.U1.012: Schleuse Leichenlogistik (UG01)\n", "level_id": 8, "room_id": 3195 }, { "id": 3197, "ctype": "geo.room", "presentation": "MC1.C.U1.009: Prosektur Dienstzimmer (UG01)\n", "level_id": 8, "room_id": 3197 }, { "id": 3255, "ctype": "geo.room", "presentation": "MC1.F.U1.026: Abluftöffnung NS-Aggregat (UG01)\n", "level_id": 8, "room_id": 3255 }, { "id": 3262, "ctype": "geo.room", "presentation": "MC1.F.U1.009: Aufbahrung, Verabschiedung (UG01)\n", "level_id": 8, "room_id": 3262 }, { "id": 3272, "ctype": "geo.room", "presentation": "MC1.C.U1.043: Zuluftkanal Notstrom-Aggregat (UG01)\n", "level_id": 8, "room_id": 3272 }, { "id": 3291, "ctype": "geo.room", "presentation": "MC1.B.U1.040: (Lüftungs-)Technik Tierbiologie (UG01)\n", "level_id": 8, "room_id": 3291 } ] }