Skip to content

AddDatabase

Creates a new Database, returns the Database-ID, user and IP in the properties. The Quota is an integer and the unit is MB.

Possible Gateways

The following parameters are standard parameters for this command.

Command
COMMAND = AddDatabase
DATABASE = (TEXT)
X-HOSTING-ONECLICK-WEBHOST = (TEXT)
X-HOSTING-ONECLICK = 0|1
QUOTA = (INT)
X-HOSTING-ADVERT = 0|1
X-HOSTING-LOCATION = EU|US|IM
PASSWORD = (TEXT)
NAME = (TEXT)
X-PROMOTION-CODE = (TEXT)
Response
code = (INT)
description = (TEXT)
property[DATABASE][0] = (TEXT)
property[IP][0] = (IP)
DATABASEName of the database (optional)
X-HOSTING-ONECLICK-WEBHOSTName of the associated webhost (optional)
X-HOSTING-ONECLICKEnable OneClick for this database (optional)
QUOTASize in megabytes
X-HOSTING-ADVERTTo use free webhosting set to 1
X-HOSTING-LOCATIONWhere the webspace should be hosted (Europe, USA, Isle of Man)
PASSWORDPassword of the database user
NAMESet mailspace name max. 255 characters
X-PROMOTION-CODEPromotion - parameter used to get the promotion - pricing (if available, optional)
DATABASEUnique ID of the new database
IPIP address of the new database