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.
Required Parameters
Section titled “Required Parameters”The following parameters are standard parameters for this command.
Command
COMMAND = AddDatabaseDATABASE = (TEXT)X-HOSTING-ONECLICK-WEBHOST = (TEXT)X-HOSTING-ONECLICK = 0|1QUOTA = (INT)X-HOSTING-ADVERT = 0|1X-HOSTING-LOCATION = EU|US|IMPASSWORD = (TEXT)NAME = (TEXT)X-PROMOTION-CODE = (TEXT)Response
code = (INT)description = (TEXT)property[DATABASE][0] = (TEXT)property[IP][0] = (IP)Attributes
Section titled “Attributes”| DATABASE | Name of the database (optional) |
|---|---|
| X-HOSTING-ONECLICK-WEBHOST | Name of the associated webhost (optional) |
| X-HOSTING-ONECLICK | Enable OneClick for this database (optional) |
| QUOTA | Size in megabytes |
| X-HOSTING-ADVERT | To use free webhosting set to 1 |
| X-HOSTING-LOCATION | Where the webspace should be hosted (Europe, USA, Isle of Man) |
| PASSWORD | Password of the database user |
| NAME | Set mailspace name max. 255 characters |
| X-PROMOTION-CODE | Promotion - parameter used to get the promotion - pricing (if available, optional) |
| DATABASE | Unique ID of the new database |
| IP | IP address of the new database |
Hosting - Database commands