public Response.SubscriptionPlanResponse GetSubscriptionPlans(string solutionID)
 {
     Response.SubscriptionPlanResponse response = new Response.SubscriptionPlanResponse();
     try
     {
         response = _subscriberHelper.GetSubscriptionPlans(solutionID);
     }
     catch (Exception ex)
     {
         _logger.ErrorLog(ex, this.GetType().Name, MethodBase.GetCurrentMethod().Name);
     }
     return(response);
 }
コード例 #2
0
 public Response.SubscriptionPlanResponse GetSubscriptionPlans(string solutionID)
 {
     Response.SubscriptionPlanResponse result = new Response.SubscriptionPlanResponse();
     try
     {
         result = _httpClientHelper.Get <Response.SubscriptionPlanResponse>(string.Format("{0}solution/{1}/plans?pageNo=1&pageSize=1000", apiBaseURL, solutionID), _subcriptionAccessToken);
     }
     catch (Exception ex)
     {
         _logger.ErrorLog(ex, this.GetType().Name, MethodBase.GetCurrentMethod().Name);
     }
     return(result);
 }