private string getCurrentAttributeSystemVersion() { GetCategory2CSCall api = new GetCategory2CSCall(apiContext); api.DetailLevelList.Add(DetailLevelCodeType.ReturnSummary); return(api.GetCategory2CSVersion()); }
/// <summary> /// Get CategoryCS data by calling eBay API. Special version for fast example usage. /// </summary> /// <param name="asn">The <c>ApiContext</c> object to make API call.</param> /// <param name="categoryId">A specific category ID for which to download CategoryCS data.</param> public CategoryTypeCollection DownloadCategoryCS(ApiContext asn, string categoryId) { GetCategory2CSCall api = new GetCategory2CSCall(asn); //api.ErrorLevel = ErrorLevelEnum.BothShortAndLongErrorStrings; if (categoryId != null) { api.CategoryID = categoryId; } api.DetailLevelList.Add(DetailLevelCodeType.ReturnAll); //.DetailLevel = 1; api.Timeout = 480000; mCats = api.GetCategory2CS(); mSiteWideCharacteristicSets = api.SiteWideCharacteristicList; return(mCats); }