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=180
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=200",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=160",
    "results": [
        {
            "id": 65,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für allgemeine HNO, 8036 Graz, Auenbruggerplatz 26\n"
        },
        {
            "id": 92,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für allgemeine Neurologie, 8036 Graz, Auenbruggerplatz 22\n"
        },
        {
            "id": 349,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE medizinische Technik und Datenverarbeitung, 8036 Graz, Auenbruggerplatz 29\n"
        },
        {
            "id": 361,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Melanombiologie (Tumor Biology Unit), 8036 Graz, Auenbruggerplatz 8\n"
        },
        {
            "id": 364,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Gynäkologische Morphologie und Zytologie, 8036 Graz, Auenbruggerplatz 14\n"
        },
        {
            "id": 387,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Pädiatrische Schlafmedizin und Schlafforschung, 8036 Graz, Auenbruggerplatz 34\n"
        },
        {
            "id": 392,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Neonatale Infektionserkrankungen und Epidemiologie, 8036 Graz, Auenbruggerplatz 34\n"
        },
        {
            "id": 399,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Neuronale Plastizität und Reperatur, 8036 Graz, Auenbruggerplatz 22\n"
        },
        {
            "id": 406,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Digitale Information und Bildverarbeitung, 8036 Graz, Auenbruggerplatz 9\n"
        },
        {
            "id": 409,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Molekulare und angewandte Radioonkologie, 8036 Graz, Auenbruggerplatz 32\n"
        },
        {
            "id": 36,
            "ctype": "structure.organization",
            "level_id": 3,
            "room_id": 3726,
            "presentation": "Diagnostik  Forschungsinstitut für Pathologie, 8010 Graz, Neue Stiftingtalstraße 6\n"
        },
        {
            "id": 37,
            "ctype": "structure.organization",
            "level_id": 2,
            "room_id": 3628,
            "presentation": "Diagnostik  Forschungsinstitut für Humangenetik, 8010 Graz, Neue Stiftingtalstraße 6\n"
        },
        {
            "id": 46,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Universitätsklinik für Anästhesiologie und Intensivmedizin, 8036 Graz, Auenbruggerplatz 5/5\n"
        },
        {
            "id": 54,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Universitätsklinik für Orthopädie und Traumatologie, 8036 Graz, Auenbruggerplatz 5/6\n"
        },
        {
            "id": 209,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Core Facility Clinical Trials Unit, 8010 Graz, Stiftingtalstraße 24/1\n"
        },
        {
            "id": 253,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Abteilung Zentrum für Medizinische Forschung, 8010 Graz, Stiftingtalstraße 24/1\n"
        },
        {
            "id": 298,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Molekulare Lungen- und Pleurapathologie, 8036 Graz, Auenbruggerplatz 25/3\n"
        },
        {
            "id": 378,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Non-Coding RNAs and Genome Editing in Cancer, None\n"
        },
        {
            "id": 426,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Stabsstelle Büro der Dekanin*des Dekans für studienrechtliche Angelegenheiten, None\n"
        },
        {
            "id": 35,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Diagnostik  Forschungsinstitut für Gerichtliche Medizin, 8010 Graz, Universitätsplatz 4/II\n"
        }
    ]
}