TradeMe.Api.Client.Client.AnswerSpecificQuestion C# (CSharp) Method

AnswerSpecificQuestion() public method

Performs the Listing Method: Provide an answer for a specific question.

Serializes the given ListingAnswerQuestion into xml. Creates a query string using the parameters provided.

All the parameters are required.

REQUIRES AUTHENTICATION.
public AnswerSpecificQuestion ( ListingAnswerQuestion answerQuestion, string listingId, string questionId ) : System.Xml.Linq.XDocument
answerQuestion ListingAnswerQuestion The object that will be serialized into xml and then sent in a POST message.
listingId string The id of the listing that has the question being answered.
questionId string The id of the question being answered.
return System.Xml.Linq.XDocument
        public XDocument AnswerSpecificQuestion(ListingAnswerQuestion answerQuestion, string listingId, string questionId)
        {
            if (_listing == null)
            {
                _listing = new ListingMethods(_connection);
            }

            return _listing.AnswerSpecificQuestion(answerQuestion, listingId, questionId);
        }
Client