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
Actionclient-list
MethodGET, POST
Variables
rdtype  [json] For json output specify json or for default output leave blank. This variable is optional
Example Output

XML

Success:

 <clients>
<client>
<id>1</id> 
<username>philltest</username> 
<email>support@soluslabs.com</email> 
<firstname>Phill</firstname> 
<lastname>B</lastname> 
<company>Soluslabs Ltd</company> 
<level>Client</level> 
<status>Active</status> 
<created>2009-01-01</created> 
<lastlogin>2010-04-23</lastlogin> 
</client>
......
</clients>

Error:

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

JSON

Success:

 {
"status":"success",
"statusmsg":"",
"clients":[
	{"id":"1","username":"vps123","email":"my@email.com","firstname":"Phillip","lastname":"Sith","company":"slbs.com","level":"Client","status":"Active","created":"2010-08-18","lastlogin":"2013-04-08"},
	{"id":"2","username":"vps453","email":"phill@domain.com","firstname":"Test","lastname":"Client","company":"SLB","level":"Client","status":"Locked","created":"2010-08-19","lastlogin":"2011-05-13"},
	]
}

Error:

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