POST api/Property

Request Information

URI Parameters

None.

Body Parameters

PropertyPojo
NameDescriptionTypeAdditional information
ID

integer

None.

contactnumber

string

None.

leadid

integer

None.

leadsname

string

None.

locations

string

None.

maxamount

string

None.

minamount

string

None.

priority

string

None.

project

string

None.

noofbedrooms

string

None.

typeoflead

string

None.

propertytype

string

None.

subpropertytype

string

None.

leadstatus

string

None.

leadrole

string

None.

createdby

string

None.

assignto

string

None.

updatedon

string

None.

update

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "contactnumber": "sample string 2",
  "leadid": 3,
  "leadsname": "sample string 4",
  "locations": "sample string 5",
  "maxamount": "sample string 6",
  "minamount": "sample string 7",
  "priority": "sample string 8",
  "project": "sample string 9",
  "noofbedrooms": "sample string 10",
  "typeoflead": "sample string 11",
  "propertytype": "sample string 12",
  "subpropertytype": "sample string 13",
  "leadstatus": "sample string 14",
  "leadrole": "sample string 15",
  "createdby": "sample string 16",
  "assignto": "sample string 17",
  "updatedon": "sample string 18",
  "update": "sample string 19"
}

text/html

Sample:
{"ID":1,"contactnumber":"sample string 2","leadid":3,"leadsname":"sample string 4","locations":"sample string 5","maxamount":"sample string 6","minamount":"sample string 7","priority":"sample string 8","project":"sample string 9","noofbedrooms":"sample string 10","typeoflead":"sample string 11","propertytype":"sample string 12","subpropertytype":"sample string 13","leadstatus":"sample string 14","leadrole":"sample string 15","createdby":"sample string 16","assignto":"sample string 17","updatedon":"sample string 18","update":"sample string 19"}

application/xml, text/xml

Sample:
<PropertyPojo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApplication1.Models.Property">
  <ID>1</ID>
  <assignto>sample string 17</assignto>
  <contactnumber>sample string 2</contactnumber>
  <createdby>sample string 16</createdby>
  <leadid>3</leadid>
  <leadrole>sample string 15</leadrole>
  <leadsname>sample string 4</leadsname>
  <leadstatus>sample string 14</leadstatus>
  <locations>sample string 5</locations>
  <maxamount>sample string 6</maxamount>
  <minamount>sample string 7</minamount>
  <noofbedrooms>sample string 10</noofbedrooms>
  <priority>sample string 8</priority>
  <project>sample string 9</project>
  <propertytype>sample string 12</propertytype>
  <subpropertytype>sample string 13</subpropertytype>
  <typeoflead>sample string 11</typeoflead>
  <update>sample string 19</update>
  <updatedon>sample string 18</updatedon>
</PropertyPojo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.