Feedback Paesi Bassi

Beta

Manage addresses missing in the Netherlands.

GEThttps://api.pro6pp.nl/v2/feedback/nl

Panoramica

Lists the addresses added by the authenticated subscription.

ParametriQuery string

authKeystringObbligatorio

Every request needs an API key, which you can get in the portal.

When you call the API from a browser, visitors can see your API key. Limit it to your own domains in the portal, or send the requests through your own server so the key stays hidden.

Risposte

200Addresses added by your subscription, or an empty array when there are noneElenco di risultati
CampoTipoValore di esempioDescrizione
countryCodestring"NL"

The ISO 3166-1 alpha-2 country code of the address ("NL").

postalCodestring"1012BZ"

The six-position postal code in uppercase without a space, such as "1012BZ".

settlementstring"Amsterdam"

The settlement of the postal code, or an empty string for a PO box.

streetstring"Bethaniënstraat"

The street of the postal code, the submitted street when the postal code itself was added as feedback, or "Postbus" for a PO box.

streetNumbernumber1000

The house number.

latnumbernon presente nell'esempio

The submitted latitude, rounded to 5 decimals; left out when none was given.

lngnumbernon presente nell'esempio

The submitted longitude, rounded to 5 decimals; left out when none was given.

premisestringnon presente nell'esempio

The house number addition as submitted; left out when there is none.

claimstringnon presente nell'esempio

The reason the subscriber gave for adding the address; left out when none was given.

Risposta di esempio
[
  {
    "countryCode": "NL",
    "postalCode": "1012BZ",
    "settlement": "Amsterdam",
    "street": "Bethaniënstraat",
    "streetNumber": 1000
  }
]

Errori

Campi di una risposta di errore
CampoTipoDescrizione
error_idstring

The reason the request failed, such as INVALID_VALUE. The response lists the reasons this operation returns.

errorsarray of object

One entry per problem found in the request.

errors[].messagestring

A readable explanation of the problem, in English.

errors[].helpstring

A link to the documentation section that covers the problem.

errors[].parameterany

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[].valueany

The value the request sent for parameter, when it has one.

401Non autorizzato
UNAUTHORIZED

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.

UNAUTHORIZED
{
  "error_id": "UNAUTHORIZED",
  "errors": [
    {
      "message": "No authorization token provided",
      "help": "https://pro6pp.nl/docs/v2/redoc#section/Authentication"
    }
  ]
}

Esempi di codice

curl "https://api.pro6pp.nl/v2/feedback/nl?authKey=YOUR_API_KEY"

La invitiamo a richiedere codice di esempio nel linguaggio di programmazione che preferisce.