|
Parameters |
|
Description |
Passed |
Returned |
Method creates domain subscription for domain. Subscription information is added to PBA database and domain specific information is added to DOMAINGATE table. If such domain name in Registered status is presented in PBA database, an exception is returned. If such domain name in some other status is presented in PBA database, the domain name is added again to database with new subscription. |
30 |
2 |
Syntax
ItemResult DOMAINGATE::DomainSubscrAdd_API(
Int ParentID;
Int Status;
Int ServStatus;
Str StartDate;
Str ExpirationDate;
Int AccountID;
Int PlanID;
Int SubscriptionPeriod;
Double SetupFee;
Double SubscriptionFee;
Double RenewalFee;
Double TransferFee;
Double NonRefundableAmt;
Int RefundPeriod;
Int BillingPeriodType;
Int BillingPeriod;
Int LastBillDate;
Int NextBillDate;
Int RegistrarID;
Str(255) FullDomainName;
Str(40) Login;
Str(32) Password;
Str(40) PrimaryNameServer;
Str(40) SecondaryNameServer;
Str(40) ThirdNameServer;
Str(40) FourthNameServer;
Int OwnerID;
Int AdminID;
Int BillingID;
Int TechID.
)
returns
Int SubscriptionID - ID of the created subscription;
Int DomainID - ID of the domain.
Special Notes
Note: subscription period type (Days, Months, Years) is not passed with the method as subscription period type for domain registration is always "Years".
Note: fees for subscription are passed in "00.00" format and provider's default currency.
Note: primary and secondary name servers addresses are mandatory, the rest of name servers are optional.
Note: all four contacts can be of the same user or of four different users.