Success funnelcompl answer
The JSON response is a dictionary (object) containing two main keys:
- "Found": an integer indicating the number of addresses found (e.g., 0 or 1),
- "AdditionalAddress": a list containing one or more address objects.
Each AdditionalAddress is itself a dictionary containing the following keys:
| Field | Meaning | Always in JSON? | Type / Format |
|---|---|---|---|
| AdditionalAddress | Additional address line (e.g. building, tower, block) | Yes | STRING(255) |
| PostalCode | Postal / ZIP code | Yes | STRING(10–20) (can be empty) |
Informations object :
| Field | Meaning | Always in JSON? | Type / Format |
|---|---|---|---|
| Latitude | Latitude | Yes | DECIMAL(18) (empty string possible) |
| Longitude | Longitude | Yes | DECIMAL(18) (empty string possible) |
Example:
{
"Found": 1,
"AdditionalAddresses": [
{
"AdditionalAddress": "TOUR RAVENNE",
"PostalCode": ""
}
],
"Geolocalisation": {
"Latitude": "",
"Longitude": ""
}
}
Error
| Error type | Response type |
| Missing mandatory parameter | { "status": 400, "message": "Missing parameters", "details": "PostalCode", "error": "bad request" } |
| Country value is not ISO3 | {"status": 400, "message": "Country doesn't exist", "details": "JPNde", "error": "bad request"} |
| Wrong license value | {"status": 401, "message": "Your licence is not allowed to cover this functionnality", "details": "WRONG LICENSE", "error": "unauthorized_client"} |
Related to