RESTful Postcode Lookup API
 
 

RESTful Postcode Lookup API

by MarkC 16. March 2010 16:05

All our data capture and validation web services are available via SOAP, REST (simple XML), Ajax and ADO Recordset interfaces. Here I'll take a quick look at the REST interface to our postcode lookup service.

The main URL for the postcode lookup service is http://webservices.data-8.co.uk/addresscapture.asmx, and the main operation within the service to retrieve a list of addresses within a postcode is called GetFullAddressSimple. This method takes 5 parameters:

 

  1. username - your Data8 username
  2. password - your Data8 password
  3. licence - the type of license you have for the service, e.g. WebClickFull for website integration or InternalUserFull for internal line-of-business software integration
  4. postcode - the postcode to get the addresses from
  5. building - an optional building name or number to search for within the postcode

 

Combining these bits of information gives us the final URL to get address details:

http://webservices.data-8.co.uk/addresscapture.asmx/GetFullAddressSimple?username=your-username&password=your-password&licence=InternalUserFull&postcode=CH65+2HQ&building=

This URL returns an XML document containing all the details of the matching addresses ready for you to display to the user of your application or website.

If you have any questions about this or any of the other interfaces to our web services, please don't hesitate to get in touch on 0151 355 4555 or email info@data-8.co.uk for assistance.

Tags: , , , ,

Technical

Comments are closed

RecentPosts

RecentComments

Comment RSS
Skip Navigation Links
Request handled by server S2 for client 38.107.179.218 at 2/8/2012 2:37:47 AM