Skip to content

Latest commit

 

History

History
119 lines (84 loc) · 6.37 KB

SubscriptionPricePointsApi.md

File metadata and controls

119 lines (84 loc) · 6.37 KB

app_store_connect.api.SubscriptionPricePointsApi

Load the API package

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}

subscriptionPricePointsEqualizationsGetToManyRelated

SubscriptionPricePointsResponse subscriptionPricePointsEqualizationsGetToManyRelated(id, filterLeftSquareBracketSubscriptionRightSquareBracket, filterLeftSquareBracketTerritoryRightSquareBracket, fieldsLeftSquareBracketSubscriptionPricePointsRightSquareBracket, fieldsLeftSquareBracketTerritoriesRightSquareBracket, limit, include)

Example

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');
}

Parameters

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]

Return type

SubscriptionPricePointsResponse

Authorization

itc-bearer-token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, text/csv

[Back to top] [Back to API list] [Back to Model list] [Back to README]

subscriptionPricePointsGetInstance

SubscriptionPricePointResponse subscriptionPricePointsGetInstance(id, fieldsLeftSquareBracketSubscriptionPricePointsRightSquareBracket, include)

Example

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');
}

Parameters

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]

Return type

SubscriptionPricePointResponse

Authorization

itc-bearer-token

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]