POST api/Properties/GetFeaturedProperties
Request Information
URI Parameters
None.
Body Parameters
FeaturedPropertySearchModel| Name | Description | Type | Additional information |
|---|---|---|---|
| LocationID | integer |
None. |
|
| PropertyTypeID | integer |
None. |
|
| PropertyType | string |
None. |
|
| PropertySubtypeID | integer |
None. |
|
| PropertySubtype | string |
None. |
|
| MaxAmount | decimal number |
None. |
|
| MinAmount | decimal number |
None. |
|
| IsSale | boolean |
None. |
|
| IsRent | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"LocationID": 1,
"PropertyTypeID": 1,
"PropertyType": "sample string 1",
"PropertySubtypeID": 1,
"PropertySubtype": "sample string 2",
"MaxAmount": 1.0,
"MinAmount": 1.0,
"IsSale": true,
"IsRent": true
}
application/xml, text/xml
Sample:
<FeaturedPropertySearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.ViewModel.PropertieViews"> <IsRent>true</IsRent> <IsSale>true</IsSale> <LocationID>1</LocationID> <MaxAmount>1</MaxAmount> <MinAmount>1</MinAmount> <PropertySubtype>sample string 2</PropertySubtype> <PropertySubtypeID>1</PropertySubtypeID> <PropertyType>sample string 1</PropertyType> <PropertyTypeID>1</PropertyTypeID> </FeaturedPropertySearchModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | ResultStatus |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 100,
"Message": "sample string 1",
"Data": {}
}
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.Generics"> <Data /> <Message>sample string 1</Message> <Status>Success</Status> </Result>