GET api/ui/addresslookup/{postcode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
postcode

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of AddressResult
NameDescriptionTypeAdditional information
AddressId

string

None.

StreetAddress

string

None.

Address1

string

None.

Address2

string

None.

Address3

string

None.

County

string

None.

Postcode

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AddressId": "sample string 1",
    "StreetAddress": "sample string 2",
    "Address1": "sample string 3",
    "Address2": "sample string 4",
    "Address3": "sample string 5",
    "County": "sample string 6",
    "Postcode": "sample string 7"
  },
  {
    "AddressId": "sample string 1",
    "StreetAddress": "sample string 2",
    "Address1": "sample string 3",
    "Address2": "sample string 4",
    "Address3": "sample string 5",
    "County": "sample string 6",
    "Postcode": "sample string 7"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAddressResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaxRebate.TaxRefunds">
  <AddressResult>
    <Address1>sample string 3</Address1>
    <Address2>sample string 4</Address2>
    <Address3>sample string 5</Address3>
    <AddressId>sample string 1</AddressId>
    <County>sample string 6</County>
    <Postcode>sample string 7</Postcode>
    <StreetAddress>sample string 2</StreetAddress>
  </AddressResult>
  <AddressResult>
    <Address1>sample string 3</Address1>
    <Address2>sample string 4</Address2>
    <Address3>sample string 5</Address3>
    <AddressId>sample string 1</AddressId>
    <County>sample string 6</County>
    <Postcode>sample string 7</Postcode>
    <StreetAddress>sample string 2</StreetAddress>
  </AddressResult>
</ArrayOfAddressResult>