Toggle menu

Address Searches

Most calls to the framework start with an address search by postcode. This returns the property UPRN, which is used in subsequent calls to look up collection days, report missed collections, request new bins, and subscribe to additional services.

Search by Postcode

Staff and public users both use a similar interface for looking up addresses. The postcode is passed to the provider's API and matching addresses are displayed in a list.

Address Lookup
 

Form validation ensures the postcode is entered in a format the API understands, and friendly error messages displayed if the postcode is invalid, or no matching address could be found.

Address Search Schema

Full technical information about the End Points and schema used for address searches can be found in the Waste Services Specification document.

Request

Parameter NameDescriptionRequiredType
PostcodeThe postcode to search for. This is optional to suppress errors when first accessing (and therefore calling) the postcode search function when the postcode field is empty.NoString

Return

Parameter NameProperty NameDescriptionRequiredType
Success Whether the operation was successfulYesBoolean
Statistics A descriptive message indicating how many addresses were found under the given postcodeYesString
Addresses An array of an array of the following fields, formatted for an iCM drop-down listYesArray
UPRNThe UPRN of the property String
Address Line 1First line of the address String
CityThe address city String
showResults Whether one or more results were foundYesBoolean
Last modified on July 30, 2018

Share this page

Facebook icon Twitter icon email icon

Print

print icon