Chapter 2. API Reference Guide

Table of Contents
Complex types used
General WebServices
Client Administration
Domain Administration
Mailboxes
Redirecting mail
Managing mail address lists
Managing MySQL databases
Managing SQL Server databases
Managing the DNS
Web directories restrictions
Managing FTP

Complex types used

The following list contains the complex instruction sets used by the Cube Panelīs APIīs WebServices.

AdminIp

ElementTypeDesc.
idIpintIP ID
ipstringIP value
maskstringNetwork interace mask
interfacestringNetwork interface name
typestringIP Type
clientsintNumber of clients using IP
domainsintNumber of domains using IP
statebooleanStatus of IP

ClientInfo

ElementTypeDesc.
IdintClient ID
NamestringClient name
StatusstringClient status
CompanystringClient's company
NumDomainsintNumber of client domains
DateintCreation date
IdTemplateintClient template ID
serverstringClient server IP
portintClient server port
serverNamestringClient server name
registerbooleanStatus of the domain register module

ClientIP_Ip

ElementTypeDesc.
idIpintIP identification
ipstringIP value
typestringIP type (private/public/panel/principal)
domainsintNumber of domains with this IP
statebooleanIP activation status

ClientTemplateInfo

ElementTypeDesc.
IdintClient template ID
NamestringClient template name
DateintClient template creation date
nClientsintNumber of clients using this template
serverstringIP of the server where is the template
portintPort of the server where is the template
serverNameintName of the server where is the template

Country

ElementTypeDesc.
IdintCountry ID
DescstringCountry name

CurrencyInfo

ElementTypeDesc.
idintCurrency ID
shortDescstringCurrency acronym
symbolstringCurrency symbol
descstringCurrency description

DetailClientInfo

ElementTypeDesc.
LoginstringClient name
CompanystringClient company
ContactstringClient contact name
PhonestringClient telephone number
FaxstringClient fax number
EmailstringClient E-mail
AddressstringClient address
CitystringClient city
StatestringClient state/province
PostalCodestringClient postcode
IdCountryintClient country ID
IdTemplateintClient template ID
IdPanelIPintClient panel IP Identification
PanelIPstringClient IP panel value
PanelPortintClient port accessing the panel web
RegisterbooleanStatus of the domain register module
FiscalIdstringClient fiscal ID
TaxesintVAT percentage to be applied to client invoices
IdCurrencyintInvoice currency

DNSInfo

ElementTypeDesc.
idintDNS entry ID
namestringDNS entry name
idTypeintDNS entry type
typestringDescription of DNS entry type
valuestringDNS entry value
defaultintThis value show if it is a user created entry or a default entry

DomainInfo

ElementTypeDesc.
idstringDomain ID
namestringDomain name
statusstringClient status
dateintDomain register date
diskSpaceintDisk space used by client (bytes)
trafficintDomain traffic generated (bytes)
clientstringClient name (domain owner)
templateNamestringService Plan for domain owner
serverstringDomain server IP
portintDomain server port
serverNamestringDomain server name

DomainPersonalData

ElementTypeDesc.
LoginstringDomain name
CompanystringDomain company
ContactstringDomain contact name
PhonestringDomain telephone number
FaxstringDomain fax number
EmailstringDomain e-mail
AddressstringDomain address
CitystringDomain city
StatestringDomain state/province
PostalCodestringDomain postcode
CountryintDomain country ID
IdTemplateintDomain template ID
IdTemplateTypeintDomain template type ID
IdIPintDomain's Web IP ID
IPstringDomain's Web IP Value
IPTypestringDomain's Web IP Type (private/public/principal)
SystemUserstringName of the main system user of domain
SystemUserPasswordstringPassword of the main system user of domain

FTPUserInfo

ElementTypeDesc.
idintFTP account ID
loginstringFTP account name
passwordstringFTP account password
homePathstringFTP initial access path
quotaintFTP account reserved quota
typestringType of FTP account (R/RW/P)
dateintFTP creation date

LangInfo

ElementTypeDesc.
IdintLanguage ID
NamestringLanguage name
LangCodestringLanguage code

ListID

ElementTypeDesc.
listIDintMail list ID

LoginInfo

ElementTypeDesc.
loginstringUser login
passwordstringUser password

MailAliasInfo

ElementTypeDesc.
idintMail redirection ID
namestringOriginal mail address
targetintDestination mail address
creationdateintRedirection creation date

MailBoxInfo

ElementTypeDesc.
idintNumeric mailbox ID
namestringEmail address
loginstringMailbox login
passwordstringMailbox password
creationdatestringMailbox creation date

mailListInfo

ElementTypeDesc.
idintNumeric ID of mail list
list_emailstringEmail address of list administrator
passwordstringAdministrator password
dateintMail list creation date
admin_urlstringURL access to the mail list's administration web

MysqlInfo

ElementTypeDesc.
idintMySQL database ID
loginstringDatabase name and username
passwordstringDatabase user password
dateintDatabase creation date

OrderArray

ElementTypeDesc.
orderBystringOrder parameter (depends on the function to be used)
orderTypeint1 -> Ascending / 0 -> Descending
minintFirst element to display
maxintLast element to display

ResourceExtraParam

ElementTypeDesc.
NamestringName of extra parameter
ValuestringParameter value

ResourceUsage

ElementTypeDesc.
IdintResource ID
UsageintResource usage
descResourcestringResource description
serverstringServer from which the resource has been obtained
portintPort from which the resource has been obtained

RestrictedDirInfo

ElementTypeDesc.
idintRestricted directory ID
namestringName of restricted directory
pathstringRestricted directory route
groupsArrayOfIntNumber of groups in the restricted directory

RestrictedDirInfoSimple

ElementTypeDesc.
idintRestricted directory ID
namestringName of restricted directory
pathstringRestricted directory route
groupsintNumber of groups in the restricted directory

RestrictedGroupInfo

ElementTypeDesc.
idintUser group ID
namestringName of user group
commentstringComments
usersArrayOfIntUsers in the group

RestrictedGroupInfoSimple

ElementTypeDesc.
idintUser group ID
namestringName of user group
commentstringComments
usersintNumber of users in the group

RestrictedUserInfo

ElementTypeDesc.
idintUser ID
namestringUser name
passwordstringUser password
commentstringComments

SQLServerInfo

ElementTypeDesc.
idintSQL Server database ID
loginstringName of database and connection user
passwordstringConnection user password
dateintDatabase creation date

TemplateInfo

ElementTypeDesc.
IdintPlan ID
NamestringPlan name
DateintPlan creation date
nDomainsintNumber of domains using the plan
TemplateTypeDescstringType of plan
TemplateTypeIdintPlan ID