/// <summary> /// <para>Performs the My Trade Me Method: /// Adds a listing to the authenticated user’s watchlist /// with the option to control when and if an email is sent to the member warning that the auction is closing soon. POST /// </para> /// REQUIRES AUTHENTICATION. /// </summary> /// <param name="request">SaveToWatchlistRequest.</param> /// <returns>XDocument: WatchListResponse.</returns> public XDocument SaveListingToWatchlist(SaveToWatchlistRequest request) { var query = String.Format(Constants.Culture, "{0}/{1}{2}", Constants.MY_TRADEME, Constants.WATCHLIST, Constants.XML); return(_connection.Post(request, query)); }
/// <summary> /// <para>Performs the My Trade Me Method: /// Adds a listing to the authenticated user’s watchlist /// with the option to control when and if an email is sent to the member warning that the auction is closing soon. /// </para> /// REQUIRES AUTHENTICATION. /// </summary> /// <param name="request">SaveToWatchlistRequest.</param> /// <returns>XDocument: WatchListResponse.</returns> public XDocument SaveListingToWatchlist(SaveToWatchlistRequest request) { if (_myTradeMe == null) { _myTradeMe = new MyTradeMeMethods(_connection); } return _myTradeMe.SaveListingToWatchlist(request); }
/// <summary> /// <para>Performs the My Trade Me Method: /// Adds a listing to the authenticated user’s watchlist /// with the option to control when and if an email is sent to the member warning that the auction is closing soon. POST /// </para> /// REQUIRES AUTHENTICATION. /// </summary> /// <param name="request">SaveToWatchlistRequest.</param> /// <returns>XDocument: WatchListResponse.</returns> public XDocument SaveListingToWatchlist(SaveToWatchlistRequest request) { var query = String.Format(Constants.Culture, "{0}/{1}{2}", Constants.MY_TRADEME, Constants.WATCHLIST, Constants.XML); return _connection.Post(request, query); }