Website logo

Update the Renti status of a member

Update renti status of the member. Member will be inferred from context.

URL: https://api.trademe.co.nz/v1/Property/Renti/MemberStatus.{file_format}
HTTP Method: POST
Requires Authentication? Yes
Permission Required: MyTradeMeWrite: Maintain your watchlist, answer questions and post comments.
Supported Formats: XML, JSON
Rate Limited? Yes

URL parameters

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

POST Data

<RentiStatusUpdateRequest>

Enabled Boolean (required)

New status

Returns

<RentiStatusUpdateResponse>

Response object containing success/failure and a message

Success Boolean

Indicates whether the operation was successful.

Description String or null

The description of the error, if the operation failed.

Example XML Request (switch to JSON)

<RentiStatusUpdateRequest xmlns="http://api.trademe.co.nz/v1">
  <Enabled>false</Enabled>
</RentiStatusUpdateRequest>

Example JSON Request (switch to XML)

{
  "Enabled": false
}

Example XML Response (switch to JSON)

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

Example JSON Response (switch to XML)

{
  "Success": false,
  "Description": "ABC"
}