GET geolocation/Suggestion?q={q}&c={c}
Provides auto-completion functionality for a free form single search line.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
q | A free form search string. May contain community names, sub-community area names, zip codes, street names, house numbers or parts thereof. A minimum of two characters is required. |
Define this parameter in the request URI. |
c | [Optional] The maximum number of items you want to retrieve in the result. You may not ask more than 25 items. If omitted defaults to 5. |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "SuggestionResult": [ "Trambergstraat 1, 3520 Zonhoven", "Trambergstraat 10, 3520 Zonhoven", "Trambergstraat 12, 3520 Zonhoven", "Trambergstraat 14, 3520 Zonhoven", "Trambergstraat 15, 3520 Zonhoven" ] }
text/javascript, application/javascript, application/json-p
Sample:
({"SuggestionResult":["Trambergstraat 1, 3520 Zonhoven","Trambergstraat 10, 3520 Zonhoven","Trambergstraat 12, 3520 Zonhoven","Trambergstraat 14, 3520 Zonhoven","Trambergstraat 15, 3520 Zonhoven"]});