예제 #1
0
        public object GetFooterData(string secureToken, string userName)
        {
            Dictionary <string, object> param = new Dictionary <string, object>();
            APIToken token = new APIToken(_memoryCache);

            return(token.WebClientInvokerPOST("CbuilderApis/GetFooterData", param, secureToken, userName));
        }
예제 #2
0
        public object OnlineCompoSearchFilters(string secureToken, string userName)
        {
            Dictionary <string, object> dict = new Dictionary <string, object>();
            APIToken token     = new APIToken(_memoryCache);
            object   objResult = token.WebClientInvokerPOST("CbuilderApis/GetComponentCatAndTypes", dict, secureToken, userName);

            return(objResult);
        }
예제 #3
0
        public object GetCompTemplateTags(string componentName, string secureToken, string userName)
        {
            Dictionary <string, object> param = new Dictionary <string, object>
            {
                { "ComponentName", componentName }
            };
            APIToken token = new APIToken(_memoryCache);

            return(token.WebClientInvokerPOST("CbuilderApis/GetCompTemplateTags", param, secureToken, userName));
        }
예제 #4
0
        public object GetOnlineTheme(int themeID, string userName, string secureToken, string version)
        {
            Dictionary <string, object> param = new Dictionary <string, object>();

            param.Add("themeID", themeID);
            param.Add("cbuilderVersion", version);
            param.Add("userName", userName);
            APIToken token = new APIToken(_memoryCache);

            return(token.WebClientInvokerPOST("CbuilderApis/InstallThemeFile", param, secureToken, userName));
        }
예제 #5
0
        public object PaymentSuccessful(string url, string secureToken, string userName, string tranitToken, string version)
        {
            Dictionary <string, object> param = new Dictionary <string, object>
            {
                { "Url", url },
                { "Tranittoken", tranitToken },
                { "UserName", userName }
            };
            APIToken token = new APIToken(_memoryCache);

            return(token.WebClientInvokerPOST("CbuilderApis/PaymentSuccessful", param, secureToken, userName));
        }
예제 #6
0
        public object GetOnlineHelp(int offset, int limit, string searchText, string secureToken, string userName)
        {
            Dictionary <string, object> param = new Dictionary <string, object>
            {
                { "Offset", offset },
                { "Limit", limit },
                { "SearchText", searchText }
            };
            APIToken token = new APIToken(_memoryCache);

            return(token.WebClientInvokerPOST("CbuilderApis/GetOnlineWebHelp", param, secureToken, userName));
        }
예제 #7
0
        public object ReviewFromClient(ReviewEntity review, string url, string secureToken, string userName)
        {
            Dictionary <string, object> param = new Dictionary <string, object>
            {
                { "UserName", review.UserName },
                { "Password", review.Password },
                { "Review", review.Review },
                { "Url", url }
            };
            APIToken token = new APIToken(_memoryCache);

            return(token.WebClientInvokerPOST("CbuilderApis/ReviewFromClient", param, secureToken, userName));
        }
예제 #8
0
        public object GetComponentTemplate(string componentName, int offset, int limit, string searchText, string tagIDs, string secureToken, string userName)
        {
            Dictionary <string, object> param = new Dictionary <string, object>
            {
                { "Offset", offset },
                { "Limit", limit },
                { "ComponentName", componentName },
                { "SearchText", searchText },
                { "TagIDs", tagIDs }
            };
            APIToken token = new APIToken(_memoryCache);

            return(token.WebClientInvokerPOST("CbuilderApis/GetComponentTemplate", param, secureToken, userName));
        }
예제 #9
0
        public object InstallComponent(int componentID, string downloadType, decimal version, string userName, string secureToken, string systemversion)
        {
            Dictionary <string, object> param = new Dictionary <string, object>
            {
                { "ComponentID", componentID },
                { "DownloadType", downloadType },
                { "Version", version },
                { "CbuilderVersion", systemversion },
                { "UserName", userName }
            };
            APIToken token  = new APIToken(_memoryCache);
            object   result = token.WebClientInvokerPOST("CbuilderApis/InstallComponent", param, secureToken, userName);

            return(result);
        }
예제 #10
0
        public object GetInstalledComponents(int offset, int limit, string searchText, string type, string category, string applicationName, string secureToken, string userName, string version)
        {
            Dictionary <string, object> param = new Dictionary <string, object>
            {
                { "Offset", offset },
                { "Limit", limit },
                { "SearchText", searchText },
                { "Version", version },
                { "Type", type },
                { "Category", category },
                { "ApplicationName", applicationName }
            };
            APIToken token = new APIToken(_memoryCache);

            return(token.WebClientInvokerPOST("CbuilderApis/GetInstalledComponents", param, secureToken, userName));
        }
예제 #11
0
        public object GetInstalledSites(int offset, int limit, string themeName, int sectorID, int siteCategoryID, int businessTypeID, string applicationName, string authToken, string userName, string version)
        {
            Dictionary <string, object> args = new Dictionary <string, object>
            {
                { "Offset", offset },
                { "Limit", limit },
                { "ThemeName", themeName },
                { "SectorID", sectorID },
                { "SiteCategoryID", siteCategoryID },
                { "BusinessTypeID", businessTypeID },
                { "Version", version },
                { "ApplicationName", applicationName }
            };
            APIToken token = new APIToken(_memoryCache);

            return(token.WebClientInvokerPOST("CbuilderApis/GetInstalledSites", args, authToken, userName));
        }
예제 #12
0
        public object FeedBackFromClient(FeedbackDetails feedBack, string secureToken, string userName)
        {
            Dictionary <string, object> param = new Dictionary <string, object>
            {
                { "Category", feedBack.Category },
                { "Description", feedBack.Description },
                { "Domain", feedBack.Domain },
                { "EmailID", feedBack.EmailID },
                { "Keyword", feedBack.Keyword },
                { "Name", feedBack.Name },
                { "Rating", feedBack.Rating },
                { "Title", feedBack.Title },
                { "UserName", feedBack.Username }
            };
            APIToken token = new APIToken(_memoryCache);

            return(token.WebClientInvokerPOST("CbuilderApis/FeedBackFromClient", param, secureToken, userName).ToString());
        }
예제 #13
0
        public object GetRowOnlineComponents(int offset, int limit, string searchText, string type, string category, string applicationName, string secureToken, string userName, string version)
        {
            SettingHelper sfConfig                    = new SettingHelper();
            string        onlineStorePath             = sfConfig.GetSettingValueByIndividualKey(SettingKeys.OnlineStore).Result;
            Dictionary <string, object> objCollection = new Dictionary <string, object>
            {
                { "Offset", offset },
                { "Limit", limit },
                { "SearchText", searchText },
                { "Version", version },
                { "Type", type },
                { "Category", category },
                { "ApplicationName", applicationName }
            };
            APIToken objToken  = new APIToken(_memoryCache);
            object   objResult = objToken.WebClientInvokerPOST("CbuilderApis/GetRowOnlineComponents", objCollection, secureToken, userName);

            return(objResult);
        }
예제 #14
0
        public object GetUpgradeData(string userName, string secureToken)
        {
            APIToken apiToken = new APIToken(_memoryCache);

            return(apiToken.WebClientInvokerPOST("CbuilderApis/GetUpgradeData", new Dictionary <string, object>(), secureToken, userName));
        }