Previous Topic

Next Topic

Book Contents

Book Index

PlanRateListGet_API

 

Parameters

Description

Passed

Returned

Method returns properties of service plan resource rates purchased under at least one of subscriptions. Method returns result only for active, trial, or ordered subscriptions. Method does not return any resource usage statistics.

4

24

 

Table below illustrates method invocation result for three different cases:

 

Plan ID

Subscription ID

Subscription status

Resource rate ID

Result

1

1000001

Terminated

1,2,5

Empty

1000002

Terminated

2

2

none

 

 

Empty

3

 

1000003

Active

1,2,3

Details for resource rates ID 1,2,3, and 4

 

1000004

Ordered

3,4

1000005

Terminated

3,4,5,6

Syntax

ListResult BM::PlanRateListGet_API(
  Int PlanID;
  Int SortNo;
  Int Reserved1;
  Int Reserved2.
)
returns
  Int ID - resource rate ID;
  Str Name - resource rate name;
  Str Description - resource rate description;
  Double Included Value - resource included value;
  Double Upper Limit - resource upper limit;
  Double Lower Limit - resource lower limit;
  Str Unit of Measure - resource unit of measure;
  Double Setup Fee - resource setup fee;
  Double Recurring Fee - resource recurring fee;
  Int Measurable - signifies if resource is measurable ("1") or not ("0");
  Int ResourceID - resource ID;
  Str SetupFeeDescr - setup fee description, shown in CP and online store;
  Str RecurrFeeDescr - recurring fee description, shown in CP and online store;
  Int IsVisible - signifies if resource rate is shown in CP ("1") or not("0");
  Int IsMain - signifies if resource rate is shown in store ("1") or not("0");;
  Str StoreText - resource description shown in store;
  Int IsSFperUnit - signifies if setup fee is changed per unit ("1") or not ("0");
  Int IsRFperUnit - signifies if recurring fee is changed per unit ("1") or not ("0");
  Int IsSFforUpgrade - signifies if upgrade fee is changed per unit ("1") or not ("0");
  Str StorePriceText - resource price text shown in store (i.e. "5 Gb / month");
  Int ResourceCategoryID - ID of resource category resource is included to;
  Int SortOrder - sort order of resource in store;
  Str Radio Group Name - used for licensed services mostly. If resource has at least one required and one conflicting resource  (configured under Depends On tab of resource), two conflicting resources are displayed as option buttons group and required resource name is taken as the group name;
  Str Parent Resource Name - parent resource name if resource depends on another resource (common for licensed services);

Special Notes

In This Section

Example

See Also

API Methods

AccountAdd_API

AccountBalanceAdjust_API

AccountBalanceUpdate_API

AccountBalanceUpdateTimeUpdate_API

AccountDetailsGet_API

AccountPutOnAdmHold_API

AccountTakeFromAdmHold_API

AccountUpdate_API

AccountWithIDAdd_API

AccountVerifyData_API

AddBulkRegisterDomainSubscrWithID_API

AddCentralNICDomainSubscrWithID_API

AddOpenSRSDomainSubscrWithID_API

AddPEMSubscription_API

AddPEMSubscriptionWithID_API

AddPEMDomainForSubscription_API

AttrTypeListGet_API

BannerRedirectURLGet_API

CountryListGet_API

CreditCard2AccountAdd_API

CreateAccountAndPlaceOrder_API

DomainExpirationDateGet_API

DomainInfoGet_API

DomainNamesAvailability_API

DomainPlanGet_API

DomainPlanListAvailableGet_API

DomainPlanPeriodListGet_API

DomainSubscrAdd_API

DomainSubscrWithIDAdd_API

DomainTransferKeyIsRequired_API

DomainValidate_API

EulaListForOrderGet_API

EnablingResourceByPlanListGet_API

GetAuthCodeByDomainName_API

GetBasketPrices_API

GetDependanceCategories_API

GetFullDomainZoneList_API

GetHostingSubscriptionList_API

GetLoginSettings_API

GetMaxSupportedTransferPlanPeriodDetails_API

GetSharedHostingSubscriptionList_API

GetSubscriptionsListByOrder_API

GetObjAttrList_API

GetOnlineStoresRewriteRules_API

GetOrder_API

LicenseInstallationCompleted_API

NameServersChanged_API

OrderByStatusListGet_API

OrderPaymentsReceived_API

PayToolListForAccountGet_API

PayToolTypeListForAccountGet_API

PlaceAccountCancellationOrder_API

PlaceOrderAndAuthorize_API

PlaceOrderForAccount_API

PlacePlanPeriodSwitchOrder_API

PlaceResourceUpgradeOrder_API

PlaceSubscriptionCancellationOrder_API

PlanCategoryDetailsGet_API

PlanCategoryListGet_API

PlanDetailsGet_API

PlanListGet_API

PlanListAvailableGet_API

PlanListAvailableUpsaleGet_API

PlanListUpsaleGet_API

PlanListUpsaleGetForSubscription_API

PlanListAvailableUpsales4SalesCategoryGet_API

PlanListAvailable4SalesCategoryGet_API

PlanParamsGetAndValidate_API

PlanParentPlansAvailableListGet_API

PlanPeriodListGet_API

PlanPeriodDetailsGet_API

PlanRateListGetForPeriod_API

PlanRateListFullGet_API

PlanResourceListGet_API

ResourceCategoryDetailsGet_API

ResourceCategoryByPlanListGet_API

ResourceDependenceSet_API

ResourceFromTemplateRemove_API

ResourceListByCategoryGet_API

ResourceRemove_API

ResourceSync_API

SalesCategoryListGet_API

SalesCategoryDetailsGet_API

ServiceTemplateRemove_API

SetDefaultPaymentMethod_API

SingleDomainNameAvailability_API

SimpleDomainNamesAvailability_API

StateBookByCountry_API

StoreApplicationToPlanIDMapListGet_API

StoreOperationToPathMapListGet_API

StoreCategoryParentPlansAvailableListGet_API

StoreLayoutsListGet_API

StorePackageListGet_API

SubscriptionAdd_API

SubscriptionDetailsGet_API

SubscriptionListByResourceRateGet_API

SubscriptionResourcesListGet_API

SubscriptionStart_API

SubscriptionStatusUpdate_API

SubscriptionStop_API

SubscriptionWithIDAdd_API

UniqueGroupDetailsGet_API

UpdateObjAttrList_API

UserAdd_API

UserForVendorValidate_API

UserPasswdUpdate_API

UserRemove_API

UserRoleAdd_API

UserStatusChange_API

UserUpdate_API

UserValidate_API

UserWithIDAdd_API

UserWithIDAddWithRole_API

Please send us your feedback on this help page