GET api/Alexa/GetBestAddress/{FirstLine}/{Postcode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
FirstLine

string

Required

Postcode

string

Required

Body Parameters

None.

Response Information

Resource Description

AddressResults
NameDescriptionTypeAdditional information
Count

integer

None.

Addresses

Collection of Address

None.

Copyright

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Count": 2,
  "Copyright": "© Local Government Information House Limited copyright and database rights 2024 10018351",
  "Addresses": [
    {
      "UPRN": "sample string 1",
      "USRN": "sample string 2",
      "PAON": "sample string 3",
      "PAON_Start_Number": "sample string 4",
      "PAON_Start_Number_Suffix": "sample string 5",
      "PAON_End_Number": "sample string 6",
      "PAON_End_Number_Suffix": "sample string 7",
      "PAON_Text": "sample string 8",
      "SAON": "sample string 9",
      "SAON_Start_Number": "sample string 10",
      "SAON_Start_Number_Suffix": "sample string 11",
      "SAON_End_Number": "sample string 12",
      "SAON_End_Number_Suffix": "sample string 13",
      "SAON_Text": "sample string 14",
      "Street": "sample string 15",
      "Locality": "sample string 16",
      "Town": "sample string 17",
      "County": "sample string 18",
      "Postcode": "sample string 19",
      "x_coord": "sample string 20",
      "y_coord": "sample string 21",
      "wsg84_Latitude": "sample string 22",
      "wsg84_Longitude": "sample string 23",
      "FullAddress": "Sample String 10Sample String 11-Sample String 12Sample String 13 Sample String 14, Sample String 4Sample String 5-Sample String 6Sample String 7 Sample String 8, Sample String 15, Sample String 16, Sample String 17, Sample String 17, sample string 19"
    },
    {
      "UPRN": "sample string 1",
      "USRN": "sample string 2",
      "PAON": "sample string 3",
      "PAON_Start_Number": "sample string 4",
      "PAON_Start_Number_Suffix": "sample string 5",
      "PAON_End_Number": "sample string 6",
      "PAON_End_Number_Suffix": "sample string 7",
      "PAON_Text": "sample string 8",
      "SAON": "sample string 9",
      "SAON_Start_Number": "sample string 10",
      "SAON_Start_Number_Suffix": "sample string 11",
      "SAON_End_Number": "sample string 12",
      "SAON_End_Number_Suffix": "sample string 13",
      "SAON_Text": "sample string 14",
      "Street": "sample string 15",
      "Locality": "sample string 16",
      "Town": "sample string 17",
      "County": "sample string 18",
      "Postcode": "sample string 19",
      "x_coord": "sample string 20",
      "y_coord": "sample string 21",
      "wsg84_Latitude": "sample string 22",
      "wsg84_Longitude": "sample string 23",
      "FullAddress": "Sample String 10Sample String 11-Sample String 12Sample String 13 Sample String 14, Sample String 4Sample String 5-Sample String 6Sample String 7 Sample String 8, Sample String 15, Sample String 16, Sample String 17, Sample String 17, sample string 19"
    }
  ]
}

text/html

Sample:
{"Count":2,"Copyright":"© Local Government Information House Limited copyright and database rights 2024 10018351","Addresses":[{"UPRN":"sample string 1","USRN":"sample string 2","PAON":"sample string 3","PAON_Start_Number":"sample string 4","PAON_Start_Number_Suffix":"sample string 5","PAON_End_Number":"sample string 6","PAON_End_Number_Suffix":"sample string 7","PAON_Text":"sample string 8","SAON":"sample string 9","SAON_Start_Number":"sample string 10","SAON_Start_Number_Suffix":"sample string 11","SAON_End_Number":"sample string 12","SAON_End_Number_Suffix":"sample string 13","SAON_Text":"sample string 14","Street":"sample string 15","Locality":"sample string 16","Town":"sample string 17","County":"sample string 18","Postcode":"sample string 19","x_coord":"sample string 20","y_coord":"sample string 21","wsg84_Latitude":"sample string 22","wsg84_Longitude":"sample string 23","FullAddress":"Sample String 10Sample String 11-Sample String 12Sample String 13 Sample String 14, Sample String 4Sample String 5-Sample String 6Sample String 7 Sample String 8, Sample String 15, Sample String 16, Sample String 17, Sample String 17, sample string 19"},{"UPRN":"sample string 1","USRN":"sample string 2","PAON":"sample string 3","PAON_Start_Number":"sample string 4","PAON_Start_Number_Suffix":"sample string 5","PAON_End_Number":"sample string 6","PAON_End_Number_Suffix":"sample string 7","PAON_Text":"sample string 8","SAON":"sample string 9","SAON_Start_Number":"sample string 10","SAON_Start_Number_Suffix":"sample string 11","SAON_End_Number":"sample string 12","SAON_End_Number_Suffix":"sample string 13","SAON_Text":"sample string 14","Street":"sample string 15","Locality":"sample string 16","Town":"sample string 17","County":"sample string 18","Postcode":"sample string 19","x_coord":"sample string 20","y_coord":"sample string 21","wsg84_Latitude":"sample string 22","wsg84_Longitude":"sample string 23","FullAddress":"Sample String 10Sample String 11-Sample String 12Sample String 13 Sample String 14, Sample String 4Sample String 5-Sample String 6Sample String 7 Sample String 8, Sample String 15, Sample String 16, Sample String 17, Sample String 17, sample string 19"}]}

application/xml, text/xml

Sample:
<AddressResults xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ldl.MessageBroker.Service.GeoStore.Models">
  <Count>2</Count>
  <Copyright>© Local Government Information House Limited copyright and database rights 2024 10018351</Copyright>
  <Addresses>
    <Address>
      <UPRN>sample string 1</UPRN>
      <USRN>sample string 2</USRN>
      <PAON>sample string 3</PAON>
      <PAON_Start_Number>sample string 4</PAON_Start_Number>
      <PAON_Start_Number_Suffix>sample string 5</PAON_Start_Number_Suffix>
      <PAON_End_Number>sample string 6</PAON_End_Number>
      <PAON_End_Number_Suffix>sample string 7</PAON_End_Number_Suffix>
      <PAON_Text>sample string 8</PAON_Text>
      <SAON>sample string 9</SAON>
      <SAON_Start_Number>sample string 10</SAON_Start_Number>
      <SAON_Start_Number_Suffix>sample string 11</SAON_Start_Number_Suffix>
      <SAON_End_Number>sample string 12</SAON_End_Number>
      <SAON_End_Number_Suffix>sample string 13</SAON_End_Number_Suffix>
      <SAON_Text>sample string 14</SAON_Text>
      <Street>sample string 15</Street>
      <Locality>sample string 16</Locality>
      <Town>sample string 17</Town>
      <County>sample string 18</County>
      <Postcode>sample string 19</Postcode>
      <x_coord>sample string 20</x_coord>
      <y_coord>sample string 21</y_coord>
      <wsg84_Latitude>sample string 22</wsg84_Latitude>
      <wsg84_Longitude>sample string 23</wsg84_Longitude>
      <FullAddress>Sample String 10Sample String 11-Sample String 12Sample String 13 Sample String 14, Sample String 4Sample String 5-Sample String 6Sample String 7 Sample String 8, Sample String 15, Sample String 16, Sample String 17, Sample String 17, sample string 19</FullAddress>
    </Address>
    <Address>
      <UPRN>sample string 1</UPRN>
      <USRN>sample string 2</USRN>
      <PAON>sample string 3</PAON>
      <PAON_Start_Number>sample string 4</PAON_Start_Number>
      <PAON_Start_Number_Suffix>sample string 5</PAON_Start_Number_Suffix>
      <PAON_End_Number>sample string 6</PAON_End_Number>
      <PAON_End_Number_Suffix>sample string 7</PAON_End_Number_Suffix>
      <PAON_Text>sample string 8</PAON_Text>
      <SAON>sample string 9</SAON>
      <SAON_Start_Number>sample string 10</SAON_Start_Number>
      <SAON_Start_Number_Suffix>sample string 11</SAON_Start_Number_Suffix>
      <SAON_End_Number>sample string 12</SAON_End_Number>
      <SAON_End_Number_Suffix>sample string 13</SAON_End_Number_Suffix>
      <SAON_Text>sample string 14</SAON_Text>
      <Street>sample string 15</Street>
      <Locality>sample string 16</Locality>
      <Town>sample string 17</Town>
      <County>sample string 18</County>
      <Postcode>sample string 19</Postcode>
      <x_coord>sample string 20</x_coord>
      <y_coord>sample string 21</y_coord>
      <wsg84_Latitude>sample string 22</wsg84_Latitude>
      <wsg84_Longitude>sample string 23</wsg84_Longitude>
      <FullAddress>Sample String 10Sample String 11-Sample String 12Sample String 13 Sample String 14, Sample String 4Sample String 5-Sample String 6Sample String 7 Sample String 8, Sample String 15, Sample String 16, Sample String 17, Sample String 17, sample string 19</FullAddress>
    </Address>
  </Addresses>
</AddressResults>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.