COMPL Response Success
The JSON response is a dictionary whose keys are the numbers from 1 to n and where each element is itself a dictionary containing the “Batiment” key whose value is the additional address information.
Key | Value | France | International |
Batiment | Additional address information if applicable | STRING(38) | STRING(150) |
CodePostal | Postal code linked to the additional address information if applicable | STRING(10) | STRING(10) |
Example:
{ "1": { "Batiment": "Town Hall, Tameside Metropolitan Borough Council", "CodePostal": "M34 2AP" }, "2": { "Batiment": "Victoria Park Community Association", "CodePostal": "M34 2AP" } }
COMPL Response Error
Error type | Request | Response type |
Missing “Licence” parameter | https://{SERVER_ADDRESS}/COMPL/?IDVoie=1751437&IDNum=23&Taille=38&Pays=FRA | Empty response |
Empty “Licence” parameter | https://{SERVER_ADDRESS}/COMPL/?IDVoie=1751437&IDNum=23&Taille=38&Pays=FRA&Licence= | Empty response |
Missing “IDVoie” parameter | https://{SERVER_ADDRESS}/COMPL/?IDNum=23&Taille=38&Pays=FRA&Licence={LICENCE_CODE} | 400 Bad Request Error |
Missing “IDNum” parameter | https://{SERVER_ADDRESS}/COMPL/?IDVoie=1751437&Taille=38&Pays=FRA&Licence={LICENCE_CODE} | 400 Bad Request Error |
Missing “Pays” parameter | https://{SERVER_ADDRESS}/COMPL/?IDVoie=1751437& IDNum=23&Taille=38&Licence={LICENCE_CODE} | 400 Bad Request Error |
Error on a parameter | https://{SERVER_ADDRESS}/COMPL/?IVoie=1751437& IDNum=23Pays=FRA&Taille=38&Licence={LICENCE_CODE} | 400 Bad Request Error |
Related to