billabear 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/README.md +1340 -0
- data/Rakefile +8 -0
- data/billabear.gemspec +38 -0
- data/docs/Address.md +13 -0
- data/docs/BillingAdmin.md +8 -0
- data/docs/CheckoutApi.md +61 -0
- data/docs/CheckoutBody.md +12 -0
- data/docs/CheckoutItems.md +11 -0
- data/docs/CheckoutSubscriptions.md +9 -0
- data/docs/Customer.md +18 -0
- data/docs/CustomersApi.md +904 -0
- data/docs/Error.md +8 -0
- data/docs/Feature.md +10 -0
- data/docs/FrontendToken.md +7 -0
- data/docs/InlineResponse200.md +9 -0
- data/docs/InlineResponse2001.md +9 -0
- data/docs/InlineResponse20010.md +9 -0
- data/docs/InlineResponse20011.md +7 -0
- data/docs/InlineResponse20012.md +8 -0
- data/docs/InlineResponse2002.md +9 -0
- data/docs/InlineResponse2003.md +9 -0
- data/docs/InlineResponse2004.md +9 -0
- data/docs/InlineResponse2005.md +9 -0
- data/docs/InlineResponse2006.md +9 -0
- data/docs/InlineResponse2007.md +9 -0
- data/docs/InlineResponse2007Data.md +14 -0
- data/docs/InlineResponse2007Receipts.md +9 -0
- data/docs/InlineResponse2008.md +9 -0
- data/docs/InlineResponse2009.md +9 -0
- data/docs/InlineResponse201.md +15 -0
- data/docs/InlineResponse201Lines.md +14 -0
- data/docs/InlineResponse400.md +7 -0
- data/docs/Invoice.md +21 -0
- data/docs/InvoiceLines.md +12 -0
- data/docs/InvoicesApi.md +169 -0
- data/docs/IssueRefundPayment.md +9 -0
- data/docs/Limit.md +8 -0
- data/docs/PaymentDetails.md +14 -0
- data/docs/PaymentDetailsApi.md +447 -0
- data/docs/PaymentsApi.md +399 -0
- data/docs/Price.md +14 -0
- data/docs/PricesApi.md +122 -0
- data/docs/Product.md +10 -0
- data/docs/ProductTaxType.md +9 -0
- data/docs/ProductsApi.md +228 -0
- data/docs/ReceiptApi.md +61 -0
- data/docs/Refund.md +16 -0
- data/docs/RefundsApi.md +181 -0
- data/docs/SeatsAddBody.md +7 -0
- data/docs/SeatsRemoveBody.md +7 -0
- data/docs/Subscription.md +18 -0
- data/docs/SubscriptionIdCancelBody.md +10 -0
- data/docs/SubscriptionIdExtendBody.md +7 -0
- data/docs/SubscriptionIdPlanBody.md +9 -0
- data/docs/SubscriptionIdPriceBody.md +8 -0
- data/docs/SubscriptionPlan.md +20 -0
- data/docs/SubscriptionStartBody.md +14 -0
- data/docs/SubscriptionTrialBody.md +10 -0
- data/docs/SubscriptionsApi.md +731 -0
- data/docs/VoucherCode.md +7 -0
- data/git_push.sh +55 -0
- data/lib/swagger_client/api/checkout_api.rb +78 -0
- data/lib/swagger_client/api/customers_api.rb +980 -0
- data/lib/swagger_client/api/invoices_api.rb +188 -0
- data/lib/swagger_client/api/payment_details_api.rb +494 -0
- data/lib/swagger_client/api/payments_api.rb +432 -0
- data/lib/swagger_client/api/prices_api.rb +146 -0
- data/lib/swagger_client/api/products_api.rb +249 -0
- data/lib/swagger_client/api/receipt_api.rb +76 -0
- data/lib/swagger_client/api/refunds_api.rb +200 -0
- data/lib/swagger_client/api/subscriptions_api.rb +812 -0
- data/lib/swagger_client/api_client.rb +388 -0
- data/lib/swagger_client/api_error.rb +57 -0
- data/lib/swagger_client/configuration.rb +205 -0
- data/lib/swagger_client/models/address.rb +265 -0
- data/lib/swagger_client/models/billing_admin.rb +215 -0
- data/lib/swagger_client/models/checkout_body.rb +265 -0
- data/lib/swagger_client/models/checkout_items.rb +242 -0
- data/lib/swagger_client/models/checkout_subscriptions.rb +224 -0
- data/lib/swagger_client/models/customer.rb +370 -0
- data/lib/swagger_client/models/error.rb +225 -0
- data/lib/swagger_client/models/feature.rb +240 -0
- data/lib/swagger_client/models/frontend_token.rb +211 -0
- data/lib/swagger_client/models/inline_response_200.rb +226 -0
- data/lib/swagger_client/models/inline_response_200_1.rb +228 -0
- data/lib/swagger_client/models/inline_response_200_10.rb +226 -0
- data/lib/swagger_client/models/inline_response_200_11.rb +206 -0
- data/lib/swagger_client/models/inline_response_200_12.rb +250 -0
- data/lib/swagger_client/models/inline_response_200_2.rb +226 -0
- data/lib/swagger_client/models/inline_response_200_3.rb +226 -0
- data/lib/swagger_client/models/inline_response_200_4.rb +226 -0
- data/lib/swagger_client/models/inline_response_200_5.rb +226 -0
- data/lib/swagger_client/models/inline_response_200_6.rb +226 -0
- data/lib/swagger_client/models/inline_response_200_7.rb +226 -0
- data/lib/swagger_client/models/inline_response_200_7_data.rb +307 -0
- data/lib/swagger_client/models/inline_response_200_7_receipts.rb +224 -0
- data/lib/swagger_client/models/inline_response_200_8.rb +226 -0
- data/lib/swagger_client/models/inline_response_200_9.rb +226 -0
- data/lib/swagger_client/models/inline_response_201.rb +285 -0
- data/lib/swagger_client/models/inline_response_201_lines.rb +269 -0
- data/lib/swagger_client/models/inline_response_400.rb +213 -0
- data/lib/swagger_client/models/invoice.rb +334 -0
- data/lib/swagger_client/models/invoice_lines.rb +251 -0
- data/lib/swagger_client/models/issue_refund_payment.rb +232 -0
- data/lib/swagger_client/models/limit.rb +215 -0
- data/lib/swagger_client/models/payment_details.rb +271 -0
- data/lib/swagger_client/models/price.rb +325 -0
- data/lib/swagger_client/models/product.rb +240 -0
- data/lib/swagger_client/models/product_tax_type.rb +229 -0
- data/lib/swagger_client/models/refund.rb +324 -0
- data/lib/swagger_client/models/seats_add_body.rb +211 -0
- data/lib/swagger_client/models/seats_remove_body.rb +211 -0
- data/lib/swagger_client/models/subscription.rb +305 -0
- data/lib/swagger_client/models/subscription_id_cancel_body.rb +294 -0
- data/lib/swagger_client/models/subscription_id_extend_body.rb +211 -0
- data/lib/swagger_client/models/subscription_id_plan_body.rb +270 -0
- data/lib/swagger_client/models/subscription_id_price_body.rb +259 -0
- data/lib/swagger_client/models/subscription_plan.rb +330 -0
- data/lib/swagger_client/models/subscription_start_body.rb +314 -0
- data/lib/swagger_client/models/subscription_trial_body.rb +242 -0
- data/lib/swagger_client/models/voucher_code.rb +211 -0
- data/lib/swagger_client/version.rb +14 -0
- data/lib/swagger_client.rb +95 -0
- data/spec/api/checkout_api_spec.rb +46 -0
- data/spec/api/customers_api_spec.rb +241 -0
- data/spec/api/invoices_api_spec.rb +70 -0
- data/spec/api/payment_details_api_spec.rb +134 -0
- data/spec/api/payments_api_spec.rb +124 -0
- data/spec/api/prices_api_spec.rb +61 -0
- data/spec/api/products_api_spec.rb +84 -0
- data/spec/api/receipt_api_spec.rb +46 -0
- data/spec/api/refunds_api_spec.rb +75 -0
- data/spec/api/subscriptions_api_spec.rb +200 -0
- data/spec/api_client_spec.rb +225 -0
- data/spec/base_object_spec.rb +109 -0
- data/spec/configuration_spec.rb +41 -0
- data/spec/models/address_spec.rb +76 -0
- data/spec/models/billing_admin_spec.rb +46 -0
- data/spec/models/checkout_body_spec.rb +70 -0
- data/spec/models/checkout_items_spec.rb +64 -0
- data/spec/models/checkout_subscriptions_spec.rb +52 -0
- data/spec/models/customer_spec.rb +114 -0
- data/spec/models/error_spec.rb +46 -0
- data/spec/models/feature_spec.rb +58 -0
- data/spec/models/frontend_token_spec.rb +40 -0
- data/spec/models/inline_response_200_10_spec.rb +52 -0
- data/spec/models/inline_response_200_11_spec.rb +40 -0
- data/spec/models/inline_response_200_12_spec.rb +50 -0
- data/spec/models/inline_response_200_1_spec.rb +52 -0
- data/spec/models/inline_response_200_2_spec.rb +52 -0
- data/spec/models/inline_response_200_3_spec.rb +52 -0
- data/spec/models/inline_response_200_4_spec.rb +52 -0
- data/spec/models/inline_response_200_5_spec.rb +52 -0
- data/spec/models/inline_response_200_6_spec.rb +52 -0
- data/spec/models/inline_response_200_7_data_spec.rb +86 -0
- data/spec/models/inline_response_200_7_receipts_spec.rb +52 -0
- data/spec/models/inline_response_200_7_spec.rb +52 -0
- data/spec/models/inline_response_200_8_spec.rb +52 -0
- data/spec/models/inline_response_200_9_spec.rb +52 -0
- data/spec/models/inline_response_200_spec.rb +52 -0
- data/spec/models/inline_response_201_lines_spec.rb +82 -0
- data/spec/models/inline_response_201_spec.rb +88 -0
- data/spec/models/inline_response_400_spec.rb +40 -0
- data/spec/models/invoice_lines_spec.rb +70 -0
- data/spec/models/invoice_spec.rb +124 -0
- data/spec/models/issue_refund_payment_spec.rb +52 -0
- data/spec/models/limit_spec.rb +46 -0
- data/spec/models/payment_details_spec.rb +82 -0
- data/spec/models/price_spec.rb +86 -0
- data/spec/models/product_spec.rb +58 -0
- data/spec/models/product_tax_type_spec.rb +52 -0
- data/spec/models/refund_spec.rb +98 -0
- data/spec/models/seats_add_body_spec.rb +40 -0
- data/spec/models/seats_remove_body_spec.rb +40 -0
- data/spec/models/subscription_id_cancel_body_spec.rb +66 -0
- data/spec/models/subscription_id_extend_body_spec.rb +40 -0
- data/spec/models/subscription_id_plan_body_spec.rb +56 -0
- data/spec/models/subscription_id_price_body_spec.rb +50 -0
- data/spec/models/subscription_plan_spec.rb +118 -0
- data/spec/models/subscription_spec.rb +106 -0
- data/spec/models/subscription_start_body_spec.rb +86 -0
- data/spec/models/subscription_trial_body_spec.rb +58 -0
- data/spec/models/voucher_code_spec.rb +40 -0
- data/spec/spec_helper.rb +110 -0
- metadata +349 -0
|
@@ -0,0 +1,731 @@
|
|
|
1
|
+
# SwaggerClient::SubscriptionsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://{customerId}.billabear.cloud/api/v1*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**add_seats_subscriptions**](SubscriptionsApi.md#add_seats_subscriptions) | **POST** /subscription/{subscriptionId}/seats/add | Add Seats
|
|
8
|
+
[**cancel_subscription**](SubscriptionsApi.md#cancel_subscription) | **POST** /subscription/{subscriptionId}/cancel | Cancel Subscription
|
|
9
|
+
[**change_subscription_price**](SubscriptionsApi.md#change_subscription_price) | **POST** /subscription/{subscriptionId}/price | Change Price
|
|
10
|
+
[**create_subscription**](SubscriptionsApi.md#create_subscription) | **POST** /customer/{customerId}/subscription/start | Create Subscription
|
|
11
|
+
[**customer_change_subscription_plan**](SubscriptionsApi.md#customer_change_subscription_plan) | **POST** /subscription/{subscriptionId}/plan | Change Subscription Plan
|
|
12
|
+
[**extend_trial**](SubscriptionsApi.md#extend_trial) | **POST** /subscription/{subscriptionId}/extend | Extend Trial Subscription
|
|
13
|
+
[**get_active_for_customer**](SubscriptionsApi.md#get_active_for_customer) | **GET** /customer/{customerId}/subscription/active | List Customer Active Subscriptions
|
|
14
|
+
[**get_for_customer**](SubscriptionsApi.md#get_for_customer) | **GET** /customer/{customerId}/subscription | List Customer Subscriptions
|
|
15
|
+
[**list_subscription_plans**](SubscriptionsApi.md#list_subscription_plans) | **GET** /subscription/plans | List Subscription Plans
|
|
16
|
+
[**list_subscriptions**](SubscriptionsApi.md#list_subscriptions) | **GET** /subscription | List
|
|
17
|
+
[**remove_seats_subscriptions**](SubscriptionsApi.md#remove_seats_subscriptions) | **POST** /subscription/{subscriptionId}/seats/remove | Remove Seats
|
|
18
|
+
[**show_subscription_by_id**](SubscriptionsApi.md#show_subscription_by_id) | **GET** /subscription/{subscriptionId} | Detail
|
|
19
|
+
[**start_trial**](SubscriptionsApi.md#start_trial) | **POST** /customer/{customerId}/subscription/trial | Start Trial Subscription For Customer
|
|
20
|
+
|
|
21
|
+
# **add_seats_subscriptions**
|
|
22
|
+
> InlineResponse20011 add_seats_subscriptions(bodysubscription_id)
|
|
23
|
+
|
|
24
|
+
Add Seats
|
|
25
|
+
|
|
26
|
+
Adds seats to a per seat subscription<br><br><strong>Since 1.1.4</strong>
|
|
27
|
+
|
|
28
|
+
### Example
|
|
29
|
+
```ruby
|
|
30
|
+
# load the gem
|
|
31
|
+
require 'swagger_client'
|
|
32
|
+
# setup authorization
|
|
33
|
+
SwaggerClient.configure do |config|
|
|
34
|
+
# Configure API key authorization: ApiKeyAuth
|
|
35
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
36
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
37
|
+
#config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
api_instance = SwaggerClient::SubscriptionsApi.new
|
|
41
|
+
body = SwaggerClient::SeatsAddBody.new # SeatsAddBody |
|
|
42
|
+
subscription_id = 'subscription_id_example' # String | The id of the subscription to retrieve
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
begin
|
|
46
|
+
#Add Seats
|
|
47
|
+
result = api_instance.add_seats_subscriptions(bodysubscription_id)
|
|
48
|
+
p result
|
|
49
|
+
rescue SwaggerClient::ApiError => e
|
|
50
|
+
puts "Exception when calling SubscriptionsApi->add_seats_subscriptions: #{e}"
|
|
51
|
+
end
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
### Parameters
|
|
55
|
+
|
|
56
|
+
Name | Type | Description | Notes
|
|
57
|
+
------------- | ------------- | ------------- | -------------
|
|
58
|
+
**body** | [**SeatsAddBody**](SeatsAddBody.md)| |
|
|
59
|
+
**subscription_id** | **String**| The id of the subscription to retrieve |
|
|
60
|
+
|
|
61
|
+
### Return type
|
|
62
|
+
|
|
63
|
+
[**InlineResponse20011**](InlineResponse20011.md)
|
|
64
|
+
|
|
65
|
+
### Authorization
|
|
66
|
+
|
|
67
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
68
|
+
|
|
69
|
+
### HTTP request headers
|
|
70
|
+
|
|
71
|
+
- **Content-Type**: application/json
|
|
72
|
+
- **Accept**: application/json
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
# **cancel_subscription**
|
|
77
|
+
> String cancel_subscription(bodysubscription_id)
|
|
78
|
+
|
|
79
|
+
Cancel Subscription
|
|
80
|
+
|
|
81
|
+
Info for a specific subscription
|
|
82
|
+
|
|
83
|
+
### Example
|
|
84
|
+
```ruby
|
|
85
|
+
# load the gem
|
|
86
|
+
require 'swagger_client'
|
|
87
|
+
# setup authorization
|
|
88
|
+
SwaggerClient.configure do |config|
|
|
89
|
+
# Configure API key authorization: ApiKeyAuth
|
|
90
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
91
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
92
|
+
#config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
api_instance = SwaggerClient::SubscriptionsApi.new
|
|
96
|
+
body = SwaggerClient::SubscriptionIdCancelBody.new # SubscriptionIdCancelBody |
|
|
97
|
+
subscription_id = 'subscription_id_example' # String | The id of the subscription to retrieve
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
begin
|
|
101
|
+
#Cancel Subscription
|
|
102
|
+
result = api_instance.cancel_subscription(bodysubscription_id)
|
|
103
|
+
p result
|
|
104
|
+
rescue SwaggerClient::ApiError => e
|
|
105
|
+
puts "Exception when calling SubscriptionsApi->cancel_subscription: #{e}"
|
|
106
|
+
end
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
### Parameters
|
|
110
|
+
|
|
111
|
+
Name | Type | Description | Notes
|
|
112
|
+
------------- | ------------- | ------------- | -------------
|
|
113
|
+
**body** | [**SubscriptionIdCancelBody**](SubscriptionIdCancelBody.md)| |
|
|
114
|
+
**subscription_id** | **String**| The id of the subscription to retrieve |
|
|
115
|
+
|
|
116
|
+
### Return type
|
|
117
|
+
|
|
118
|
+
**String**
|
|
119
|
+
|
|
120
|
+
### Authorization
|
|
121
|
+
|
|
122
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
123
|
+
|
|
124
|
+
### HTTP request headers
|
|
125
|
+
|
|
126
|
+
- **Content-Type**: application/json
|
|
127
|
+
- **Accept**: application/json
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
# **change_subscription_price**
|
|
132
|
+
> InlineResponse20011 change_subscription_price(bodysubscription_id)
|
|
133
|
+
|
|
134
|
+
Change Price
|
|
135
|
+
|
|
136
|
+
Changes the price being used for a price. Useful for changing pricing schedule or just price.
|
|
137
|
+
|
|
138
|
+
### Example
|
|
139
|
+
```ruby
|
|
140
|
+
# load the gem
|
|
141
|
+
require 'swagger_client'
|
|
142
|
+
# setup authorization
|
|
143
|
+
SwaggerClient.configure do |config|
|
|
144
|
+
# Configure API key authorization: ApiKeyAuth
|
|
145
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
146
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
147
|
+
#config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
api_instance = SwaggerClient::SubscriptionsApi.new
|
|
151
|
+
body = SwaggerClient::SubscriptionIdPriceBody.new # SubscriptionIdPriceBody |
|
|
152
|
+
subscription_id = 'subscription_id_example' # String | The id of the subscription to retrieve
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
begin
|
|
156
|
+
#Change Price
|
|
157
|
+
result = api_instance.change_subscription_price(bodysubscription_id)
|
|
158
|
+
p result
|
|
159
|
+
rescue SwaggerClient::ApiError => e
|
|
160
|
+
puts "Exception when calling SubscriptionsApi->change_subscription_price: #{e}"
|
|
161
|
+
end
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
### Parameters
|
|
165
|
+
|
|
166
|
+
Name | Type | Description | Notes
|
|
167
|
+
------------- | ------------- | ------------- | -------------
|
|
168
|
+
**body** | [**SubscriptionIdPriceBody**](SubscriptionIdPriceBody.md)| |
|
|
169
|
+
**subscription_id** | **String**| The id of the subscription to retrieve |
|
|
170
|
+
|
|
171
|
+
### Return type
|
|
172
|
+
|
|
173
|
+
[**InlineResponse20011**](InlineResponse20011.md)
|
|
174
|
+
|
|
175
|
+
### Authorization
|
|
176
|
+
|
|
177
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
178
|
+
|
|
179
|
+
### HTTP request headers
|
|
180
|
+
|
|
181
|
+
- **Content-Type**: application/json
|
|
182
|
+
- **Accept**: application/json
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
# **create_subscription**
|
|
187
|
+
> Subscription create_subscription(bodycustomer_id)
|
|
188
|
+
|
|
189
|
+
Create Subscription
|
|
190
|
+
|
|
191
|
+
Create subscription for a customer
|
|
192
|
+
|
|
193
|
+
### Example
|
|
194
|
+
```ruby
|
|
195
|
+
# load the gem
|
|
196
|
+
require 'swagger_client'
|
|
197
|
+
# setup authorization
|
|
198
|
+
SwaggerClient.configure do |config|
|
|
199
|
+
# Configure API key authorization: ApiKeyAuth
|
|
200
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
201
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
202
|
+
#config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
api_instance = SwaggerClient::SubscriptionsApi.new
|
|
206
|
+
body = SwaggerClient::SubscriptionStartBody.new # SubscriptionStartBody |
|
|
207
|
+
customer_id = 'customer_id_example' # String | The id of the customer to retrieve
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
begin
|
|
211
|
+
#Create Subscription
|
|
212
|
+
result = api_instance.create_subscription(bodycustomer_id)
|
|
213
|
+
p result
|
|
214
|
+
rescue SwaggerClient::ApiError => e
|
|
215
|
+
puts "Exception when calling SubscriptionsApi->create_subscription: #{e}"
|
|
216
|
+
end
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
### Parameters
|
|
220
|
+
|
|
221
|
+
Name | Type | Description | Notes
|
|
222
|
+
------------- | ------------- | ------------- | -------------
|
|
223
|
+
**body** | [**SubscriptionStartBody**](SubscriptionStartBody.md)| |
|
|
224
|
+
**customer_id** | **String**| The id of the customer to retrieve |
|
|
225
|
+
|
|
226
|
+
### Return type
|
|
227
|
+
|
|
228
|
+
[**Subscription**](Subscription.md)
|
|
229
|
+
|
|
230
|
+
### Authorization
|
|
231
|
+
|
|
232
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
233
|
+
|
|
234
|
+
### HTTP request headers
|
|
235
|
+
|
|
236
|
+
- **Content-Type**: application/json
|
|
237
|
+
- **Accept**: application/json
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
# **customer_change_subscription_plan**
|
|
242
|
+
> Subscription customer_change_subscription_plan(bodysubscription_id)
|
|
243
|
+
|
|
244
|
+
Change Subscription Plan
|
|
245
|
+
|
|
246
|
+
Change the subscription plan for a customer
|
|
247
|
+
|
|
248
|
+
### Example
|
|
249
|
+
```ruby
|
|
250
|
+
# load the gem
|
|
251
|
+
require 'swagger_client'
|
|
252
|
+
# setup authorization
|
|
253
|
+
SwaggerClient.configure do |config|
|
|
254
|
+
# Configure API key authorization: ApiKeyAuth
|
|
255
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
256
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
257
|
+
#config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
api_instance = SwaggerClient::SubscriptionsApi.new
|
|
261
|
+
body = SwaggerClient::SubscriptionIdPlanBody.new # SubscriptionIdPlanBody |
|
|
262
|
+
subscription_id = 'subscription_id_example' # String | The id of the subscription to retrieve
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
begin
|
|
266
|
+
#Change Subscription Plan
|
|
267
|
+
result = api_instance.customer_change_subscription_plan(bodysubscription_id)
|
|
268
|
+
p result
|
|
269
|
+
rescue SwaggerClient::ApiError => e
|
|
270
|
+
puts "Exception when calling SubscriptionsApi->customer_change_subscription_plan: #{e}"
|
|
271
|
+
end
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
### Parameters
|
|
275
|
+
|
|
276
|
+
Name | Type | Description | Notes
|
|
277
|
+
------------- | ------------- | ------------- | -------------
|
|
278
|
+
**body** | [**SubscriptionIdPlanBody**](SubscriptionIdPlanBody.md)| |
|
|
279
|
+
**subscription_id** | **String**| The id of the subscription to retrieve |
|
|
280
|
+
|
|
281
|
+
### Return type
|
|
282
|
+
|
|
283
|
+
[**Subscription**](Subscription.md)
|
|
284
|
+
|
|
285
|
+
### Authorization
|
|
286
|
+
|
|
287
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
288
|
+
|
|
289
|
+
### HTTP request headers
|
|
290
|
+
|
|
291
|
+
- **Content-Type**: application/json
|
|
292
|
+
- **Accept**: application/json
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
# **extend_trial**
|
|
297
|
+
> Subscription extend_trial(bodysubscription_id)
|
|
298
|
+
|
|
299
|
+
Extend Trial Subscription
|
|
300
|
+
|
|
301
|
+
Extend a trial subscription so it's converted from a trial to a normal subscription.
|
|
302
|
+
|
|
303
|
+
### Example
|
|
304
|
+
```ruby
|
|
305
|
+
# load the gem
|
|
306
|
+
require 'swagger_client'
|
|
307
|
+
# setup authorization
|
|
308
|
+
SwaggerClient.configure do |config|
|
|
309
|
+
# Configure API key authorization: ApiKeyAuth
|
|
310
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
311
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
312
|
+
#config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
313
|
+
end
|
|
314
|
+
|
|
315
|
+
api_instance = SwaggerClient::SubscriptionsApi.new
|
|
316
|
+
body = SwaggerClient::SubscriptionIdExtendBody.new # SubscriptionIdExtendBody |
|
|
317
|
+
subscription_id = 'subscription_id_example' # String | The id of the subscription to retrieve
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
begin
|
|
321
|
+
#Extend Trial Subscription
|
|
322
|
+
result = api_instance.extend_trial(bodysubscription_id)
|
|
323
|
+
p result
|
|
324
|
+
rescue SwaggerClient::ApiError => e
|
|
325
|
+
puts "Exception when calling SubscriptionsApi->extend_trial: #{e}"
|
|
326
|
+
end
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
### Parameters
|
|
330
|
+
|
|
331
|
+
Name | Type | Description | Notes
|
|
332
|
+
------------- | ------------- | ------------- | -------------
|
|
333
|
+
**body** | [**SubscriptionIdExtendBody**](SubscriptionIdExtendBody.md)| |
|
|
334
|
+
**subscription_id** | **String**| The id of the subscription to retrieve |
|
|
335
|
+
|
|
336
|
+
### Return type
|
|
337
|
+
|
|
338
|
+
[**Subscription**](Subscription.md)
|
|
339
|
+
|
|
340
|
+
### Authorization
|
|
341
|
+
|
|
342
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
343
|
+
|
|
344
|
+
### HTTP request headers
|
|
345
|
+
|
|
346
|
+
- **Content-Type**: application/json
|
|
347
|
+
- **Accept**: application/json
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
# **get_active_for_customer**
|
|
352
|
+
> InlineResponse2006 get_active_for_customer(customer_id)
|
|
353
|
+
|
|
354
|
+
List Customer Active Subscriptions
|
|
355
|
+
|
|
356
|
+
List all Active customer subscriptions
|
|
357
|
+
|
|
358
|
+
### Example
|
|
359
|
+
```ruby
|
|
360
|
+
# load the gem
|
|
361
|
+
require 'swagger_client'
|
|
362
|
+
# setup authorization
|
|
363
|
+
SwaggerClient.configure do |config|
|
|
364
|
+
# Configure API key authorization: ApiKeyAuth
|
|
365
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
366
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
367
|
+
#config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
368
|
+
end
|
|
369
|
+
|
|
370
|
+
api_instance = SwaggerClient::SubscriptionsApi.new
|
|
371
|
+
customer_id = 'customer_id_example' # String | The id of the customer to retrieve
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
begin
|
|
375
|
+
#List Customer Active Subscriptions
|
|
376
|
+
result = api_instance.get_active_for_customer(customer_id)
|
|
377
|
+
p result
|
|
378
|
+
rescue SwaggerClient::ApiError => e
|
|
379
|
+
puts "Exception when calling SubscriptionsApi->get_active_for_customer: #{e}"
|
|
380
|
+
end
|
|
381
|
+
```
|
|
382
|
+
|
|
383
|
+
### Parameters
|
|
384
|
+
|
|
385
|
+
Name | Type | Description | Notes
|
|
386
|
+
------------- | ------------- | ------------- | -------------
|
|
387
|
+
**customer_id** | **String**| The id of the customer to retrieve |
|
|
388
|
+
|
|
389
|
+
### Return type
|
|
390
|
+
|
|
391
|
+
[**InlineResponse2006**](InlineResponse2006.md)
|
|
392
|
+
|
|
393
|
+
### Authorization
|
|
394
|
+
|
|
395
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
396
|
+
|
|
397
|
+
### HTTP request headers
|
|
398
|
+
|
|
399
|
+
- **Content-Type**: Not defined
|
|
400
|
+
- **Accept**: application/json
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
# **get_for_customer**
|
|
405
|
+
> InlineResponse2006 get_for_customer(customer_id)
|
|
406
|
+
|
|
407
|
+
List Customer Subscriptions
|
|
408
|
+
|
|
409
|
+
List all customer subscriptions<br><br><strong>Since 1.1</strong>
|
|
410
|
+
|
|
411
|
+
### Example
|
|
412
|
+
```ruby
|
|
413
|
+
# load the gem
|
|
414
|
+
require 'swagger_client'
|
|
415
|
+
# setup authorization
|
|
416
|
+
SwaggerClient.configure do |config|
|
|
417
|
+
# Configure API key authorization: ApiKeyAuth
|
|
418
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
419
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
420
|
+
#config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
421
|
+
end
|
|
422
|
+
|
|
423
|
+
api_instance = SwaggerClient::SubscriptionsApi.new
|
|
424
|
+
customer_id = 'customer_id_example' # String | The id of the customer to retrieve
|
|
425
|
+
|
|
426
|
+
|
|
427
|
+
begin
|
|
428
|
+
#List Customer Subscriptions
|
|
429
|
+
result = api_instance.get_for_customer(customer_id)
|
|
430
|
+
p result
|
|
431
|
+
rescue SwaggerClient::ApiError => e
|
|
432
|
+
puts "Exception when calling SubscriptionsApi->get_for_customer: #{e}"
|
|
433
|
+
end
|
|
434
|
+
```
|
|
435
|
+
|
|
436
|
+
### Parameters
|
|
437
|
+
|
|
438
|
+
Name | Type | Description | Notes
|
|
439
|
+
------------- | ------------- | ------------- | -------------
|
|
440
|
+
**customer_id** | **String**| The id of the customer to retrieve |
|
|
441
|
+
|
|
442
|
+
### Return type
|
|
443
|
+
|
|
444
|
+
[**InlineResponse2006**](InlineResponse2006.md)
|
|
445
|
+
|
|
446
|
+
### Authorization
|
|
447
|
+
|
|
448
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
449
|
+
|
|
450
|
+
### HTTP request headers
|
|
451
|
+
|
|
452
|
+
- **Content-Type**: Not defined
|
|
453
|
+
- **Accept**: application/json
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
# **list_subscription_plans**
|
|
458
|
+
> InlineResponse20010 list_subscription_plans(opts)
|
|
459
|
+
|
|
460
|
+
List Subscription Plans
|
|
461
|
+
|
|
462
|
+
List all subscriptions plans
|
|
463
|
+
|
|
464
|
+
### Example
|
|
465
|
+
```ruby
|
|
466
|
+
# load the gem
|
|
467
|
+
require 'swagger_client'
|
|
468
|
+
# setup authorization
|
|
469
|
+
SwaggerClient.configure do |config|
|
|
470
|
+
# Configure API key authorization: ApiKeyAuth
|
|
471
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
472
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
473
|
+
#config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
474
|
+
end
|
|
475
|
+
|
|
476
|
+
api_instance = SwaggerClient::SubscriptionsApi.new
|
|
477
|
+
opts = {
|
|
478
|
+
limit: 56, # Integer | How many items to return at one time (max 100)
|
|
479
|
+
last_key: 'last_key_example' # String | The key to be used in pagination to say what the last key of the previous page was
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
begin
|
|
483
|
+
#List Subscription Plans
|
|
484
|
+
result = api_instance.list_subscription_plans(opts)
|
|
485
|
+
p result
|
|
486
|
+
rescue SwaggerClient::ApiError => e
|
|
487
|
+
puts "Exception when calling SubscriptionsApi->list_subscription_plans: #{e}"
|
|
488
|
+
end
|
|
489
|
+
```
|
|
490
|
+
|
|
491
|
+
### Parameters
|
|
492
|
+
|
|
493
|
+
Name | Type | Description | Notes
|
|
494
|
+
------------- | ------------- | ------------- | -------------
|
|
495
|
+
**limit** | **Integer**| How many items to return at one time (max 100) | [optional]
|
|
496
|
+
**last_key** | **String**| The key to be used in pagination to say what the last key of the previous page was | [optional]
|
|
497
|
+
|
|
498
|
+
### Return type
|
|
499
|
+
|
|
500
|
+
[**InlineResponse20010**](InlineResponse20010.md)
|
|
501
|
+
|
|
502
|
+
### Authorization
|
|
503
|
+
|
|
504
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
505
|
+
|
|
506
|
+
### HTTP request headers
|
|
507
|
+
|
|
508
|
+
- **Content-Type**: Not defined
|
|
509
|
+
- **Accept**: application/json
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
# **list_subscriptions**
|
|
514
|
+
> InlineResponse2006 list_subscriptions(opts)
|
|
515
|
+
|
|
516
|
+
List
|
|
517
|
+
|
|
518
|
+
List all subscriptions
|
|
519
|
+
|
|
520
|
+
### Example
|
|
521
|
+
```ruby
|
|
522
|
+
# load the gem
|
|
523
|
+
require 'swagger_client'
|
|
524
|
+
# setup authorization
|
|
525
|
+
SwaggerClient.configure do |config|
|
|
526
|
+
# Configure API key authorization: ApiKeyAuth
|
|
527
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
528
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
529
|
+
#config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
530
|
+
end
|
|
531
|
+
|
|
532
|
+
api_instance = SwaggerClient::SubscriptionsApi.new
|
|
533
|
+
opts = {
|
|
534
|
+
limit: 56, # Integer | How many items to return at one time (max 100)
|
|
535
|
+
last_key: 'last_key_example' # String | The key to be used in pagination to say what the last key of the previous page was
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
begin
|
|
539
|
+
#List
|
|
540
|
+
result = api_instance.list_subscriptions(opts)
|
|
541
|
+
p result
|
|
542
|
+
rescue SwaggerClient::ApiError => e
|
|
543
|
+
puts "Exception when calling SubscriptionsApi->list_subscriptions: #{e}"
|
|
544
|
+
end
|
|
545
|
+
```
|
|
546
|
+
|
|
547
|
+
### Parameters
|
|
548
|
+
|
|
549
|
+
Name | Type | Description | Notes
|
|
550
|
+
------------- | ------------- | ------------- | -------------
|
|
551
|
+
**limit** | **Integer**| How many items to return at one time (max 100) | [optional]
|
|
552
|
+
**last_key** | **String**| The key to be used in pagination to say what the last key of the previous page was | [optional]
|
|
553
|
+
|
|
554
|
+
### Return type
|
|
555
|
+
|
|
556
|
+
[**InlineResponse2006**](InlineResponse2006.md)
|
|
557
|
+
|
|
558
|
+
### Authorization
|
|
559
|
+
|
|
560
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
561
|
+
|
|
562
|
+
### HTTP request headers
|
|
563
|
+
|
|
564
|
+
- **Content-Type**: Not defined
|
|
565
|
+
- **Accept**: application/json
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
# **remove_seats_subscriptions**
|
|
570
|
+
> InlineResponse20011 remove_seats_subscriptions(bodysubscription_id)
|
|
571
|
+
|
|
572
|
+
Remove Seats
|
|
573
|
+
|
|
574
|
+
Remove seats to a per seat subscription<br><br><strong>Since 1.1.4</strong>
|
|
575
|
+
|
|
576
|
+
### Example
|
|
577
|
+
```ruby
|
|
578
|
+
# load the gem
|
|
579
|
+
require 'swagger_client'
|
|
580
|
+
# setup authorization
|
|
581
|
+
SwaggerClient.configure do |config|
|
|
582
|
+
# Configure API key authorization: ApiKeyAuth
|
|
583
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
584
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
585
|
+
#config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
586
|
+
end
|
|
587
|
+
|
|
588
|
+
api_instance = SwaggerClient::SubscriptionsApi.new
|
|
589
|
+
body = SwaggerClient::SeatsRemoveBody.new # SeatsRemoveBody |
|
|
590
|
+
subscription_id = 'subscription_id_example' # String | The id of the subscription to retrieve
|
|
591
|
+
|
|
592
|
+
|
|
593
|
+
begin
|
|
594
|
+
#Remove Seats
|
|
595
|
+
result = api_instance.remove_seats_subscriptions(bodysubscription_id)
|
|
596
|
+
p result
|
|
597
|
+
rescue SwaggerClient::ApiError => e
|
|
598
|
+
puts "Exception when calling SubscriptionsApi->remove_seats_subscriptions: #{e}"
|
|
599
|
+
end
|
|
600
|
+
```
|
|
601
|
+
|
|
602
|
+
### Parameters
|
|
603
|
+
|
|
604
|
+
Name | Type | Description | Notes
|
|
605
|
+
------------- | ------------- | ------------- | -------------
|
|
606
|
+
**body** | [**SeatsRemoveBody**](SeatsRemoveBody.md)| |
|
|
607
|
+
**subscription_id** | **String**| The id of the subscription to retrieve |
|
|
608
|
+
|
|
609
|
+
### Return type
|
|
610
|
+
|
|
611
|
+
[**InlineResponse20011**](InlineResponse20011.md)
|
|
612
|
+
|
|
613
|
+
### Authorization
|
|
614
|
+
|
|
615
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
616
|
+
|
|
617
|
+
### HTTP request headers
|
|
618
|
+
|
|
619
|
+
- **Content-Type**: application/json
|
|
620
|
+
- **Accept**: application/json
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
# **show_subscription_by_id**
|
|
625
|
+
> Subscription show_subscription_by_id(subscription_id)
|
|
626
|
+
|
|
627
|
+
Detail
|
|
628
|
+
|
|
629
|
+
Info for a specific subscription
|
|
630
|
+
|
|
631
|
+
### Example
|
|
632
|
+
```ruby
|
|
633
|
+
# load the gem
|
|
634
|
+
require 'swagger_client'
|
|
635
|
+
# setup authorization
|
|
636
|
+
SwaggerClient.configure do |config|
|
|
637
|
+
# Configure API key authorization: ApiKeyAuth
|
|
638
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
639
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
640
|
+
#config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
641
|
+
end
|
|
642
|
+
|
|
643
|
+
api_instance = SwaggerClient::SubscriptionsApi.new
|
|
644
|
+
subscription_id = 'subscription_id_example' # String | The id of the subscription to retrieve
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
begin
|
|
648
|
+
#Detail
|
|
649
|
+
result = api_instance.show_subscription_by_id(subscription_id)
|
|
650
|
+
p result
|
|
651
|
+
rescue SwaggerClient::ApiError => e
|
|
652
|
+
puts "Exception when calling SubscriptionsApi->show_subscription_by_id: #{e}"
|
|
653
|
+
end
|
|
654
|
+
```
|
|
655
|
+
|
|
656
|
+
### Parameters
|
|
657
|
+
|
|
658
|
+
Name | Type | Description | Notes
|
|
659
|
+
------------- | ------------- | ------------- | -------------
|
|
660
|
+
**subscription_id** | **String**| The id of the subscription to retrieve |
|
|
661
|
+
|
|
662
|
+
### Return type
|
|
663
|
+
|
|
664
|
+
[**Subscription**](Subscription.md)
|
|
665
|
+
|
|
666
|
+
### Authorization
|
|
667
|
+
|
|
668
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
669
|
+
|
|
670
|
+
### HTTP request headers
|
|
671
|
+
|
|
672
|
+
- **Content-Type**: Not defined
|
|
673
|
+
- **Accept**: application/json
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
# **start_trial**
|
|
678
|
+
> Subscription start_trial(bodycustomer_id)
|
|
679
|
+
|
|
680
|
+
Start Trial Subscription For Customer
|
|
681
|
+
|
|
682
|
+
Start subscription for a customer
|
|
683
|
+
|
|
684
|
+
### Example
|
|
685
|
+
```ruby
|
|
686
|
+
# load the gem
|
|
687
|
+
require 'swagger_client'
|
|
688
|
+
# setup authorization
|
|
689
|
+
SwaggerClient.configure do |config|
|
|
690
|
+
# Configure API key authorization: ApiKeyAuth
|
|
691
|
+
config.api_key['X-API-Key'] = 'YOUR API KEY'
|
|
692
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
|
693
|
+
#config.api_key_prefix['X-API-Key'] = 'Bearer'
|
|
694
|
+
end
|
|
695
|
+
|
|
696
|
+
api_instance = SwaggerClient::SubscriptionsApi.new
|
|
697
|
+
body = SwaggerClient::SubscriptionTrialBody.new # SubscriptionTrialBody |
|
|
698
|
+
customer_id = 'customer_id_example' # String | The id of the customer to retrieve
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
begin
|
|
702
|
+
#Start Trial Subscription For Customer
|
|
703
|
+
result = api_instance.start_trial(bodycustomer_id)
|
|
704
|
+
p result
|
|
705
|
+
rescue SwaggerClient::ApiError => e
|
|
706
|
+
puts "Exception when calling SubscriptionsApi->start_trial: #{e}"
|
|
707
|
+
end
|
|
708
|
+
```
|
|
709
|
+
|
|
710
|
+
### Parameters
|
|
711
|
+
|
|
712
|
+
Name | Type | Description | Notes
|
|
713
|
+
------------- | ------------- | ------------- | -------------
|
|
714
|
+
**body** | [**SubscriptionTrialBody**](SubscriptionTrialBody.md)| |
|
|
715
|
+
**customer_id** | **String**| The id of the customer to retrieve |
|
|
716
|
+
|
|
717
|
+
### Return type
|
|
718
|
+
|
|
719
|
+
[**Subscription**](Subscription.md)
|
|
720
|
+
|
|
721
|
+
### Authorization
|
|
722
|
+
|
|
723
|
+
[ApiKeyAuth](../README.md#ApiKeyAuth)
|
|
724
|
+
|
|
725
|
+
### HTTP request headers
|
|
726
|
+
|
|
727
|
+
- **Content-Type**: application/json
|
|
728
|
+
- **Accept**: application/json
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
|