POST v1/irebdm/flatlead

Request Information

URI Parameters

None.

Body Parameters

FlatLead
NameDescriptionTypeAdditional information
key

string

None.

accountName

string

None.

statusName

string

None.

sourceName

string

None.

firstName

string

None.

lastName

string

None.

phone

string

None.

email

string

None.

mobile

string

None.

comments

string

None.

residentialAddressStreetNo

string

None.

residentialAddressStreet

string

None.

residentialAddressSuburb

string

None.

residentialAddressPostcode

string

None.

residentialAddressState

string

None.

streetNo

string

None.

street

string

None.

suburb

string

None.

state

string

None.

postcode

string

None.

bedrooms

integer

None.

bathrooms

integer

None.

garages

integer

None.

carports

integer

None.

description

string

None.

buildingName

string

None.

referrerFirstName

string

None.

referrerLastName

string

None.

referrerPhone

string

None.

referrerEmail

string

None.

referrerMobile

string

None.

referrerComments

string

None.

referrerCompanyName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "key": "sample string 1",
  "accountName": "sample string 2",
  "statusName": "sample string 3",
  "sourceName": "sample string 4",
  "firstName": "sample string 5",
  "lastName": "sample string 6",
  "phone": "sample string 7",
  "email": "sample string 8",
  "mobile": "sample string 9",
  "comments": "sample string 10",
  "residentialAddressStreetNo": "sample string 11",
  "residentialAddressStreet": "sample string 12",
  "residentialAddressSuburb": "sample string 13",
  "residentialAddressPostcode": "sample string 14",
  "residentialAddressState": "sample string 15",
  "streetNo": "sample string 16",
  "street": "sample string 17",
  "suburb": "sample string 18",
  "state": "sample string 19",
  "postcode": "sample string 20",
  "bedrooms": 21,
  "bathrooms": 22,
  "garages": 23,
  "carports": 24,
  "description": "sample string 25",
  "buildingName": "sample string 26",
  "referrerFirstName": "sample string 27",
  "referrerLastName": "sample string 28",
  "referrerPhone": "sample string 29",
  "referrerEmail": "sample string 30",
  "referrerMobile": "sample string 31",
  "referrerComments": "sample string 32",
  "referrerCompanyName": "sample string 33"
}

application/xml, text/xml

Sample:
<FlatLead xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models">
  <accountName>sample string 2</accountName>
  <bathrooms>22</bathrooms>
  <bedrooms>21</bedrooms>
  <buildingName>sample string 26</buildingName>
  <carports>24</carports>
  <comments>sample string 10</comments>
  <description>sample string 25</description>
  <email>sample string 8</email>
  <firstName>sample string 5</firstName>
  <garages>23</garages>
  <key>sample string 1</key>
  <lastName>sample string 6</lastName>
  <mobile>sample string 9</mobile>
  <phone>sample string 7</phone>
  <postcode>sample string 20</postcode>
  <referrerComments>sample string 32</referrerComments>
  <referrerCompanyName>sample string 33</referrerCompanyName>
  <referrerEmail>sample string 30</referrerEmail>
  <referrerFirstName>sample string 27</referrerFirstName>
  <referrerLastName>sample string 28</referrerLastName>
  <referrerMobile>sample string 31</referrerMobile>
  <referrerPhone>sample string 29</referrerPhone>
  <residentialAddressPostcode>sample string 14</residentialAddressPostcode>
  <residentialAddressState>sample string 15</residentialAddressState>
  <residentialAddressStreet>sample string 12</residentialAddressStreet>
  <residentialAddressStreetNo>sample string 11</residentialAddressStreetNo>
  <residentialAddressSuburb>sample string 13</residentialAddressSuburb>
  <sourceName>sample string 4</sourceName>
  <state>sample string 19</state>
  <statusName>sample string 3</statusName>
  <street>sample string 17</street>
  <streetNo>sample string 16</streetNo>
  <suburb>sample string 18</suburb>
</FlatLead>

multipart/form-data

Sample:
<FlatLead xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IRE.API.Models"><accountName>sample string 2</accountName><bathrooms>22</bathrooms><bedrooms>21</bedrooms><buildingName>sample string 26</buildingName><carports>24</carports><comments>sample string 10</comments><description>sample string 25</description><email>sample string 8</email><firstName>sample string 5</firstName><garages>23</garages><key>sample string 1</key><lastName>sample string 6</lastName><mobile>sample string 9</mobile><phone>sample string 7</phone><postcode>sample string 20</postcode><referrerComments>sample string 32</referrerComments><referrerCompanyName>sample string 33</referrerCompanyName><referrerEmail>sample string 30</referrerEmail><referrerFirstName>sample string 27</referrerFirstName><referrerLastName>sample string 28</referrerLastName><referrerMobile>sample string 31</referrerMobile><referrerPhone>sample string 29</referrerPhone><residentialAddressPostcode>sample string 14</residentialAddressPostcode><residentialAddressState>sample string 15</residentialAddressState><residentialAddressStreet>sample string 12</residentialAddressStreet><residentialAddressStreetNo>sample string 11</residentialAddressStreetNo><residentialAddressSuburb>sample string 13</residentialAddressSuburb><sourceName>sample string 4</sourceName><state>sample string 19</state><statusName>sample string 3</statusName><street>sample string 17</street><streetNo>sample string 16</streetNo><suburb>sample string 18</suburb></FlatLead>

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.