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=120
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=140",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=100",
    "results": [
        {
            "id": 385,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Metabolism and Microbiome in Pediatric Surgery, None\n"
        },
        {
            "id": 393,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "FE Infectious Diseases in the Immunocompromised Host, None\n"
        },
        {
            "id": 48,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Universitätsklinik für Innere Medizin, 8036 Graz, Auenbruggerplatz 15\n"
        },
        {
            "id": 63,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für Gynäkologie, 8036 Graz, Auenbruggerplatz 14\n"
        },
        {
            "id": 64,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für Geburtshilfe, 8036 Graz, Auenbruggerplatz 14\n"
        },
        {
            "id": 66,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für Phoniatrie, 8036 Graz, Auenbruggerplatz 26\n"
        },
        {
            "id": 70,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für Allgemeinchirurgie, 8036 Graz, Auenbruggerplatz 29\n"
        },
        {
            "id": 71,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für Gefäßchirurgie, 8036 Graz, Auenbruggerplatz 29\n"
        },
        {
            "id": 72,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für Herzchirurgie, 8036 Graz, Auenbruggerplatz 29\n"
        },
        {
            "id": 75,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für Transplantationschirurgie, 8036 Graz, Auenbruggerplatz 29\n"
        },
        {
            "id": 76,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für Angiologie, 8036 Graz, Auenbruggerplatz 15\n"
        },
        {
            "id": 79,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für Hämatologie, 8036 Graz, Auenbruggerplatz 38\n"
        },
        {
            "id": 80,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für Kardiologie, 8036 Graz, Auenbruggerplatz 15\n"
        },
        {
            "id": 81,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für Nephrologie, 8036 Graz, Auenbruggerplatz 27\n"
        },
        {
            "id": 82,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für Onkologie, 8036 Graz, Auenbruggerplatz 15\n"
        },
        {
            "id": 84,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für Pulmonologie, 8036 Graz, Auenbruggerplatz 15\n"
        },
        {
            "id": 93,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für Neurogeriatrie, 8036 Graz, Auenbruggerplatz 22\n"
        },
        {
            "id": 95,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für Kinderradiologie, 8036 Graz, Auenbruggerplatz 34\n"
        },
        {
            "id": 96,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Klinische Abteilung für Nuklearmedizin, 8036 Graz, Auenbruggerplatz 9\n"
        },
        {
            "id": 211,
            "ctype": "structure.organization",
            "level_id": null,
            "room_id": null,
            "presentation": "Core Facility Experimental Biomodels, 8036 Graz, Roseggerweg 48\n"
        }
    ]
}