Retrieve information about the account and its subaccounts.
price: 1 api credit
<result> <accounts> <account> <acct> string </acct> <name> string (60) </name> <email> string (80) </email> <uid> unsigned int </uid> <company> string (60) </company> <timezone> string </timezone> <type> enum (root, msp, system, reseller, user, affiliate, finadmin, helpdesk, uberreseller, lead, resold, subaccount, ops) </type> <access> string </access> <address> string (60) </address> <zip> string (10) </zip> <city> string (40) </city> <state> string (40) </state> <country> char (2) </country> <telnr> string (256) </telnr> <faxnr> string (15) </faxnr> <status> enum </status> </account> ... </accounts> <total> unsigned int </total> </result>(presence of output fields depends on input parameters)
code | description |
---|---|
0 | okay |
1000 | authentication error |
1001 | call syntax error |
1002 | undefined name or id |
1003 | account limit exceeded |
1004 | database error |
1005 | duplicate entry |
1006 | upgrade account |
1007 | not yours (anymore) |
1008 | session expired |
1009 | insufficient credits |
1010 | messaging error |
1011 | undefined result |
1012 | cannot perform that operation |
1013 | illegal parameter value |
1014 | TOS restriction |
1015 | unconfirmed address |
1016 | contact helpdesk first |
9999 | unsupported feature |
1017 | value not allowed |