POST api/properties/resolve

This method will resolve multiple address search requests

Request Information

URI Parameters

None.

Body Parameters

MultiPropertySearchBindingModel
NameDescriptionTypeAdditional information
Addresses

Collection of string

None.

Request Formats

application/json, text/json

Sample:
{
  "addresses": [
    "sample string 1",
    "sample string 2"
  ]
}

text/html

Sample:
{"addresses":["sample string 1","sample string 2"]}

application/xml, text/xml

Sample:
<MultiPropertySearchBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.WebModels.PropertyBinding">
  <Addresses xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Addresses>
</MultiPropertySearchBindingModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MultiPropertySearchBindingModel'.

Response Information

Resource Description

Collection of PropertyAddressAutoSearch
NameDescriptionTypeAdditional 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
  },
  {
    "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},{"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:
<ArrayOfPropertyAddressAutoSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model">
  <PropertyAddressAutoSearch>
    <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>
  <PropertyAddressAutoSearch>
    <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>
</ArrayOfPropertyAddressAutoSearch>