GET api/AuctionPropertySearchMapData

Request Information

URI Parameters

NameDescriptionTypeAdditional information
AuctionId

integer

None.

IncludeCommercialProperties

boolean

None.

BedroomsFrom

integer

None.

BedroomsTo

integer

None.

SearchId

integer

None.

Area

Collection of Coordinates

None.

LocationName

string

None.

DrawnSearchData

globally unique identifier

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Radius

decimal number

None.

PriceFrom

integer

None.

PriceTo

integer

None.

ParkingTypes

Collection of integer

None.

PropertySort

PropertySort

None.

PropertyTypes

Collection of integer

None.

OnlineSearch

boolean

None.

PutOnMarketSince

date

None.

PartnerAgentId

integer

None.

Page

integer

None.

PageSize

integer

None.

Body Parameters

None.

Response Information

Resource Description

MapSearchDataOfAuctionPropertySearchModel
NameDescriptionTypeAdditional information
Results

MapDisplayData

None.

SearchModel

AuctionPropertySearchModel

None.

UpdatedRadius

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Results": {
    "groups": [
      {
        "latitude": 1.0,
        "longitude": 1.0,
        "Ids": [
          1,
          2
        ]
      },
      {
        "latitude": 1.0,
        "longitude": 1.0,
        "Ids": [
          1,
          2
        ]
      }
    ],
    "drawnArea": {
      "name": "sample string 1",
      "id": 1,
      "canDelete": true,
      "points": [
        {
          "latitude": 1.0,
          "longitude": 2.0
        },
        {
          "latitude": 1.0,
          "longitude": 2.0
        }
      ]
    }
  },
  "SearchModel": {
    "AuctionId": 1,
    "IncludeCommercialProperties": true,
    "BedroomsFrom": 1,
    "BedroomsTo": 1,
    "SearchId": 1,
    "Area": [
      {
        "Latitude": 1.0,
        "Longitude": 2.0
      },
      {
        "Latitude": 1.0,
        "Longitude": 2.0
      }
    ],
    "LocationName": "sample string 2",
    "DrawnSearchData": "607852c1-12ec-46ae-ac5d-2605e9f3305a",
    "Latitude": 1.0,
    "Longitude": 1.0,
    "Radius": 1.0,
    "PriceFrom": 1,
    "PriceTo": 1,
    "ParkingTypes": [
      1,
      2
    ],
    "PropertySort": 1,
    "PropertyTypes": [
      1,
      2
    ],
    "OnlineSearch": true,
    "PutOnMarketSince": "2017-07-21T09:32:57.5522449+01:00",
    "PartnerAgentId": 1,
    "Page": 4,
    "PageSize": 5
  },
  "UpdatedRadius": 1
}

application/xml, text/xml

Sample:
<MapSearchDataOfAuctionPropertySearchModelVLatN738 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pattinsons.Domain.Property.Search">
  <SearchModel>
    <Page xmlns="http://schemas.datacontract.org/2004/07/Pattinsons.Domain">4</Page>
    <PageSize xmlns="http://schemas.datacontract.org/2004/07/Pattinsons.Domain">5</PageSize>
    <Area xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pattinsons.Domain">
      <d3p1:Coordinates>
        <d3p1:Latitude>1</d3p1:Latitude>
        <d3p1:Longitude>2</d3p1:Longitude>
      </d3p1:Coordinates>
      <d3p1:Coordinates>
        <d3p1:Latitude>1</d3p1:Latitude>
        <d3p1:Longitude>2</d3p1:Longitude>
      </d3p1:Coordinates>
    </Area>
    <DrawnSearchData>607852c1-12ec-46ae-ac5d-2605e9f3305a</DrawnSearchData>
    <Latitude>1</Latitude>
    <LocationName>sample string 2</LocationName>
    <Longitude>1</Longitude>
    <OnlineSearch>true</OnlineSearch>
    <ParkingTypes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </ParkingTypes>
    <PartnerAgentId>1</PartnerAgentId>
    <PriceFrom>1</PriceFrom>
    <PriceTo>1</PriceTo>
    <PropertySort>PriceDesc</PropertySort>
    <PropertyTypes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </PropertyTypes>
    <PutOnMarketSince>2017-07-21T09:32:57.5522449+01:00</PutOnMarketSince>
    <Radius>1</Radius>
    <SearchId>1</SearchId>
    <BedroomsFrom>1</BedroomsFrom>
    <BedroomsTo>1</BedroomsTo>
    <AuctionId>1</AuctionId>
    <IncludeCommercialProperties>true</IncludeCommercialProperties>
  </SearchModel>
  <UpdatedRadius>1</UpdatedRadius>
  <Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/Pattinsons.Domain.Property.Search.Map">
    <d2p1:drawnArea xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pattinsons.Domain.Property.Search.Drawn">
      <d3p1:canDelete>true</d3p1:canDelete>
      <d3p1:id>1</d3p1:id>
      <d3p1:name>sample string 1</d3p1:name>
      <d3p1:points>
        <d2p1:MapDataPoint>
          <d2p1:latitude>1</d2p1:latitude>
          <d2p1:longitude>2</d2p1:longitude>
        </d2p1:MapDataPoint>
        <d2p1:MapDataPoint>
          <d2p1:latitude>1</d2p1:latitude>
          <d2p1:longitude>2</d2p1:longitude>
        </d2p1:MapDataPoint>
      </d3p1:points>
    </d2p1:drawnArea>
    <d2p1:groups>
      <d2p1:PropertyMapDataGroup>
        <d2p1:Ids xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:int>1</d5p1:int>
          <d5p1:int>2</d5p1:int>
        </d2p1:Ids>
        <d2p1:latitude>1</d2p1:latitude>
        <d2p1:longitude>1</d2p1:longitude>
      </d2p1:PropertyMapDataGroup>
      <d2p1:PropertyMapDataGroup>
        <d2p1:Ids xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:int>1</d5p1:int>
          <d5p1:int>2</d5p1:int>
        </d2p1:Ids>
        <d2p1:latitude>1</d2p1:latitude>
        <d2p1:longitude>1</d2p1:longitude>
      </d2p1:PropertyMapDataGroup>
    </d2p1:groups>
  </Results>
</MapSearchDataOfAuctionPropertySearchModelVLatN738>