POST api/UserRequestViewing

Request Information

URI Parameters

None.

Body Parameters

ViewingRequests
NameDescriptionTypeAdditional information
userID

string

None.

propertyID

string

None.

phone

string

None.

email

string

None.

name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userID": "sample string 1",
  "propertyID": "sample string 2",
  "phone": "sample string 3",
  "email": "sample string 4",
  "name": "sample string 5"
}

application/xml, text/xml

Sample:
<ViewingRequests xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/REApropertyAPI.Models">
  <email>sample string 4</email>
  <name>sample string 5</name>
  <phone>sample string 3</phone>
  <propertyID>sample string 2</propertyID>
  <userID>sample string 1</userID>
</ViewingRequests>

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 'ViewingRequests'.

Response Information

Resource Description

None.