API Name: GetPlanAllSetting
Description: This api will get all the settings of a hosting account.
Method: HTTP POST/GET
API URL: https://resellerapi.Dreamnix.com/getPlanAllSetting
Parameters:
Parameter_Name
|
Type
|
Length
|
Description
|
resellerid
|
string
|
9
|
This is your reseller account's customer id
|
resellerkey
|
guid
|
48 |
This is your reseller key
|
username |
string
|
8 to 20
|
This is the username of the hosting account.
|
Return
This function will only return 'successful' message and all the plan's setting or error message.
{"result":
{
"status" : "true/false",
"code" : "response_code",
"message" : "message" ,
"data" : "{
"bandwidth" : "",
"sitenum" : "",
"webspace" : "" ,
"mssqlspace" : "" ,
"mssqlnum" : "" ,
"mysqlnum" : "" ,
"mysqlspace" : "" ,
"emailspace" : "" ,
"ftpnum" : "" ,
"task" : "" ,
"emailnum" : "" ,
"ip" : "",
"plannamealias" : ""
}"
}
}
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]
Article ID: 366, Created: March 18, 2013 at 7:25 AM, Modified: July 3, 2014 at 3:39 AM