TradeMe.Api.Client.CatalogueMethods.GetComplaintSubjects C# (CSharp) Method

GetComplaintSubjects() public method

Performs the category method: Retrieves a list of possible complaint subjects. This is used in conjunction with the send a complaint API. GET

DOES NOT REQUIRE AUTHENTICATION.
public GetComplaintSubjects ( ) : ComplaintSubjectCollection
return ComplaintSubjectCollection
        public ComplaintSubjectCollection GetComplaintSubjects()
        {
            var url = String.Format(Constants.Culture, "{0}{1}", "ComplaintSubjects", Constants.XML);

            var getRequest = _connection.UnauthenticatedConnection(url);
            var xml = getRequest.ToString();

            return Deserializer<ComplaintSubjectCollection>.Deserialize(new ComplaintSubjectCollection(), xml);
        }