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.Person
  • campusonline.Room
  • campusonline.Student
  • geo.Room
  • structure.Organization
  • structure.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=220
HTTP 200 OK
  Allow: GET, HEAD, OPTIONS
  Content-Type: application/json
  Vary: Accept
  
  {
    "count": 18715,
    "next": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=240",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=200",
    "results": [
        {
            "id": 94,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für allgemeine radiologische Diagnostik, 8036 Graz, Auenbruggerplatz 9\n"
        },
        {
            "id": 155,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "OE MED CAMPUS: Errichtung und Management, 8010 Graz, Billrothgasse 6\n"
        },
        {
            "id": 210,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Core Facility Alternative Biomodels  Preclinical Imaging, 8036 Graz, Roseggerweg 48\n"
        },
        {
            "id": 225,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Vizerektorin für Finanzmanagement, Recht und Digitalisierung, 8036 Graz, Auenbruggerplatz 2\n"
        },
        {
            "id": 306,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Nitric Oxide Stress Study Group, 8036 Graz, Auenbruggerplatz 15\n"
        },
        {
            "id": 388,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Osteologische Grundlagenforschung und analytische Massenspektrometrie, 8036 Graz, Auenbruggerplatz 34\n"
        },
        {
            "id": 390,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Zerebrale Entwicklung und Oximetrie Research, 8036 Graz, Auenbruggerplatz 29\n"
        },
        {
            "id": 396,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Verhaltensmedizin, Gesundheitspsychologie und empirische Psychosomatik, 8036 Graz, Roseggerweg 50\n"
        },
        {
            "id": 404,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Teaching Unit der Universitätsklinik für Radiologie, 8036 Graz, Auenbruggerplatz 9\n"
        },
        {
            "id": 231,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Institut für Allgemeinmedizin und evidenzbasierte Versorgungsforschung, 8036 Graz, Auenbruggerplatz 2/9\n"
        },
        {
            "id": 314,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Molekulare und zelluläre Physiologie, 8010 Graz, Neue Stiftingtalstraße 6/VI\n"
        },
        {
            "id": 367,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Anale Inkontinenz aufgrund geburtshilflich-gynäkologischer Ursachen, 8036 Graz, Auenbruggerplatz 14\n"
        },
        {
            "id": 31,
            "ctype": "structure.organization",
            "level_id": 1,
            "room_id": 546,
            "presentation": "Lehrstuhl für Molekularbiologie und Biochemie, 8010 Graz, Neue Stiftingtalstraße 6/VI\n"
        },
        {
            "id": 34,
            "ctype": "structure.organization",
            "level_id": 5,
            "room_id": 2937,
            "presentation": "Lehrstuhl für makroskopische und klinische Anatomie, 8010 Graz, Harrachgasse 21/I\n"
        },
        {
            "id": 13,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Büro des Arbeitskreis für Gleichbehandlungsfragen (AKGL), 8036 Graz, Auenbruggerplatz 2/9/I\n"
        },
        {
            "id": 290,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Büro des Vizerektors für Klinische Agenden, 8036 Graz, Auenbruggerplatz 2/9/IV\n"
        },
        {
            "id": 394,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Teaching Unit Kommunikation - Supervision - Reflexion, 8036 Graz, Auenbruggerplatz 2/6\n"
        },
        {
            "id": 219,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Ombudsstelle für gute wissenschaftliche Praxis an der Medizinischen Universität Graz, None\n"
        },
        {
            "id": 324,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Teaching Unit: Integrative Physiologie mit dem Schwerpunkt Entwicklung und Altern, None\n"
        },
        {
            "id": 362,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Teledermatologie, Prävention und innovative diagnostische Verfahren in der Dermatoonkologie, None\n"
        }
    ]
}