// method to get category attribute options public static CategoryAttributeOption[] Options(string apiUrl, string sessionId, object[] args) { ICategoryAttributes proxy = (ICategoryAttributes)XmlRpcProxyGen.Create(typeof(ICategoryAttributes)); proxy.Url = apiUrl; return(proxy.Options(sessionId, _catalog_category_attribute_options, args)); }
// method to get category attributes public static string CurrentStore(string apiUrl, string sessionId) { ICategoryAttributes proxy = (ICategoryAttributes)XmlRpcProxyGen.Create(typeof(ICategoryAttributes)); proxy.Url = apiUrl; return(proxy.CurrentStore(sessionId, _catalog_category_attribute_currentStore)); }
// method to list category attributes public static CategoryAttribute[] List(string apiUrl, string sessionId) { ICategoryAttributes proxy = (ICategoryAttributes)XmlRpcProxyGen.Create(typeof(ICategoryAttributes)); proxy.Url = apiUrl; return(proxy.List(sessionId, _catalog_category_attribute_list)); }