poisAutocomplete

fun poisAutocomplete(venueId: String, q: String, fromLocation: String? = null, extended: Extended? = null, level: Int? = null, building: String? = null, category: String? = null, ref: String? = null, language: String? = null, advancedFilter: String? = null): List<VenuePoisAutocompletePrediction>

Autocomplete text search of the features of a venue having a name or description

Return

VenueFeatureResponse

Parameters

venueId

ID of the venue

q

Optional search string. If not passed then all features will be listed alphabetically

fromLocation
extended

Option to search even not searchable pois

level

Optional filter by level

building

Optional filter by building (use 'undefined' to find POIs without building defined)

category

Optional filter by category

ref

Optional filter by POI list of ref

language

the language code (en, fr...)

advancedFilter

Optional filter by complex queries on properties (ex: indoor:="room" OR door:="yes")

Throws

If the request is not correctly configured

Rethrows the OkHttp execute method exception

If the API returns an informational or redirection response

ClientException

If the API returns a client error response

ServerException

If the API returns a server error response