GET api/property/FindProperty?SearchString={SearchString}&TownshipId={TownshipId}
This method will find the first 10 properties that match search string entered by users
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SearchString | string |
None. |
|
| TownshipId | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of
PropertyAddressAutoSearch| Name | Description | Type | Additional information |
|---|---|---|---|
| PropertyAddressId | integer |
None. |
|
| FormattedPin | string |
None. |
|
| Pin | string |
None. |
|
| FullAddress | string |
None. |
|
| TownshipId | integer |
None. |
|
| IsResolved | boolean |
None. |
|
| Keywords | string |
None. |
|
| AddressLine1 | string |
None. |
|
| City | string |
None. |
|
| State | string |
None. |
|
| ZipCode | string |
None. |
|
| CountyId | integer |
None. |
|
| CountyName | string |
None. |
|
| TownshipName | string |
None. |
|
| BuildingAreaSqFt | decimal number |
None. |
|
| PropertyClass | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"propertyAddressId": 1,
"formattedPin": "sample string 2",
"pin": "sample string 3",
"fullAddress": "sample string 4",
"townshipId": 5,
"isResolved": true,
"keywords": "sample string 7",
"addressLine1": "sample string 8",
"city": "sample string 9",
"state": "sample string 10",
"zipCode": "sample string 11",
"countyId": 12,
"countyName": "sample string 13",
"townshipName": "sample string 14",
"buildingAreaSqFt": 1.1,
"propertyClass": "sample string 15"
}
text/html
Sample:
{"propertyAddressId":1,"formattedPin":"sample string 2","pin":"sample string 3","fullAddress":"sample string 4","townshipId":5,"isResolved":true,"keywords":"sample string 7","addressLine1":"sample string 8","city":"sample string 9","state":"sample string 10","zipCode":"sample string 11","countyId":12,"countyName":"sample string 13","townshipName":"sample string 14","buildingAreaSqFt":1.1,"propertyClass":"sample string 15"}
application/xml, text/xml
Sample:
<PropertyAddressAutoSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model"> <AddressLine1>sample string 8</AddressLine1> <BuildingAreaSqFt>1.1</BuildingAreaSqFt> <City>sample string 9</City> <CountyId>12</CountyId> <CountyName>sample string 13</CountyName> <FormattedPin>sample string 2</FormattedPin> <FullAddress>sample string 4</FullAddress> <IsResolved>true</IsResolved> <Keywords>sample string 7</Keywords> <Pin>sample string 3</Pin> <PropertyAddressId>1</PropertyAddressId> <PropertyClass>sample string 15</PropertyClass> <State>sample string 10</State> <TownshipId>5</TownshipId> <TownshipName>sample string 14</TownshipName> <ZipCode>sample string 11</ZipCode> </PropertyAddressAutoSearch>