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=260
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=280",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=240",
    "results": [
        {
            "id": 97,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für Neuroradiologie, vaskuläre und interventionelle Radiologie, 8036 Graz, Auenbruggerplatz 9\n"
        },
        {
            "id": 226,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Büro der Vizerektorin für Finanzmanagement, Recht und Digitalisierung, 8036 Graz, Auenbruggerplatz 2\n"
        },
        {
            "id": 352,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Transplantation Research Unit 2: Experimental Transplantation Research, 8010 Graz, Stiftingtalstraße 24/1\n"
        },
        {
            "id": 69,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für Spezielle Anästhesiologie, Schmerz und Intensivmedizin, 8036 Graz, Auenbruggerplatz 5/5\n"
        },
        {
            "id": 67,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für Allgemeine Anästhesiologie, Notfall- und Intensivmedizin, 8036 Graz, Auenbruggerplatz 29/I\n"
        },
        {
            "id": 368,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Teaching Unit an der Univ.-Klinik für Innere Medizin, 8036 Graz, Auenbruggerplatz 15\n"
        },
        {
            "id": 39,
            "ctype": "structure.organization",
            "level_id": 6,
            "room_id": 3118,
            "presentation": "Diagnostik  Forschungsinstitut für Hygiene, Mikrobiologie und Umweltmedizin, 8010 Graz, Neue Stiftingtalstraße 6/III\n"
        },
        {
            "id": 68,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für Herz-, Thorax-, Gefäßchirurgische Anästhesiologie und Intensivmedizin, 8036 Graz, Auenbruggerplatz 5/5\n"
        },
        {
            "id": 366,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Clinical Obstetric Research Unit and Academical Network Graz-Klagenfurt, 8036 Graz, Auenbruggerplatz 14\n"
        },
        {
            "id": 303,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Human Computer Interaction for Medicine  Health Care (HCI4MED), 8036 Graz, Auenbruggerplatz 2/9/V\n"
        },
        {
            "id": 345,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Epidemiologie und Ergebisqualität bei kritisch Kranken / Epidemiology and Outcomes in Critical Illness, None\n"
        },
        {
            "id": 276,
            "ctype": "geo.room",
            "presentation": "- (OG06)\n",
            "level_id": 1,
            "room_id": 276
        },
        {
            "id": 277,
            "ctype": "geo.room",
            "presentation": "- (OG06)\n",
            "level_id": 1,
            "room_id": 277
        },
        {
            "id": 549,
            "ctype": "geo.room",
            "presentation": "- (OG06)\n",
            "level_id": 1,
            "room_id": 549
        },
        {
            "id": 551,
            "ctype": "geo.room",
            "presentation": "- (OG06)\n",
            "level_id": 1,
            "room_id": 551
        },
        {
            "id": 552,
            "ctype": "geo.room",
            "presentation": "- (OG06)\n",
            "level_id": 1,
            "room_id": 552
        },
        {
            "id": 578,
            "ctype": "geo.room",
            "presentation": "- (OG06)\n",
            "level_id": 1,
            "room_id": 578
        },
        {
            "id": 579,
            "ctype": "geo.room",
            "presentation": "- (OG06)\n",
            "level_id": 1,
            "room_id": 579
        },
        {
            "id": 584,
            "ctype": "geo.room",
            "presentation": "- (OG06)\n",
            "level_id": 1,
            "room_id": 584
        },
        {
            "id": 601,
            "ctype": "geo.room",
            "presentation": "- (OG06)\n",
            "level_id": 1,
            "room_id": 601
        }
    ]
}