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
PropertyAddressAutoSearchName | Description | Type | Additional information |
---|---|---|---|
PropertyAddressId | integer |
None. |
|
FormattedPin | string |
None. |
|
Pin | string |
None. |
|
FullAddress | string |
None. |
|
TownshipId | integer |
None. |
|
SearchAddress | string |
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. |
|
BuildingArea | decimal number |
None. |
|
PurchaseDate | string |
None. |
|
PurchasePrice | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{ "propertyAddressId": 1, "formattedPin": "sample string 2", "pin": "sample string 3", "fullAddress": "sample string 4", "townshipId": 5, "searchAddress": "sample string 6", "isResolved": true, "keywords": "sample string 8", "addressLine1": "sample string 9", "city": "sample string 10", "state": "sample string 11", "zipCode": "sample string 12", "countyId": 13, "countyName": "sample string 14", "townshipName": "sample string 15", "buildingArea": 1.1, "purchaseDate": "sample string 16", "purchasePrice": 1.1 }
text/html
Sample:
{"propertyAddressId":1,"formattedPin":"sample string 2","pin":"sample string 3","fullAddress":"sample string 4","townshipId":5,"searchAddress":"sample string 6","isResolved":true,"keywords":"sample string 8","addressLine1":"sample string 9","city":"sample string 10","state":"sample string 11","zipCode":"sample string 12","countyId":13,"countyName":"sample string 14","townshipName":"sample string 15","buildingArea":1.1,"purchaseDate":"sample string 16","purchasePrice":1.1}
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 9</AddressLine1> <BuildingArea>1.1</BuildingArea> <City>sample string 10</City> <CountyId>13</CountyId> <CountyName>sample string 14</CountyName> <FormattedPin>sample string 2</FormattedPin> <FullAddress>sample string 4</FullAddress> <IsResolved>true</IsResolved> <Keywords>sample string 8</Keywords> <Pin>sample string 3</Pin> <PropertyAddressId>1</PropertyAddressId> <PurchaseDate>sample string 16</PurchaseDate> <PurchasePrice>1.1</PurchasePrice> <SearchAddress>sample string 6</SearchAddress> <State>sample string 11</State> <TownshipId>5</TownshipId> <TownshipName>sample string 15</TownshipName> <ZipCode>sample string 12</ZipCode> </PropertyAddressAutoSearch>