API Queries - List Accounts
The list_accounts function lists parking service accounts in your Monetization account and their settings. No additional parameters are available for this function.
Additional Parameters
- show_deleted - This will show all parking service accounts that have been deleted as well as active accounts. Default is "0" (disabled). Accepted values are "0" (disabled) and "1" (enabled). (Optional)
Example query and response:
In this example, we will retrieve a list of all parking service accounts and their current settings.
Example query:
https://www.above.com/api.php?username=user&password=pass&api_key=key&mode=list_accounts
Response:
<results> <result account_id="1230" cname="www.above.com" download="1" enabled="0" name="SEDO" park_id="1" redirect_type="cname" username="sedouser1230"/> <result account_id="1231" download="1" enabled="1" ip="10.10.10.10" name="SEDO" park_id="1" redirect_type="ip" username="sedouser1231"/> <result account_id="1232" download="1" enabled="0" name="Skenzo" park_id="17" redirect_type="default_302" skz_customerid="654321" username="skenzouser1232"/> </results>
Error Responses:
Possible error responses for this function are:
- General errors, such as 200 - Internal Error or 300 - Username or password invalid.