POST api/Property/LoadPropertyDetailsById

Request Information

URI Parameters

None.

Body Parameters

PropertyViewModel
NameDescriptionTypeAdditional information
propertymasterid

integer

None.

propertyurl

string

None.

totalproperties

integer

None.

totalsponsoredproperties

integer

None.

totalpropertiesold

integer

None.

counter

integer

None.

directionid

integer

None.

direction

string

None.

propertycode

string

None.

name

string

None.

number

string

None.

negotiable

boolean

None.

logininfoid

integer

None.

price

decimal number

None.

deposit

decimal number

None.

location

string

None.

propertytypeid

integer

None.

propertytype

string

None.

listingtype

string

None.

propertylistingtypeid

integer

None.

title

string

None.

isactive

boolean

None.

pricerange

string

None.

time

string

None.

roomtypeid

integer

None.

roomtype

string

None.

views

integer

None.

city

string

None.

username

string

None.

createdbyid

integer

None.

description

string

None.

carpetarea

string

None.

builduparea

string

None.

addressline1

string

None.

addressline2

string

None.

stateid

integer

None.

cityid

string

None.

zipcode

integer

None.

userroleid

integer

None.

issponsored

boolean

None.

issold

boolean

None.

floortypeid

integer

None.

floor

integer

None.

reracertified

boolean

None.

propertyvideourl

string

None.

Facilities

Collection of string

None.

Amenities

Collection of string

None.

reranumber

string

None.

propertyimagedetails

Collection of PropertyImageViewModel

None.

propertyamenitiesdetails

Collection of PropertyAmenityViewModel

None.

propertyfacilitydetails

Collection of PropertyFacilityViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "propertymasterid": 1,
  "propertyurl": "sample string 2",
  "totalproperties": 3,
  "totalsponsoredproperties": 4,
  "totalpropertiesold": 5,
  "counter": 6,
  "directionid": 7,
  "direction": "sample string 8",
  "propertycode": "sample string 9",
  "name": "sample string 10",
  "number": "sample string 11",
  "negotiable": true,
  "logininfoid": 13,
  "price": 14.1,
  "deposit": 15.1,
  "location": "sample string 16",
  "propertytypeid": 17,
  "propertytype": "sample string 18",
  "listingtype": "sample string 19",
  "propertylistingtypeid": 20,
  "title": "sample string 21",
  "isactive": true,
  "pricerange": "sample string 23",
  "time": "sample string 24",
  "roomtypeid": 25,
  "roomtype": "sample string 26",
  "views": 27,
  "city": "sample string 28",
  "username": "sample string 29",
  "createdbyid": 30,
  "description": "sample string 31",
  "carpetarea": "sample string 32",
  "builduparea": "sample string 33",
  "addressline1": "sample string 34",
  "addressline2": "sample string 35",
  "stateid": 36,
  "cityid": "sample string 37",
  "zipcode": 38,
  "userroleid": 39,
  "issponsored": true,
  "issold": true,
  "floortypeid": 42,
  "floor": 43,
  "reracertified": true,
  "propertyvideourl": "sample string 45",
  "Facilities": [
    "sample string 1",
    "sample string 2"
  ],
  "Amenities": [
    "sample string 1",
    "sample string 2"
  ],
  "reranumber": "sample string 46",
  "propertyimagedetails": [
    {
      "propertyimageid": 1,
      "propertyimagelink": "sample string 2"
    },
    {
      "propertyimageid": 1,
      "propertyimagelink": "sample string 2"
    }
  ],
  "propertyamenitiesdetails": [
    {
      "propertyamenitytypeid": 1,
      "propertyamenitiesid": 2
    },
    {
      "propertyamenitytypeid": 1,
      "propertyamenitiesid": 2
    }
  ],
  "propertyfacilitydetails": [
    {
      "propertyfacilitytypeid": 1,
      "propertyfacilitiesid": 2
    },
    {
      "propertyfacilitytypeid": 1,
      "propertyfacilitiesid": 2
    }
  ]
}

application/xml, text/xml

Sample:
<PropertyViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/housingbookapi.Models">
  <Amenities xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Amenities>
  <Facilities xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Facilities>
  <addressline1>sample string 34</addressline1>
  <addressline2>sample string 35</addressline2>
  <builduparea>sample string 33</builduparea>
  <carpetarea>sample string 32</carpetarea>
  <city>sample string 28</city>
  <cityid>sample string 37</cityid>
  <counter>6</counter>
  <createdbyid>30</createdbyid>
  <deposit>15.1</deposit>
  <description>sample string 31</description>
  <direction>sample string 8</direction>
  <directionid>7</directionid>
  <floor>43</floor>
  <floortypeid>42</floortypeid>
  <isactive>true</isactive>
  <issold>true</issold>
  <issponsored>true</issponsored>
  <listingtype>sample string 19</listingtype>
  <location>sample string 16</location>
  <logininfoid>13</logininfoid>
  <name>sample string 10</name>
  <negotiable>true</negotiable>
  <number>sample string 11</number>
  <price>14.1</price>
  <pricerange>sample string 23</pricerange>
  <propertyamenitiesdetails>
    <PropertyAmenityViewModel>
      <propertyamenitiesid>2</propertyamenitiesid>
      <propertyamenitytypeid>1</propertyamenitytypeid>
    </PropertyAmenityViewModel>
    <PropertyAmenityViewModel>
      <propertyamenitiesid>2</propertyamenitiesid>
      <propertyamenitytypeid>1</propertyamenitytypeid>
    </PropertyAmenityViewModel>
  </propertyamenitiesdetails>
  <propertycode>sample string 9</propertycode>
  <propertyfacilitydetails>
    <PropertyFacilityViewModel>
      <propertyfacilitiesid>2</propertyfacilitiesid>
      <propertyfacilitytypeid>1</propertyfacilitytypeid>
    </PropertyFacilityViewModel>
    <PropertyFacilityViewModel>
      <propertyfacilitiesid>2</propertyfacilitiesid>
      <propertyfacilitytypeid>1</propertyfacilitytypeid>
    </PropertyFacilityViewModel>
  </propertyfacilitydetails>
  <propertyimagedetails>
    <PropertyImageViewModel>
      <propertyimageid>1</propertyimageid>
      <propertyimagelink>sample string 2</propertyimagelink>
    </PropertyImageViewModel>
    <PropertyImageViewModel>
      <propertyimageid>1</propertyimageid>
      <propertyimagelink>sample string 2</propertyimagelink>
    </PropertyImageViewModel>
  </propertyimagedetails>
  <propertylistingtypeid>20</propertylistingtypeid>
  <propertymasterid>1</propertymasterid>
  <propertytype>sample string 18</propertytype>
  <propertytypeid>17</propertytypeid>
  <propertyurl>sample string 2</propertyurl>
  <propertyvideourl>sample string 45</propertyvideourl>
  <reracertified>true</reracertified>
  <reranumber>sample string 46</reranumber>
  <roomtype>sample string 26</roomtype>
  <roomtypeid>25</roomtypeid>
  <stateid>36</stateid>
  <time>sample string 24</time>
  <title>sample string 21</title>
  <totalproperties>3</totalproperties>
  <totalpropertiesold>5</totalpropertiesold>
  <totalsponsoredproperties>4</totalsponsoredproperties>
  <username>sample string 29</username>
  <userroleid>39</userroleid>
  <views>27</views>
  <zipcode>38</zipcode>
</PropertyViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResultViewModel
NameDescriptionTypeAdditional information
status

boolean

None.

message

string

None.

data

Object

None.

errorCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "message": "sample string 2",
  "data": {},
  "errorCode": 4
}

application/xml, text/xml

Sample:
<HttpResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/housingbookapi.Models">
  <data />
  <errorCode>4</errorCode>
  <message>sample string 2</message>
  <status>true</status>
</HttpResultViewModel>