ValidatePostcode
Parameters:
String username
String password
AddressCaptureLicence licence
String postcode
Returns:
Boolean IsValid
String Formatted
Description:
Checks if a postcode is syntactically valid, and returns the same postcode in a standard format suitable for printing as part of an address.
This method does not check whether an address actually exists at the postcode, only that the postcode is of the correct format.
If the postcode has a correct format, the IsValid part of the result is set to true and the Formatted part of the result is set to the same postcode in a standard format, e.g. "ch652hq" is converted to "CH65 2HQ".
If the postcode does not have a correct format, the IsValid part of the result is set to false and the Formatted part of the result will not be specified.
View all Address Capture Methods