Feedback Holland
BetaHåndter postnumre, der mangler i Holland.
https://api.pro6pp.nl/v2/feedback/nl/postcodeOversigt
Lists the postal codes added by the authenticated subscription.
ParametreQuerystreng
Svar
| Felt | Type | Eksempelværdi | Beskrivelse |
|---|---|---|---|
| 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 være null | null | The submitted latitude, rounded to 5 decimals, or null when none was given. |
| lng | numberKan være null | 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
}
]Fejl
Felter i et fejlsvar
| Felt | Type | Beskrivelse |
|---|---|---|
| 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"
}
]
}Kodeeksempler
curl "https://api.pro6pp.nl/v2/feedback/nl/postcode?authKey=YOUR_API_KEY"Vi opfordrer dig til at anmode om eksempelkode på det sprog, du foretrækker.