Feedback Danemark

Bêta

Manage missing addresses in Denmark.

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

Vue d'ensemble

Lists the addresses added by the authenticated subscription.

ParamètresChaîne de requête

authKeystringObligatoire

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.

Réponses

200Addresses added by your subscription, or an empty array when there are noneListe de résultats
ChampTypeValeur d'exempleDescription
countryCodestring"DK"

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

postalCodestring"2000"

The 4-digit postal code.

streetNumbernumber997

The house number.

streetstring"Bag Søndermarken"

The street name as submitted.

settlementstringPeut être null"Frederiksberg"

The settlement name as submitted, or an empty string when none was given.

latnumberabsent de l'exemple

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

lngnumberabsent de l'exemple

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

premisestringabsent de l'exemple

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

claimstringabsent de l'exemple

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

Exemple de réponse
[
  {
    "countryCode": "DK",
    "postalCode": "2000",
    "settlement": "Frederiksberg",
    "street": "Bag Søndermarken",
    "streetNumber": 997
  }
]

Erreurs

Champs d'une réponse d'erreur
ChampTypeDescription
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 autorisé
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"
    }
  ]
}

Exemples de code

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

Nous vous encourageons à demander un exemple de code dans votre langue préférée.