|
Parameters |
|
Description |
Passed |
Returned |
Method creates domain subscription for registered domain with explicitly defined subscription ID. Subscription information is added to PBA database. Domain specific information is added to DOMAINGATE respective table. Registrar domain specific information is added to CENTRALNIC plug-in respective table. |
23 |
1 |
Syntax
ItemResult CENTRALNIC::AddCentralNICDomainSubscrWithID_API(
Int SubscriptionID;
Int Status;
Int ServStatus;
Str StartDate;
Str ExpirationDate;
Int AccountID;
Int PlanID;
Int SubscriptionPeriod;
Str(255) FullDomainName;
Str(40) Login;
Str(32) Password;
Str(40) PrimaryNameServer;
Str(40) SecondaryNameServer;
Double SetupFee;
Double SubscriptionFee;
Double RenewalFee;
Double TransferFee;
Double NonRefundableAmt;
Int RefundPeriod;
Int BillingPeriodType;
Int BillingPeriod;
Int LastBillDate;
Int NextBillDate.
)
returns
Int DomainID - unique domain identifier.
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.