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.

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