import 'package:app_store_connect/api.dart';
All URIs are relative to https://api.appstoreconnect.apple.com
Method | HTTP request | Description |
---|---|---|
subscriptionPricePointsEqualizationsGetToManyRelated | GET /v1/subscriptionPricePoints/{id}/equalizations | |
subscriptionPricePointsGetInstance | GET /v1/subscriptionPricePoints/{id} |
SubscriptionPricePointsResponse subscriptionPricePointsEqualizationsGetToManyRelated(id, filterLeftSquareBracketSubscriptionRightSquareBracket, filterLeftSquareBracketTerritoryRightSquareBracket, fieldsLeftSquareBracketSubscriptionPricePointsRightSquareBracket, fieldsLeftSquareBracketTerritoriesRightSquareBracket, limit, include)
import 'package:app_store_connect/api.dart';
// TODO Configure HTTP basic authorization: itc-bearer-token
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').password = 'YOUR_PASSWORD';
final api = AppStoreConnect().getSubscriptionPricePointsApi();
final String id = id_example; // String | the id of the requested resource
final BuiltList<String> filterLeftSquareBracketSubscriptionRightSquareBracket = ; // BuiltList<String> | filter by id(s) of related 'subscription'
final BuiltList<String> filterLeftSquareBracketTerritoryRightSquareBracket = ; // BuiltList<String> | filter by id(s) of related 'territory'
final BuiltList<String> fieldsLeftSquareBracketSubscriptionPricePointsRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type subscriptionPricePoints
final BuiltList<String> fieldsLeftSquareBracketTerritoriesRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type territories
final int limit = 56; // int | maximum resources per page
final BuiltList<String> include = ; // BuiltList<String> | comma-separated list of relationships to include
try {
final response = api.subscriptionPricePointsEqualizationsGetToManyRelated(id, filterLeftSquareBracketSubscriptionRightSquareBracket, filterLeftSquareBracketTerritoryRightSquareBracket, fieldsLeftSquareBracketSubscriptionPricePointsRightSquareBracket, fieldsLeftSquareBracketTerritoriesRightSquareBracket, limit, include);
print(response);
} catch on DioError (e) {
print('Exception when calling SubscriptionPricePointsApi->subscriptionPricePointsEqualizationsGetToManyRelated: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
filterLeftSquareBracketSubscriptionRightSquareBracket | BuiltList<String> | filter by id(s) of related 'subscription' | [optional] |
filterLeftSquareBracketTerritoryRightSquareBracket | BuiltList<String> | filter by id(s) of related 'territory' | [optional] |
fieldsLeftSquareBracketSubscriptionPricePointsRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type subscriptionPricePoints | [optional] |
fieldsLeftSquareBracketTerritoriesRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type territories | [optional] |
limit | int | maximum resources per page | [optional] |
include | BuiltList<String> | comma-separated list of relationships to include | [optional] |
SubscriptionPricePointsResponse
- Content-Type: Not defined
- Accept: application/json, text/csv
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SubscriptionPricePointResponse subscriptionPricePointsGetInstance(id, fieldsLeftSquareBracketSubscriptionPricePointsRightSquareBracket, include)
import 'package:app_store_connect/api.dart';
// TODO Configure HTTP basic authorization: itc-bearer-token
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').username = 'YOUR_USERNAME'
//defaultApiClient.getAuthentication<HttpBasicAuth>('itc-bearer-token').password = 'YOUR_PASSWORD';
final api = AppStoreConnect().getSubscriptionPricePointsApi();
final String id = id_example; // String | the id of the requested resource
final BuiltList<String> fieldsLeftSquareBracketSubscriptionPricePointsRightSquareBracket = ; // BuiltList<String> | the fields to include for returned resources of type subscriptionPricePoints
final BuiltList<String> include = ; // BuiltList<String> | comma-separated list of relationships to include
try {
final response = api.subscriptionPricePointsGetInstance(id, fieldsLeftSquareBracketSubscriptionPricePointsRightSquareBracket, include);
print(response);
} catch on DioError (e) {
print('Exception when calling SubscriptionPricePointsApi->subscriptionPricePointsGetInstance: $e\n');
}
Name | Type | Description | Notes |
---|---|---|---|
id | String | the id of the requested resource | |
fieldsLeftSquareBracketSubscriptionPricePointsRightSquareBracket | BuiltList<String> | the fields to include for returned resources of type subscriptionPricePoints | [optional] |
include | BuiltList<String> | comma-separated list of relationships to include | [optional] |
SubscriptionPricePointResponse
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]