API Name: GetPlanSetting
Description: This api will get a hosting account plan's setting.
Method: HTTP POST/GET
API URL: https://resellerapi.HostBuddy.com/getPlanSetting
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.
|
bandwidth
|
|
|
|
settingtype
|
string |
|
This is a list of type you can use. |
bandwidth
|
webspace
|
sitenum
|
ftpnum
|
mssqlnum
|
mssqlspace
|
mysqlnum
|
mysqlspace
|
emailnum
|
emailspace
|
terms
|
task
|
|
Return
This function will return 'successful' message and quota setting for each setting type OR error message.
{"result":
{"status" : "true/false", "code" : "response_code", "message" :
"response_message" , "data" : "quota"}}
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: 364, Created: March 18, 2013 at 7:11 AM, Modified: March 12, 2014 at 8:01 AM