TradeMe.Api.Client.MyTradeMeMethods.DeleteNote C# (CSharp) Method

DeleteNote() public method

Performs the My Trade Me Method: Removes the note from a listing. DELETE

REQUIRES AUTHENTICATION.
public DeleteNote ( string listingId, string noteId, string offerId ) : System.Xml.Linq.XDocument
listingId string The id of the listing that will be removed from the watchlist.
noteId string The ID of the note.
offerId string The ID of the offer the note is associated with. Should be 0 if the note is not associated with a fixed price offer.
return System.Xml.Linq.XDocument
        public XDocument DeleteNote(string listingId, string noteId, string offerId)
        {
            var query = String.Format(Constants.Culture, "{0}/{1}/{2}/{3}/{4}.{5}", Constants.MY_TRADEME,
                                      Constants.NOTES, listingId, noteId, offerId, Constants.XML);
            return _connection.Post(null, query, true);
        }