Page tree
Skip to end of metadata
Go to start of metadata
Supported VersionsLast Updated
1.2.00 & higher
json output 1.14.00 & higher
2013/04/30
Actionreseller-info
MethodGET, POST
Variables
username  [username of the reseller]
rdtype    [json] For json output specify json or for default output leave blank. This variable is optional
Example Output

XML

Success:

 <status>success</status>
<statusmsg></statusmsg>
<username>apitest3</username>
<email>phill@email.com</email>
<firstname>Phill</firstname>
<lastname>Smith</lastname>
<company>FastServers</company>
<usernameprefix>vpsuser</usernameprefix>
<maxvps>10</maxvps>
<maxdisk>21474836480</maxdisk>
<maxmem>10737418240</maxmem>
<maxusers>20</maxusers>
<maxipv4>4</maxipv4>
<maxipv6>6</maxipv6>
<maxburst>10738466816</maxburst>
<maxbw>107374182400</maxbw>
<nodegroupids>14,11,9</nodegroupids>
<mediagroupids>14,11,9</mediagroupids>
<xenpv>1</xenpv>
<xenhvm>1</xenhvm>
<kvm>1</kvm>
<openvz>1</openvz>

Error:

 <status>error</status>
<statusmsg>ERROR MESSAGE</statusmsg>

JSON

Success:

 {
"status":"success",
"statusmsg":"",
"username":"apitest3",
"email":"phill@email.com",
"firstname":"Phill",
"lastname":"Smith",
"company":"FastServers",
"usernameprefix":"vpsuser",
"maxvps":"10",
"maxdisk":"21474836480",
"maxmem":"10737418240",
"maxusers":"20",
"maxipv4":"4",
"maxipv6":"6",
"maxburst":"10738466816",
"maxbw":"107374182400",
"nodegroupids":"14,11,9",
"mediagroupids":"14,11,9",
"xenpv":"1",
"xenhvm":"1",
"kvm":"1",
"openvz":"1"
}

Error:

 {"status":"error","statusmsg":"ERROR MESSAGE"}
  • No labels