POST api/AskMyHomeValue

Request Information

URI Parameters

None.

Body Parameters

AskMyHomeValueModel
NameDescriptionTypeAdditional information
agentId

integer

None.

name

string

None.

email

string

None.

phone

string

None.

whenToSell

string

None.

propertyAddress

string

None.

Request Formats

application/json, text/json

Sample:
{
  "agentId": 1,
  "name": "sample string 2",
  "email": "sample string 3",
  "phone": "sample string 4",
  "whenToSell": "sample string 5",
  "propertyAddress": "sample string 6"
}

text/html

Sample:
{"agentId":1,"name":"sample string 2","email":"sample string 3","phone":"sample string 4","whenToSell":"sample string 5","propertyAddress":"sample string 6"}

application/xml, text/xml

Sample:
<AskMyHomeValueModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services">
  <AgentId>1</AgentId>
  <Email>sample string 3</Email>
  <Name>sample string 2</Name>
  <Phone>sample string 4</Phone>
  <PropertyAddress>sample string 6</PropertyAddress>
  <WhenToSell>sample string 5</WhenToSell>
</AskMyHomeValueModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AskMyHomeValueModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.