Article ID: 123275, created on Oct 27, 2014, last review on Jan 30, 2015

  • Applies to:
  • Operations Automation
  • Business Automation

Question

The guide mentions different API methods that can be used for the subscription creation - SubscriptionAdd_API, DomainSubscrAdd_API, AddPEMSubscription_API, SubscriptionWithIDAdd_API, DomainSubscrWithIDAdd_API, AddPEMSubscriptionWithID_API. Which one shall be chosen?

Answer

The method to use depends on the type of the subscription that you are going to create.

Subscription type Method to choose Additional actions required
Domain registration subscription DomainSubscrAdd_API
  • DomainExtDataAdd_API - to add the domain parameters
  • pem.addSubscription - to create a DNS subscription in POA (with the subscription ID returned by DomainSubscrAdd_API)
  • pem.addDomain - to assign DNS hosting to POA default DNS subscription
  • POA hosting subscription AddPEMSubscription_API
  • pem.activateSubscription - to create a hosting subscription in POA (with the subscription ID returned by AddPEMSubscription_API

    If the DomainName was passed:

  • you may add it as a subscription parameter with SubscrParamValueUpdate_API
  • you may add a domain to POA with pem.addDomainToAccount (domain is not binded to the service) or with pem.addDomain (This method creates a domain and adds all the available in Subscription hostings to the Domain created.)
  • DummyGate subscription SubscriptionAdd_API None

    If the subscription ID is important (e.g. due to some kind of integration) use DomainSubscrWithIDAdd_API, AddPEMSubscriptionWithID_API, SubscriptionWithIDAdd_API accordingly.

    Difference between AddPEMSubscription_API and SubscriptionAdd_API:

    AddPEMSubscription_API SubscriptionAdd_API
    Subscription name set automatically according to the service plan name (+domain name if passed) passed in API as one of the parameters
    DomainName DomainName is passed in API as one of the parameters. Domain is aded to "PEMDomain" table DomainName is not passed

    Search Words

    DomainSubscrAdd_API

    Difference between SubscriptionAdd_API and AddPEMSubscription_API

    198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5356b422f65bdad1c3e9edca5d74a1ae

    Email subscription for changes to this article
    Save as PDF