pem.getDomainSubscription

This method is supported by Operations starting from version 2.4.

This method returns an ID of Subscription, under which DNS Hosting for Domain is added.

domain_id and domain_name parameters are optional to each other. It means that you can specify either domain_id parameter or domain_name one in your request.

This method has the following input parameters:

Name

Type

Short Description

[domain_id]

int

ID of Domain.

[domain_name]

string

Name of Domain.

This method has the following output parameters:

Name

Type

Short Description

subscription_id

int

ID of Subscription. If Domain has no DNS Hosting added, 0 is returned.