Blacklist a member
Adds a member to the authenticated user's blacklist.
URL: | https://api.trademe.co.nz/v1/MyTradeMe/Blacklist/Add.{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. | ||||
---|---|---|---|---|---|---|
|
POST Data
<BlacklistRequest>
MemberId | Integer (optional) |
The id of the member to add to the blacklist |
---|
Returns
<BlacklistResponse>
Details on whether the operation was successful.
Success | Boolean |
Indicates whether the operation was successful. |
||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description | String or null |
The description of the error, if the operation failed. |
||||||||||||||||||||||||
MemberId | Integer |
The ID of the member added to the blacklist. |
||||||||||||||||||||||||
Status | Enumeration |
The status of the blacklist request. |
||||||||||||||||||||||||
|