예제 #1
0
        public static Result<string> UpdateAccessAndBilling(string apiKey, string clientID, int accessLevel, string username, string password, string billingType, string currency, string deliveryFee, string costPerRecipient, string designAndSpamTestFee)
        {
            CampaignMonitorAPIWrapper.CampaignMonitorAPI.api _api = new CampaignMonitorAPI.api();

            object o = _api.UpdateClientAccessAndBilling(apiKey, clientID, accessLevel, username, password, billingType, currency, deliveryFee, costPerRecipient, designAndSpamTestFee);

            if (o is CampaignMonitorAPI.Result)
                return new Result<string>((CampaignMonitorAPI.Result)o, "");
            else
                return new Result<string>(0, "Success", Convert.ToString(o));
        }