All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
ListSubscriptionPlans | GET /subscription-plans/ | List Subscription Plans |
List<SubscriptionPlan> ListSubscriptionPlans (PlanType? planType = null)
List Subscription Plans
using System.Collections.Generic;
using System.Diagnostics;
using PollinationSDK.Api;
using PollinationSDK.Client;
using PollinationSDK.Model;
namespace Example
{
public class ListSubscriptionPlansExample
{
public static void Main()
{
Configuration.Default.BasePath = "http://localhost";
var apiInstance = new SubscriptionPlansApi(Configuration.Default);
var planType = ; // PlanType? | Plan Type (optional)
try
{
// List Subscription Plans
List<SubscriptionPlan> result = apiInstance.ListSubscriptionPlans(planType);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling SubscriptionPlansApi.ListSubscriptionPlans: " + e.Message );
Debug.Print("Status Code: "+ e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
planType | PlanType? | Plan Type | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | Successful Response | - |
422 | Validation Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]