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=1700
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=1720",
    "previous": "https://api-test.medunigraz.at/v1/api/autocomplete/?format=api&limit=20&offset=1680",
    "results": [
        {
            "id": 50106,
            "ctype": "campusonline.person",
            "presentation": "Amtsrätin Sabine Meissl\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50108,
            "ctype": "campusonline.person",
            "presentation": "Josef Artauf\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50109,
            "ctype": "campusonline.person",
            "presentation": "Ing. Andreas Gartlgruber\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50110,
            "ctype": "campusonline.person",
            "presentation": "Amtsrätin Renate Unterweger\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50111,
            "ctype": "campusonline.person",
            "presentation": "Kontrollorin Romana Groß\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50113,
            "ctype": "campusonline.person",
            "presentation": "Fachoberinspektorin Marion Seidl\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50114,
            "ctype": "campusonline.person",
            "presentation": "Gerlinde Sagmeister\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50115,
            "ctype": "campusonline.person",
            "presentation": "Amtsrätin Doris Payerl\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50116,
            "ctype": "campusonline.person",
            "presentation": "Amtsrätin BSc MSc Karin Lind\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50117,
            "ctype": "campusonline.person",
            "presentation": "Martina Wild\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50118,
            "ctype": "campusonline.person",
            "presentation": "Christine Imre\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50119,
            "ctype": "campusonline.person",
            "presentation": "Amtsrat Gerd Kager\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50120,
            "ctype": "campusonline.person",
            "presentation": "Fachoberinspektorin Mag.iur. Karin Orthofer\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50121,
            "ctype": "campusonline.person",
            "presentation": "Oberkontrollerin Waltraud Huber\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50122,
            "ctype": "campusonline.person",
            "presentation": "Oberamtsassistentin Josefa-Maria Seitinger\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50123,
            "ctype": "campusonline.person",
            "presentation": "Amtsrat Martin Hasenhüttl\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50124,
            "ctype": "campusonline.person",
            "presentation": "Fachoberinspektorin Dagmar-Astrid Schloffer\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50125,
            "ctype": "campusonline.person",
            "presentation": "Fachoberinspektorin Anita Ertl\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50126,
            "ctype": "campusonline.person",
            "presentation": "Amtsdirektor Ing. Kurt Feichtinger\n",
            "level_id": null,
            "room_id": null
        },
        {
            "id": 50127,
            "ctype": "campusonline.person",
            "presentation": "Oberamtswartin Monika Eder\n",
            "level_id": null,
            "room_id": null
        }
    ]
}