Vorschlagen Belgien Postleitzahl Antworten
Suggest a Belgium address field.
Hinweis: Dies ist die Dokumentation für die v2-API, die sich noch im Beta-Stadium befindet.
GET Beispielanfrage:
https://api.pro6pp.nl/v2/suggest/be/postalCode?postalCode=1&authKey=YOUR_AUTH_KEY
Diese Anwendung führt zu folgendem Ergebnis:
200: Postal code suggestion(s) available
[
{
"country": "Belgium",
"countryCode": "BE",
"lat": 50.84562,
"lng": 4.35884,
"municipality": "Brussel",
"municipalityTranslations": [
{
"lang": "nl",
"name": "Brussel"
},
{
"lang": "fr",
"name": "Bruxelles"
},
{
"lang": "de",
"name": "Brüssel"
}
],
"postalCode": "1000",
"province": "Brussel",
"provinceTranslations": [
{
"lang": "nl",
"name": "Brussel"
},
{
"lang": "fr",
"name": "Bruxelles"
},
{
"lang": "de",
"name": "Brüssel"
}
],
"region": "Brussel",
"regionTranslations": [
{
"lang": "nl",
"name": "Brussel"
},
{
"lang": "fr",
"name": "Bruxelles"
},
{
"lang": "de",
"name": "Brüssel"
}
],
"settlements": [
"Brussel"
],
"settlementsTranslations": [
[
{
"lang": "nl",
"name": "Brussel"
},
{
"lang": "fr",
"name": "Bruxelles"
},
{
"lang": "de",
"name": "Brüssel"
}
]
]
}
]
Fehlerreaktionen
401: Not authenticated
404: No results found