Feedback Spanien
BetaManage missing addresses in Spain.
https://api.pro6pp.nl/v2/feedback/esOversigt
Lists the addresses added by the authenticated subscription.
ParametreQuerystreng
Svar
| Felt | Type | Eksempelværdi | Beskrivelse |
|---|---|---|---|
| countryCode | string | "ES" | The ISO 3166-1 alpha-2 country code of the address ("ES"). |
| postalCode | string | "28001" | The 5-digit postal code. |
| streetNumber | string | "997/2" | The house number, as text. |
| street | string | "Calle goya" | The street name as submitted. |
| settlement | string | "Madrid" | The settlement name as submitted, or an empty string when none was given. |
| lat | number | ikke i eksemplet | The submitted latitude, rounded to 5 decimals; left out when none was given. |
| lng | number | ikke i eksemplet | The submitted longitude, rounded to 5 decimals; left out when none was given. |
| premise | string | ikke i eksemplet | The house number addition as submitted, in lowercase; left out when there is none. |
| claim | string | ikke i eksemplet | The reason the subscriber gave for adding the address; left out when none was given. |
[
{
"countryCode": "ES",
"postalCode": "28001",
"settlement": "Madrid",
"street": "Calle goya",
"streetNumber": "997/2"
}
]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/es?authKey=YOUR_API_KEY"Vi opfordrer dig til at anmode om eksempelkode på det sprog, du foretrækker.