pem.checkServiceTemplatesForProvisioning

This method is supported by Operations starting from version 6.0.

The method checks if the subscription based on the specified service template will not conflict with existing subscriptions of the account.

The method has the following input parameters:

Name

Type

Short Description

account_id

int

Identifier of the account to subscribe.

st_ids

array of struct

The list of service templates identifiers to check.

  • st_id

int

Identifier of a service template.

This method returns the array of structures:

Name

Type

Short Description

st_id

int

Identifier of a service template.

can_be_provided

boolean

Indicates whether service template can be provisioned.

Note: If the service template has the Account-wide Services option turned on, Operations checks whether the new subscription will conflict with the existing subscriptions of the account (the list of restrictions regarding Account-Wide Services can be found in Operations Provider's Guide >> Managing Accounts > Operating Resellers and Customers > Managing Subscriptions > Making Subscription Services Account-Wide section). Otherwise, this parameter will always return True.