An address lookup is initiated by supplying a URL of the form.
https://cloud.hopewiser.com/atlaslive/output/maf?parameters
where:
- output indicates the required output format – either json or xml
- maf is the identity of the Master Address File to which the lookup is applied
- parameters is a set of request parameters
Only a single request parameter is required – the query string. All other parameters are optional and should only be supplied when a non-default setting is required. As is standard with URLs, each parameter must be separated by an ampersand (&) character.
The query string is denoted by a single ‘q‘ character. This is the address search criteria, which could be a postcode, full or partial address. Splitting address elements (e.g. premise name, street, town, etc.) into a comma separated value generally yields better results. Both single character (?) and multi character (*) wild-cards are supported. Please note that the search criteria must be URL encoded.
Example address lookup request for “Downing Street,London”.
https://cloud.hopewiser.com/atlaslive/json/uk-rm-paf?q=Downing%20Street%2CLondon
This will return a pick-list of possible matches, which the client program would most likely reformat and present to the end user as a list or tree.