Website logo

Send Renti viewing request for a listing

Send Renti viewing request for a listing.

URL: https://api.trademe.co.nz/v1/Property/Renti/Viewing/{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

<RentiViewingRequest>

FirstName String (required) FirstName
LastName String (required) LastName
Email String (required) Email
Mobile String (required) Mobile
Message String (optional) Message
Type String (required) Type
StartTime String (optional) StartTime
EndTime String (optional) EndTime
RequestType String (optional) RequestType

Returns

<RentiGeneralResponse>

Whether response was successful.

Success Boolean

Indicates whether the operation was successful.

Example XML Request (switch to JSON)

<RentiViewingRequest xmlns="http://api.trademe.co.nz/v1">
  <FirstName>ABC</FirstName>
  <LastName>ABC</LastName>
  <Email>ABC</Email>
  <Mobile>ABC</Mobile>
  <Message>ABC</Message>
  <Type>ABC</Type>
  <StartTime>ABC</StartTime>
  <EndTime>ABC</EndTime>
  <RequestType>ABC</RequestType>
</RentiViewingRequest>

Example JSON Request (switch to XML)

{
  "FirstName": "ABC",
  "LastName": "ABC",
  "Email": "ABC",
  "Mobile": "ABC",
  "Message": "ABC",
  "Type": "ABC",
  "StartTime": "ABC",
  "EndTime": "ABC",
  "RequestType": "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
}