GET api/Property?oldId={oldId}&type={type}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
oldId

integer

Required

type

string

Required

Body Parameters

None.

Response Information

Resource Description

PropertyDetails
NameDescriptionTypeAdditional information
Address

AddressInfo

None.

PropertyStatus

PropertyStatus

None.

Id

integer

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Description

string

None.

SalesDescription

string

None.

Price

decimal number

None.

PriceDescription

string

None.

Features

Collection of string

None.

Rooms

Collection of RoomInfo

None.

DefaultImage

GalleryImageInfo

None.

PropertyImages

Collection of GalleryImageInfo

None.

HasEPC

boolean

None.

EPC

string

None.

ParticularsUrl

string

None.

FloorPlans

Collection of FloorPlanInfo

None.

TeamTelephone

string

None.

TeamEmail

string

None.

PropertyType

PropertyType

None.

IsRental

boolean

None.

ReservationFee

boolean

None.

Conditional

boolean

None.

Deadline

date

None.

ParticularsStatus

ParticularsStatus

None.

BedroomCount

integer

None.

ReceptionCount

integer

None.

PropType

string

None.

USPS

Collection of string

None.

ParkingType

string

None.

CentralHeatingType

string

None.

Tenure

PropertyTenure

None.

IsAuction

boolean

None.

IsOnlineAuction

boolean

None.

CanBid

boolean

None.

AuctionName

string

None.

AuctionBids

integer

None.

HighestOffer

decimal number

None.

LegalPackId

integer

None.

PackageName

string

None.

OnlineAuctionId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Address": {
    "HouseNameNumber": "sample string 1",
    "Street": "sample string 2",
    "Locality": "sample string 3",
    "City": "sample string 4",
    "County": "sample string 5",
    "Postcode": "sample string 6"
  },
  "PropertyStatus": 0,
  "Id": 1,
  "Latitude": 1.0,
  "Longitude": 1.0,
  "Description": "sample string 2",
  "SalesDescription": "sample string 3",
  "Price": 4.0,
  "PriceDescription": "sample string 5",
  "Features": [
    "sample string 1",
    "sample string 2"
  ],
  "Rooms": [
    {
      "Name": "sample string 1",
      "Description": "sample string 2",
      "Thumbnail": "sample string 3",
      "Image": "sample string 4",
      "ImageId": 1,
      "Width": 1.0,
      "Length": 1.0,
      "Dimensions": "sample string 5"
    },
    {
      "Name": "sample string 1",
      "Description": "sample string 2",
      "Thumbnail": "sample string 3",
      "Image": "sample string 4",
      "ImageId": 1,
      "Width": 1.0,
      "Length": 1.0,
      "Dimensions": "sample string 5"
    }
  ],
  "DefaultImage": {
    "Thumbnail": "sample string 1",
    "Image": "sample string 2",
    "Id": 3
  },
  "PropertyImages": [
    {
      "Thumbnail": "sample string 1",
      "Image": "sample string 2",
      "Id": 3
    },
    {
      "Thumbnail": "sample string 1",
      "Image": "sample string 2",
      "Id": 3
    }
  ],
  "HasEPC": true,
  "EPC": "sample string 7",
  "ParticularsUrl": "sample string 8",
  "FloorPlans": [
    {
      "Title": "sample string 1",
      "Image": "sample string 2"
    },
    {
      "Title": "sample string 1",
      "Image": "sample string 2"
    }
  ],
  "TeamTelephone": "sample string 9",
  "TeamEmail": "sample string 10",
  "PropertyType": 0,
  "IsRental": true,
  "ReservationFee": true,
  "Conditional": true,
  "Deadline": "2017-07-21T08:01:48.0331589+01:00",
  "ParticularsStatus": 0,
  "BedroomCount": 1,
  "ReceptionCount": 1,
  "PropType": "sample string 15",
  "USPS": [
    "sample string 1",
    "sample string 2"
  ],
  "ParkingType": "sample string 16",
  "CentralHeatingType": "sample string 17",
  "Tenure": 0,
  "IsAuction": true,
  "IsOnlineAuction": true,
  "CanBid": true,
  "AuctionName": "sample string 21",
  "AuctionBids": 1,
  "HighestOffer": 1.0,
  "LegalPackId": 1,
  "PackageName": "sample string 22",
  "OnlineAuctionId": 1
}

application/xml, text/xml

Sample:
<PropertyDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pattinsons.Domain.Property.Info">
  <Address xmlns:d2p1="http://schemas.datacontract.org/2004/07/Pattinsons.Domain.Property.Address">
    <d2p1:City>sample string 4</d2p1:City>
    <d2p1:County>sample string 5</d2p1:County>
    <d2p1:HouseNameNumber>sample string 1</d2p1:HouseNameNumber>
    <d2p1:Locality>sample string 3</d2p1:Locality>
    <d2p1:Postcode>sample string 6</d2p1:Postcode>
    <d2p1:Street>sample string 2</d2p1:Street>
  </Address>
  <AuctionBids>1</AuctionBids>
  <AuctionName>sample string 21</AuctionName>
  <BedroomCount>1</BedroomCount>
  <CanBid>true</CanBid>
  <CentralHeatingType>sample string 17</CentralHeatingType>
  <Conditional>true</Conditional>
  <Deadline>2017-07-21T08:01:48.0331589+01:00</Deadline>
  <DefaultImage>
    <Id>3</Id>
    <Image>sample string 2</Image>
    <Thumbnail>sample string 1</Thumbnail>
  </DefaultImage>
  <Description>sample string 2</Description>
  <EPC>sample string 7</EPC>
  <Features xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Features>
  <FloorPlans>
    <FloorPlanInfo>
      <Image>sample string 2</Image>
      <Title>sample string 1</Title>
    </FloorPlanInfo>
    <FloorPlanInfo>
      <Image>sample string 2</Image>
      <Title>sample string 1</Title>
    </FloorPlanInfo>
  </FloorPlans>
  <HasEPC>true</HasEPC>
  <HighestOffer>1</HighestOffer>
  <Id>1</Id>
  <IsAuction>true</IsAuction>
  <IsOnlineAuction>true</IsOnlineAuction>
  <IsRental>true</IsRental>
  <Latitude>1</Latitude>
  <LegalPackId>1</LegalPackId>
  <Longitude>1</Longitude>
  <OnlineAuctionId>1</OnlineAuctionId>
  <PackageName>sample string 22</PackageName>
  <ParkingType>sample string 16</ParkingType>
  <ParticularsStatus>Unsent</ParticularsStatus>
  <ParticularsUrl>sample string 8</ParticularsUrl>
  <Price>4</Price>
  <PriceDescription>sample string 5</PriceDescription>
  <PropType>sample string 15</PropType>
  <PropertyImages>
    <GalleryImageInfo>
      <Id>3</Id>
      <Image>sample string 2</Image>
      <Thumbnail>sample string 1</Thumbnail>
    </GalleryImageInfo>
    <GalleryImageInfo>
      <Id>3</Id>
      <Image>sample string 2</Image>
      <Thumbnail>sample string 1</Thumbnail>
    </GalleryImageInfo>
  </PropertyImages>
  <PropertyStatus>Valuation</PropertyStatus>
  <PropertyType>Sale</PropertyType>
  <ReceptionCount>1</ReceptionCount>
  <ReservationFee>true</ReservationFee>
  <Rooms>
    <RoomInfo>
      <Description>sample string 2</Description>
      <Dimensions>sample string 5</Dimensions>
      <Image>sample string 4</Image>
      <ImageId>1</ImageId>
      <Length>1</Length>
      <Name>sample string 1</Name>
      <Thumbnail>sample string 3</Thumbnail>
      <Width>1</Width>
    </RoomInfo>
    <RoomInfo>
      <Description>sample string 2</Description>
      <Dimensions>sample string 5</Dimensions>
      <Image>sample string 4</Image>
      <ImageId>1</ImageId>
      <Length>1</Length>
      <Name>sample string 1</Name>
      <Thumbnail>sample string 3</Thumbnail>
      <Width>1</Width>
    </RoomInfo>
  </Rooms>
  <SalesDescription>sample string 3</SalesDescription>
  <TeamEmail>sample string 10</TeamEmail>
  <TeamTelephone>sample string 9</TeamTelephone>
  <Tenure>Unknown</Tenure>
  <USPS xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </USPS>
</PropertyDetails>