GET api/Address/GetByCounty?County={County}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
County

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Address
NameDescriptionTypeAdditional information
AddressLine1

string

None.

AddressLine2

string

None.

AddressLine3

string

None.

AddressLine4

string

None.

AddressLine5

string

None.

Eircode

string

None.

County

string

None.

NumBedrooms

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AddressLine1": "sample string 1",
    "AddressLine2": "sample string 2",
    "AddressLine3": "sample string 3",
    "AddressLine4": "sample string 4",
    "AddressLine5": "sample string 5",
    "Eircode": "sample string 6",
    "County": "sample string 7",
    "NumBedrooms": "sample string 8"
  },
  {
    "AddressLine1": "sample string 1",
    "AddressLine2": "sample string 2",
    "AddressLine3": "sample string 3",
    "AddressLine4": "sample string 4",
    "AddressLine5": "sample string 5",
    "Eircode": "sample string 6",
    "County": "sample string 7",
    "NumBedrooms": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AddressWebAPI.Models">
  <Address>
    <AddressLine1>sample string 1</AddressLine1>
    <AddressLine2>sample string 2</AddressLine2>
    <AddressLine3>sample string 3</AddressLine3>
    <AddressLine4>sample string 4</AddressLine4>
    <AddressLine5>sample string 5</AddressLine5>
    <County>sample string 7</County>
    <Eircode>sample string 6</Eircode>
    <NumBedrooms>sample string 8</NumBedrooms>
  </Address>
  <Address>
    <AddressLine1>sample string 1</AddressLine1>
    <AddressLine2>sample string 2</AddressLine2>
    <AddressLine3>sample string 3</AddressLine3>
    <AddressLine4>sample string 4</AddressLine4>
    <AddressLine5>sample string 5</AddressLine5>
    <County>sample string 7</County>
    <Eircode>sample string 6</Eircode>
    <NumBedrooms>sample string 8</NumBedrooms>
  </Address>
</ArrayOfAddress>