GET api/CommercialPropertySearchMapData

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SearchType

CommercialSearchType

None.

IncludeUnderOffer

boolean

None.

BusinessType

integer

None.

IncludeAuctions

boolean

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

MapSearchDataOfCommercialPropertySearchModel
NameDescriptionTypeAdditional information
Results

MapDisplayData

None.

SearchModel

CommercialPropertySearchModel

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": {
    "SearchType": 1,
    "IncludeUnderOffer": true,
    "BusinessType": 1,
    "IncludeAuctions": true,
    "SearchId": 1,
    "Area": [
      {
        "Latitude": 1.0,
        "Longitude": 2.0
      },
      {
        "Latitude": 1.0,
        "Longitude": 2.0
      }
    ],
    "LocationName": "sample string 3",
    "DrawnSearchData": "f29f4bb8-9d91-45cc-82ab-31d950a83d9b",
    "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:30:03.5896044+01:00",
    "PartnerAgentId": 1,
    "Page": 5,
    "PageSize": 6
  },
  "UpdatedRadius": 1
}

application/xml, text/xml

Sample:
<MapSearchDataOfCommercialPropertySearchModelVLatN738 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">5</Page>
    <PageSize xmlns="http://schemas.datacontract.org/2004/07/Pattinsons.Domain">6</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>f29f4bb8-9d91-45cc-82ab-31d950a83d9b</DrawnSearchData>
    <Latitude>1</Latitude>
    <LocationName>sample string 3</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:30:03.5896044+01:00</PutOnMarketSince>
    <Radius>1</Radius>
    <SearchId>1</SearchId>
    <BusinessType>1</BusinessType>
    <IncludeAuctions>true</IncludeAuctions>
    <IncludeUnderOffer>true</IncludeUnderOffer>
    <SearchType>CommercialSale</SearchType>
  </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>
</MapSearchDataOfCommercialPropertySearchModelVLatN738>