Postcode Software Postcode Software
 
 
Home Product Try Buy Prices Developer (SDK) Contact Clients Resell PostcodeSoftware
 
 
SDK Postcode Software Postcode Software
 
 
 

Web - Software Development Kit (SDK)

The web service description can be found at the following location. http://ws1.postcodesoftware.co.uk/lookup.asmx

When creating the URL to connect to the web service there are three variables that need to be added to it. Examples of the URL are shown below with the parameters and explanations.  You can use the Account 'test' with password 'test 'to access the demonstration data including premise data and the Account 'test1' with password 'test1' to access the data to street level.  The demonstration data consists of postcodes in the LS18 region.  Examples can be found here.

Premise Level

http://ws1.postcodesoftware.co.uk/lookup.asmx/getAddress?account=test&password=test&postcode=LS185NJ

Street Level

http://ws1.postcodesoftware.co.uk/lookup.asmx/getAddress?account=test1&password=test1&postcode=LS185NJ

Parameter
Explanation
Account
Account is where you will input your account name which is supplied to you when you first sign up.
Password
Password is where you will input your password for the account which is supplied to you when you first sign up.
Postcode
Postcode is the postcode that has been entered buy the user

When the webservice has been called it will send back all the information in XML. The information is shown below.  Please note the amount of address lines is variable.

Attributes
Explanation
Address1
Street name of the postcode
Address2
Locality of the postcode or dependent street name if exists
Address3
Dependent Locality of the postcode
Address4
Double Dependent Locality of the postcode
Town
Town of the postcode
County
County of the postcode
Postcode
Postcode that has been searched
PremiseData
All Premises under that postcode are returned in one string divided buy semicolons (;).Each premise is split up into Company Name, Building Details and Number. These are separated with vertical bars(|).

Examples

Click on the following links below to download examples in different programming languages.

ASP Example
AJAX ASP Example
PHP 4 Example
AJAX PHP example
PHP 5 Example
AJAX PHP 5 example
 
  Postcode Software  
     PostcodeSoftware, Ashbourne House, 2 South Park Road, Harrogate, HG1 5QU | Email: info@postcodesoftware.co.uk | Legal | Sitemap