pem.addSubscription

This method is supported by Operations starting from version 2.3.

This method adds a subscription, created by external billing system, into Operations without provisioning it.

The method has the following input parameters:

Name

Type

Short Description

account_id

int

The ID of Account. Indicates the Account, which the Subscription being added relates to.

[subscription_name]

string

The name of Subscription.

[subscription_id]

int

The ID of Subscription to add, generated by external system. If the parameter is not specified then ID for new Subscription will be generated by the system.

service_template_id

int

The ID of the Service Template. Indicates the existing Service Template, which the Subscription being added is based on.

[account_wide_su]

boolean

It is an optional parameter. Defines whether the Subscription will be used in Account-wide mode.

Note: Switching subscription to the Account-wide mode is permanent. It is impossible to switch Subscription back to the local mode.

The method has the following output parameter.

Name

Type

Short Description

subscription_id

int

id of subscription to add

See also:

pem.addDomain method.

pem.provisionSubscription method.