Skip to content

List Clients

Supported Versions Last Updated
1.2.00 & higher
json output 1.14.00 & higher
2013/04/30
Action client-list
Method GET, 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>[email protected]</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":"[email protected]","firstname":"Phillip","lastname":"Sith","company":"slbs.com","level":"Client","status":"Active","created":"2010-08-18","lastlogin":"2013-04-08"},

{"id":"2","username":"vps453","email":"[email protected]","firstname":"Test","lastname":"Client","company":"SLB","level":"Client","status":"Locked","created":"2010-08-19","lastlogin":"2011-05-13"},

]

}

Error:

 {"status":"error","statusmsg":"ERROR MESSAGE"}