List of Functions

The Shanje Control Service currently contains some of the most useful automation functions. We will continue to add new functions. If there is a function you would like to see us add, please contact us and let us know. We currently consider this list of functions to be a BETA version. We will likely add new functions and possibly edit some of the existing functions. Please use this BETA version and give us feedback so we have can make sure our final production version will meet all of your needs.

To simplify your interaction with the Shanje Control Service, all functions accept and return parameters as strings. The functions that return a list (such as ListWebsites) instead of a single value will return a string array. Functions will intentionally limit your access to objects owned by your Shanje account. If you try to access something that you do not have access to, then the function will return an error message as a string.

TIP: The list of functions below is generated to help document the existing functions. From time to time, the programming group may add a function to the Shanje Control Service and the documentation below might not cover the latest functions right away. We try to keep this documentation up to date, but sometimes the programming group gets ahead of the documentation group. If this happens, you can bypass the function documentation listed on this page and go directly to the SOAP interface for the latest function list and SOAP examples.

Click here to bypass this document and go directly to the SOAP interface

CreateEmailAccount - creates a new email account in an existing website in your account

CreateWebsite - creates a new website/domain in your account

GetDNS1ServerName - returns the first authoritative DNS Server for your account

GetDNS2ServerName - returns the first authoritative DNS Server for your account

GetEmailAccountPassword - returns the password for the selected email account

GetEmailServerIP - returns the IP of the email server used by your account

GetFTPServerIP - returns the IP of the FTP server used by your account

GetMSSQL2000ServerIP - returns the IP of the MSSQL2000 server used by your account

GetMSSQL2005ServerIP - returns the IP of the MSSQL2005 server used by your account

GetMySQL4ServerIP - returns the IP of the MySQL4 server used by your account

GetMySQL5ServerIP - returns the IP of the MySQL5 server used by your account

GetPlanName - returns the name of the selected plan

GetPlanPrice - returns the price of the selected plan

GetWebServerIP - returns the IP of the Web server used by your account

GetWebsiteCount - returns the total number of websites in your account

GetWebsiteDiskSpaceUsedMB - returns the total megabytes of disk space used by a website in your account

GetWebsitePassword - returns the password of a specific website in your account

IsPlanIDValid - returns whether or not a plan ID is valid within your account

ListEmailAccounts - returns a list of the email accounts in a website in your account

ListPlanIDNumbers - returns a list of the plan numbers in your account

ListPlanNames - returns a list of the plan names in your account

ListPlanPrices - returns a list of the plan prices in your account

ListWebsites - returns a list of the websites in your account

SetEmailAccountPassword - sets the password on an existing email account