user.subaccount.getIds
Returns an array of all available subaccount IDs
Authentication
This method does not require authentification.
Arguments
| Argument | Type | Valid Values | Default Value | Detail |
|---|---|---|---|---|
api_key |
string | Valid Values | required | you need a valid api key to use the API |
Returned Values
| Element (path) | Type | Description |
|---|---|---|
| /[n]/ | int | sub account id |
Example Query
<?xml version="1.0" encoding="utf-8"?>
<methodCall>
<methodName>user.subaccount.getIds</methodName>
<params>
<param>
<value>
<string>YOUR_API_KEY</string>
</value>
</param>
</params>
</methodCall>
Example Response
<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<params>
<param>
<value>
<array>
<data>
<value>
<int>subaccount ID1</int>
</value>
<value>
<int>subaccount ID2</int>
</value>
<value>
<int>subaccount ID3</int>
</value>
<value>
<int>subaccount ID4</int>
</value>
<value>
<int>subaccount ID4</int>
</value>
<value>
<int>subaccount ID5</int>
</value>
</data>
</array>
</value>
</param>
</params>
</methodResponse>
Error Codes
001: Service currently unavailable- The requested service is temporarily unavailable.
002: Failed to parse request- The XML-RPC request document could not be parsed.
010: Missing API Key- The API key passed is missing.
011: Invalid API Key- The API key passed is not valid or has expired.
031: Invalid Method- This method does not exist in the method list.
032: Method not Available- This method is not available for this API Key.



Fotolia US
Fotolia España
Fotolia France
Fotolia UK
Fotolia Deutschland
Fotolia Italia
Fotolia Portugal
Fotolia Polska
Fotolia Brasil
Fotolia 日本
Fotolia Europe
Fotolia Turkey
Fotolia China