Previous Topic

Next Topic

Book Contents

Book Index

AccountWithIDAdd_API

 

Parameters

Description

Passed

Returned

Starting PBA 4.4.2 the method is obsolete and left for backward compatibility, use AccountAdd_API method instead.

Method creates new account in PBA with specified ID.

There are two types of account in PBA: person and company.

Company account needs company name, address and three types of contacts (administrative, billing and technical) to be passed.

Personal account needs address and personal details only.

Example below is given for person account type.

62

1

Syntax

ErrorMessage BM::AccountWithIDAdd_API(
  Int VendorAccountID;
  Int VType;
  Str(80) CompanyName;
  Str(80) Address1;
  Str(80) Address2;
  Str(40) City;
  Str(80) State;
  Str(10) Zip;
  Str(2) CountryID;
  Str(1024) PostalAddress;
  Str(30) AdminFName;
  Str(30) AdminMName;
  Str(30) AdminLName;
  Str(100) AdminEmail;
  Str(4) AdminPhCountryCode;
  Str(10) AdminPhAreaCode;
  Str(20) AdminPhNumber;
  Str(10) AdminPhExtention;
  Str(4) AdminFaxCountryCode;
  Str(10) AdminFaxAreaCode;
  Str(20) AdminFaxNumber;
  Str(10) AdminFaxExtention;
  Str(30) BillFName;
  Str(30) BillMName;
  Str(30) BillLName;
  Str(100) BillEmail;
  Str(4) BillPhCountryCode;
  Str(10) BillPhAreaCode;
  Str(20) BillPhNumber;
  Str(10) BillPhExtention;
  Str(4) BillFaxCountryCode;
  Str(10) BillFaxAreaCode;
  Str(20) BillFaxNumber;
  Str(10) BillFaxExtention;
  Str(30) TechFName;
  Str(30) TechMName;
  Str(30) TechLName;
  Str(100) TechEmail;
  Str(4) TechPhCountryCode;
  Str(10) TechPhAreaCode;
  Str(20) TechPhNumber;
  Str(10) TechPhExtention;
  Str(4) TechFaxCountryCode;
  Str(10) TechFaxAreaCode;
  Str(20) TechFaxNumber;
  Str(10) TechFaxExtention;
  Str(30) PersFName;
  Str(30) PersMName;
  Str(30) PersLName;
  Int Birthday;
  Str(1024) Passport;
  Str(100) PersEmail;
  Str(4) PersPhCountryCode;
  Str(10) PersPhAreaCode;
  Str(20) PersPhNumber;
  Str(10) PersPhExtention;
  Str(4) PersFaxCountryCode;
  Str(10) PersFaxAreaCode;
  Str(20) PersFaxNumber;
  Str(10) PersFaxExtention;
  Int TaxStatus;
  Int AccountID.
)
returns
    Str ErrorMessage - message after account has been added: " Account # is successfully added."

Special Notes

Note: Company specific parameters should be passed as empty/zero, if personal account is added and vice versa.

The following parameters are relevant for both types of account (company and person).

The following parameters are relevant for company account type. For person account type should be passed empty.

The following parameters are relevant for person account type. For company account type should be passed empty.

The following parameters are relevant for both types of account (company and person).

In This Section

Example

See Also

API Methods

AccountAdd_API

AccountBalanceAdjust_API

AccountBalanceUpdate_API

AccountBalanceUpdateTimeUpdate_API

AccountDetailsGet_API

AccountPutOnAdmHold_API

AccountTakeFromAdmHold_API

AccountUpdate_API

AccountVerifyData_API

AddBulkRegisterDomainSubscrWithID_API

AddCentralNICDomainSubscrWithID_API

AddOpenSRSDomainSubscrWithID_API

AddPEMSubscription_API

AddPEMSubscriptionWithID_API

AddPEMDomainForSubscription_API

AttrTypeListGet_API

BannerRedirectURLGet_API

CountryListGet_API

CreditCard2AccountAdd_API

CreateAccountAndPlaceOrder_API

DomainExpirationDateGet_API

DomainInfoGet_API

DomainNamesAvailability_API

DomainPlanGet_API

DomainPlanListAvailableGet_API

DomainPlanPeriodListGet_API

DomainSubscrAdd_API

DomainSubscrWithIDAdd_API

DomainTransferKeyIsRequired_API

DomainValidate_API

EulaListForOrderGet_API

EnablingResourceByPlanListGet_API

GetAuthCodeByDomainName_API

GetBasketPrices_API

GetDependanceCategories_API

GetFullDomainZoneList_API

GetHostingSubscriptionList_API

GetLoginSettings_API

GetMaxSupportedTransferPlanPeriodDetails_API

GetSharedHostingSubscriptionList_API

GetSubscriptionsListByOrder_API

GetObjAttrList_API

GetOnlineStoresRewriteRules_API

GetOrder_API

LicenseInstallationCompleted_API

NameServersChanged_API

OrderByStatusListGet_API

OrderPaymentsReceived_API

PayToolListForAccountGet_API

PayToolTypeListForAccountGet_API

PlaceAccountCancellationOrder_API

PlaceOrderAndAuthorize_API

PlaceOrderForAccount_API

PlacePlanPeriodSwitchOrder_API

PlaceResourceUpgradeOrder_API

PlaceSubscriptionCancellationOrder_API

PlanCategoryDetailsGet_API

PlanCategoryListGet_API

PlanDetailsGet_API

PlanListGet_API

PlanListAvailableGet_API

PlanListAvailableUpsaleGet_API

PlanListUpsaleGet_API

PlanListUpsaleGetForSubscription_API

PlanListAvailableUpsales4SalesCategoryGet_API

PlanListAvailable4SalesCategoryGet_API

PlanParamsGetAndValidate_API

PlanParentPlansAvailableListGet_API

PlanPeriodListGet_API

PlanPeriodDetailsGet_API

PlanRateListGet_API

PlanRateListGetForPeriod_API

PlanRateListFullGet_API

PlanResourceListGet_API

ResourceCategoryDetailsGet_API

ResourceCategoryByPlanListGet_API

ResourceDependenceSet_API

ResourceFromTemplateRemove_API

ResourceListByCategoryGet_API

ResourceRemove_API

ResourceSync_API

SalesCategoryListGet_API

SalesCategoryDetailsGet_API

ServiceTemplateRemove_API

SetDefaultPaymentMethod_API

SingleDomainNameAvailability_API

SimpleDomainNamesAvailability_API

StateBookByCountry_API

StoreApplicationToPlanIDMapListGet_API

StoreOperationToPathMapListGet_API

StoreCategoryParentPlansAvailableListGet_API

StoreLayoutsListGet_API

StorePackageListGet_API

SubscriptionAdd_API

SubscriptionDetailsGet_API

SubscriptionListByResourceRateGet_API

SubscriptionResourcesListGet_API

SubscriptionStart_API

SubscriptionStatusUpdate_API

SubscriptionStop_API

SubscriptionWithIDAdd_API

UniqueGroupDetailsGet_API

UpdateObjAttrList_API

UserAdd_API

UserForVendorValidate_API

UserPasswdUpdate_API

UserRemove_API

UserRoleAdd_API

UserStatusChange_API

UserUpdate_API

UserValidate_API

UserWithIDAdd_API

UserWithIDAddWithRole_API

Please send us your feedback on this help page