POST v1/enquiry

Request Information

URI Parameters

None.

Body Parameters

Enquiry
NameDescriptionTypeAdditional information
key

string

None.

agentID

string

None.

uniqueID

string

None.

accountName

string

None.

address

string

None.

propertyType

PropertyType

None.

details

EnquiryDetails

None.

Request Formats

application/json, text/json

Sample:
{
  "key": "sample string 1",
  "agentID": "sample string 2",
  "uniqueID": "sample string 3",
  "accountName": "sample string 4",
  "address": "sample string 5",
  "propertyType": 0,
  "details": {
    "firstName": "sample string 1",
    "lastName": "sample string 2",
    "fullName": "sample string 3",
    "email": "sample string 4",
    "mobile": "sample string 5",
    "comments": "sample string 6"
  }
}

application/xml, text/xml

Sample:
<Enquiry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models">
  <accountName>sample string 4</accountName>
  <address>sample string 5</address>
  <agentID>sample string 2</agentID>
  <details>
    <comments>sample string 6</comments>
    <email>sample string 4</email>
    <firstName>sample string 1</firstName>
    <fullName>sample string 3</fullName>
    <lastName>sample string 2</lastName>
    <mobile>sample string 5</mobile>
  </details>
  <key>sample string 1</key>
  <propertyType>Rental</propertyType>
  <uniqueID>sample string 3</uniqueID>
</Enquiry>

multipart/form-data

Sample:
<Enquiry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models"><accountName>sample string 4</accountName><address>sample string 5</address><agentID>sample string 2</agentID><details><comments>sample string 6</comments><email>sample string 4</email><firstName>sample string 1</firstName><fullName>sample string 3</fullName><lastName>sample string 2</lastName><mobile>sample string 5</mobile></details><key>sample string 1</key><propertyType>Rental</propertyType><uniqueID>sample string 3</uniqueID></Enquiry>

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.