POST api/AddPropertyAdvertisement

Request Information

URI Parameters

None.

Body Parameters

PropertyAdvertisementModel
NameDescriptionTypeAdditional information
PropertyTitle

string

None.

PropertyType

string

None.

CategoryName

string

None.

PropertyImageUrl

string

None.

PropertyVideoUrl

string

None.

ContactNoEmail

string

None.

PropertyAddress

string

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PropertyTitle": "sample string 1",
  "PropertyType": "sample string 2",
  "CategoryName": "sample string 3",
  "PropertyImageUrl": "sample string 4",
  "PropertyVideoUrl": "sample string 5",
  "ContactNoEmail": "sample string 6",
  "PropertyAddress": "sample string 7",
  "IsActive": true
}

application/xml, text/xml

Sample:
<PropertyAdvertisementModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RentoAPI_New.Models">
  <CategoryName>sample string 3</CategoryName>
  <ContactNoEmail>sample string 6</ContactNoEmail>
  <IsActive>true</IsActive>
  <PropertyAddress>sample string 7</PropertyAddress>
  <PropertyImageUrl>sample string 4</PropertyImageUrl>
  <PropertyTitle>sample string 1</PropertyTitle>
  <PropertyType>sample string 2</PropertyType>
  <PropertyVideoUrl>sample string 5</PropertyVideoUrl>
</PropertyAdvertisementModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, text/javascript, application/javascript, application/json-p

Sample:

Sample not available.