Website logo

Send Renti enquiry request for a listing

Send Renti enquiry request for a listing.

URL: https://api.trademe.co.nz/v1/Property/Renti/Enquiry/{listingId}.{file_format}
HTTP Method: POST
Requires Authentication? Yes
Permission Required: MyTradeMeRead: Read your membership & listing data.
Supported Formats: XML, JSON
Rate Limited? Yes

URL parameters

listingId Integer (required)

file_format Enumeration (required) The format of the response.
xml Serialize responses into XML.
json Serialize responses into JSON.

POST Data

<RentiEnquiryRequest>

FirstName String (required) FirstName
LastName String (required) LastName
Email String (required) Email
Mobile String (required) Mobile
Message String (required) Message

Returns

<RentiGeneralResponse>

Whether response was successful.

Success Boolean

Indicates whether the operation was successful.

Example XML Request (switch to JSON)

<RentiEnquiryRequest xmlns="http://api.trademe.co.nz/v1">
  <FirstName>ABC</FirstName>
  <LastName>ABC</LastName>
  <Email>ABC</Email>
  <Mobile>ABC</Mobile>
  <Message>ABC</Message>
</RentiEnquiryRequest>

Example JSON Request (switch to XML)

{
  "FirstName": "ABC",
  "LastName": "ABC",
  "Email": "ABC",
  "Mobile": "ABC",
  "Message": "ABC"
}

Example XML Response (switch to JSON)

<RentiGeneralResponse xmlns="http://api.trademe.co.nz/v1">
  <Success>false</Success>
</RentiGeneralResponse>

Example JSON Response (switch to XML)

{
  "Success": false
}