Table Of Contents

What’s New

Since the previous release, there have been updates to both the platform SDK and its documentation.

APS API

Payment Method Management

The PaymentMethodManagement API is extended with the following custom operations:

The existing updatePaymentMethod operation now enables external systems to make a payment method the default for the specified customer.

The above-mentioned operations were previously possible only in the user panel. Now they are available for external systems through the extended API.

Account Management

The BssAccountInformation APS type exposes the following new custom operations:

  • getAvailableFunds returns the amount of funds of the specified account that can be used for payment as illustrated in the Custom Operations example. This operation enables an external system to check whether a customer has enough funds to pay for a new order.

  • initializeReseller allows an external system to finalize creation of a reseller in the platform by setting a required currency code for the reseller. For usage, refer to the examples of Custom Operations.

APS-Actor-Scope Header in OAuth Sessions

The restriction on the use of the APS-Actor-Scope header only in UX1 sessions is removed, and now this header is also available in sessions authenticated through OAuth. This allows an external management system interacting with the platform on behalf of a reseller to require a certain scope of resources to be returned by the platform.

Discount Manager

In the DiscountManagement APS type, the new getDealsPerUnit operation is recommended instead of getDealsForPlans to calculate prices for specified service plans. The advantage is that it returns the prices per resource unit (instead of the prices per specified resource amount). The new operation supports the following automatic price calculations as illustrated in Examples:

  • Effective setup and recurring prices per subscription period and per resource rate

  • Discounts for the subscription periods and resource rates

  • Discounts caused by parent plans

  • Tiered prices

Resource Dependency Validation

The OrderManagementApplication API rejects sales orders and change orders which do not comply with resource dependencies when the dependency type is REQUIRES as illustrated by the Resource Dependency Validation example.

The UX1 Navigation Process in Respect to Globally Accessible Resources

For performance reasons, APS applications are restricted in presenting their announcements and other view objects in the UX1 for customers who are not subscribed to the application services as explained in Globally Accessible Resources.

This new behavior substantially increases the UX1 performance where APS applications with globally accessible resources are used and prevents the rapid performance degradation when increasing the number of such applications.

SDK Documentation

Product Line Expansion Example

The Real Services Integration Example demo project is extended with an example on how to expand the application product line by implementing the InitWizardVendorCatalogConfig APS type and using its fetchCatalog custom operation. The latter receives a list of new service MPNs (Manufacturer Product Number) and returns the configuration of service plans and related resources to sell the new services.

Setting the Default Payment Method

A new example illustrates how to make a payment method the default one for its owner.

APS-Skip-Content-Range

The description of the APS-Skip-Content-Range header is added. This header substantially improves performance by skipping the counting of resources by the APS controller. The use of this header is recommended when the total number of resources is not required.

APS Tools

APS Tools are updated to version 2.2-430.