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=1760
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=1780",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1740",
    "results": [
        {
            "id": 50225,
            "ctype": "campusonline.person",
            "presentation": "Revident Ing. Andreas Kainz\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50226,
            "ctype": "campusonline.person",
            "presentation": "Amtsrätin Gertrude Krasnitzer-Taucher\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50228,
            "ctype": "campusonline.person",
            "presentation": "Amtsrätin Gerlinde Annemarie Pansi\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50229,
            "ctype": "campusonline.person",
            "presentation": "Fachoberinspektorin Margit Resel\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50230,
            "ctype": "campusonline.person",
            "presentation": "Bettina Masarei\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50234,
            "ctype": "campusonline.person",
            "presentation": "Fachoberinspektor Gerd Schwager\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50238,
            "ctype": "campusonline.person",
            "presentation": "Gertrude Reichmann\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50239,
            "ctype": "campusonline.person",
            "presentation": "Mag.phil. Brigitte Stöckl\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50243,
            "ctype": "campusonline.person",
            "presentation": "Oberamtswartin Mara Potocnik\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50245,
            "ctype": "campusonline.person",
            "presentation": "Silvia Rainer\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50250,
            "ctype": "campusonline.person",
            "presentation": "Markus Wolf\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50252,
            "ctype": "campusonline.person",
            "presentation": "Mst. Stefan Huber\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50254,
            "ctype": "campusonline.person",
            "presentation": "Dr.scient.med. Juliana-Salwa-Monir Habib\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50256,
            "ctype": "campusonline.person",
            "presentation": "Reinhard Damm\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50257,
            "ctype": "campusonline.person",
            "presentation": "Daniela Schaden\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50258,
            "ctype": "campusonline.person",
            "presentation": "Sen.Scientist  Dr.phil. Sonja Barth\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50260,
            "ctype": "campusonline.person",
            "presentation": "Astrid Rolke\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50264,
            "ctype": "campusonline.person",
            "presentation": "Mag.rer.nat. Josefa Luxner\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50268,
            "ctype": "campusonline.person",
            "presentation": "Klaus Zötsch\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50269,
            "ctype": "campusonline.person",
            "presentation": "Mag. Andrea Köstl\n",
            "level_id": null,
            "room_id": null
        }
    ]
}