API Name: shrinkDB
Description: This api will shrink a MSSQL database.
Method: HTTP POST/GET
API URL: https://resellerapi.Dreamnix.com/shrinkDB
Parameters:
Parameter_Name
|
Type
|
Length
|
Description |
apiid |
string |
9 |
This is your api id |
apikey |
guid |
48 |
This is your api key |
dbname
|
string |
2 to 255 |
This is the name of your database. |
dbserver |
string |
2 to 255
|
This is the server name of your database. Ex: SQL5001.Dreamnix.com |
Return
This function will return a 'successful' message and the 9 digit customer id OR error message.
{"result": {"status" : "true/false", "code" : "response_code", "response_message" : "message" , "data" : "customer_unique_id"}}
Error Code
G1000="Invalid Reseller Account/Authentication Error"
G1001="Invalid Hosting Account/Account Doesn't Belong To This Reseller"
G2000= [this is a general invalid parameter message]
G2001= [this is for other general error message]
S1001="Invalid DB Name or DB Server"
Article ID: 1568, Created: March 12, 2014 at 7:38 AM, Modified: March 12, 2014 at 8:00 AM