Feedback Nederland
BètaBeheer ontbrekende postcodes in Nederland.
https://api.pro6pp.nl/v2/feedback/nl/postcodeOverzicht
Lists the postal codes added by the authenticated subscription.
ParametersQuerystring
Antwoorden
| Veld | Type | Voorbeeldwaarde | Beschrijving |
|---|---|---|---|
| municipality | string | "Amsterdam" | The municipality as submitted with the postal code. |
| postalCode | string | "1012BZ" | The six-position postal code in uppercase without a space, such as "1012BZ". |
| province | string | "Noord-Holland" | The province as submitted with the postal code. |
| settlement | string | "Amsterdam" | The settlement as submitted with the postal code. |
| lat | numberKan null zijn | null | The submitted latitude, rounded to 5 decimals, or null when none was given. |
| lng | numberKan null zijn | null | The submitted longitude, rounded to 5 decimals, or null when none was given. |
[
{
"municipality": "Amsterdam",
"postalCode": "1012BZ",
"province": "Noord-Holland",
"settlement": "Amsterdam",
"lat": null,
"lng": null
}
]Fouten
Velden van een foutantwoord
| Veld | Type | Beschrijving |
|---|---|---|
| error_id | string | The reason the request failed, such as |
| errors | array of object | One entry per problem found in the request. |
| errors[].message | string | A readable explanation of the problem, in English. |
| errors[].help | string | A link to the documentation section that covers the problem. |
| errors[].parameter | any | The parameter the problem is about. Usually its name; a list when several parameters are involved, or a name with the values to choose from when the request must select one. |
| errors[].value | any | The value the request sent for |
UNAUTHORIZEDThe API key is missing, unknown, revoked or expired, its subscription is not active, the request does not match the key's allowlist, or the subscription does not include this call.
The API key is missing, unknown, revoked or expired, its subscription is not active, the request does not match the key's allowlist, or the subscription does not include this call.
{
"error_id": "UNAUTHORIZED",
"errors": [
{
"message": "No authorization token provided",
"help": "https://pro6pp.nl/docs/v2/redoc#section/Authentication"
}
]
}Codevoorbeelden
curl "https://api.pro6pp.nl/v2/feedback/nl/postcode?authKey=YOUR_API_KEY"Wij moedigen u aan om voorbeeldcode aan te vragen in de taal van uw voorkeur.