GET api/search/{address}

Gets a list of matching addresses

Request Information

URI Parameters

NameDescriptionTypeAdditional information
address

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SearchModel
NameDescriptionTypeAdditional information
id

integer

None.

address

string

None.

label

string

None.

lat

decimal number

None.

lng

decimal number

None.

pid

string

None.

type

string

None.

property_id

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "address": "sample string 2",
    "label": "sample string 3",
    "lat": 4.1,
    "lng": 5.1,
    "pid": "sample string 6",
    "type": "sample string 7",
    "property_id": "sample string 8"
  },
  {
    "id": 1,
    "address": "sample string 2",
    "label": "sample string 3",
    "lat": 4.1,
    "lng": 5.1,
    "pid": "sample string 6",
    "type": "sample string 7",
    "property_id": "sample string 8"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/api.Models">
  <SearchModel>
    <address>sample string 2</address>
    <id>1</id>
    <label>sample string 3</label>
    <lat>4.1</lat>
    <lng>5.1</lng>
    <pid>sample string 6</pid>
    <property_id>sample string 8</property_id>
    <type>sample string 7</type>
  </SearchModel>
  <SearchModel>
    <address>sample string 2</address>
    <id>1</id>
    <label>sample string 3</label>
    <lat>4.1</lat>
    <lng>5.1</lng>
    <pid>sample string 6</pid>
    <property_id>sample string 8</property_id>
    <type>sample string 7</type>
  </SearchModel>
</ArrayOfSearchModel>