Header :
https://{SERVER_ADDRESS}/CP/?CodePostal={CITY_NAME}&Alpha=True&Instance={VALUE}&Pays={COUNTRY_CODE}&Licence={LICENCE_CODE}&NbMax={Integer}
Simply replace the items in braces with your information:
Parameter | Expected value type | Value description | Mandatory/Optional |
Server address | {SERVER_ADDRESS} | Address of the DQE server that will process the data | Mandatory |
Licence | {LICENCE_CODE} | Number assigned to you as your license code | Mandatory |
CodePostal | {CITY_NAME} | Name of the city | Mandatory |
Pays | {COUNTRY_CODE} | ISO country code (3 letters) | Mandatory |
Alpha | True | Always send « True » value | Mandatory |
Instance | {VALUE} | Allows you to pass a value during the call | Optional |
NbMax | Integer | Maximum value of suggestion in the CP call | Optional |
Filter | Integer |
1 = Postal code & Cedex 2 = Postal code & Street 3 = Postal code |
Optional |
NB: 'NbMax' parameter will need to be set alongside the 'Filter' parameter in order to return a valid response, whilst 'Filter' parameter can be employed without the 'NbMax' parameter being set.