Skip to content
This repository was archived by the owner on Jan 12, 2021. It is now read-only.

Latest commit

 

History

History
56 lines (37 loc) · 1.46 KB

File metadata and controls

56 lines (37 loc) · 1.46 KB

SubscriptionsApi

All URIs are relative to http://localhost/

Method HTTP request Description
show GET api/v2/subscriptions/{id}.json_api Show a single Subscription

show

Subscription show(id, include)

Show a single Subscription

Example

// Import classes:
//import io.evident.EspSdk.ApiException;
//import io.evident.api.SubscriptionsApi;


SubscriptionsApi apiInstance = new SubscriptionsApi();
Integer id = 56; // Integer | Subscription ID
String include = "include_example"; // String | Related objects that can be included in the response:  organization, plan See Including Objects for more information.
try {
    Subscription result = apiInstance.show(id, include);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling SubscriptionsApi#show");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
id Integer Subscription ID
include String Related objects that can be included in the response: organization, plan See Including Objects for more information. [optional]

Return type

Subscription

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/vnd.api+json
  • Accept: application/vnd.api+json