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=1800
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=1820",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1780",
    "results": [
        {
            "id": 50305,
            "ctype": "campusonline.person",
            "presentation": "Renate Nograsek\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50310,
            "ctype": "campusonline.person",
            "presentation": "Mag.phil. MSc Verena Maidl\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50311,
            "ctype": "campusonline.person",
            "presentation": "Oberoffizial Egon Russa\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50312,
            "ctype": "campusonline.person",
            "presentation": "Amtsrat Gerhard Ledinski\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50313,
            "ctype": "campusonline.person",
            "presentation": "Fachoberinspektorin Ursula Reisp\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50315,
            "ctype": "campusonline.person",
            "presentation": "Fachoberinspektorin Erna Ollenborger\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50316,
            "ctype": "campusonline.person",
            "presentation": "Fachoberinspektor Josef Kormann\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50317,
            "ctype": "campusonline.person",
            "presentation": "Amtsdirektor Ing. Josef Kellner\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50318,
            "ctype": "campusonline.person",
            "presentation": "Fachinspektor Juergen Fechter\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50321,
            "ctype": "campusonline.person",
            "presentation": "Oberkontroller Walter Schraith\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50322,
            "ctype": "campusonline.person",
            "presentation": "Fachinspektor Enrico Stolz\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50323,
            "ctype": "campusonline.person",
            "presentation": "Fachoberinspektorin Andrea Wernhammer\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50327,
            "ctype": "campusonline.person",
            "presentation": "Amtsdirektor Hans-Christian Caluba\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50329,
            "ctype": "campusonline.person",
            "presentation": "Revident Bernd Hubich\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50330,
            "ctype": "campusonline.person",
            "presentation": "Fachoberinspektorin Andrea Taucher\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50332,
            "ctype": "campusonline.person",
            "presentation": "Amtsrat BA Fritz Studencnik\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50334,
            "ctype": "campusonline.person",
            "presentation": "Fachoberinspektorin Rosemarie Gangl\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50336,
            "ctype": "campusonline.person",
            "presentation": "Amtsrätin Ruth Zotter\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50338,
            "ctype": "campusonline.person",
            "presentation": "Cornelia Oberreßl\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50340,
            "ctype": "campusonline.person",
            "presentation": "Amtsrat Ing. Walter Schrabmair\n",
            "level_id": null,
            "room_id": null
        }
    ]
}