users.accounts
This method allows you to view your accounts. The information you can view is listed below:
- account id (id)
- account organization name (name)
- account url (url)
- account api_key (api_key)
- account state wether if it’s active, deactive or pending (state)
You call this method by submitting a HTTP GET request to the following URL :
https://invoicexpress.net/users/accounts.xml
Parameters
Parameters are the data you will pass with the call.
api_key
Your secret identifier. You find your API Key under Account Overview in the Account section.
Rules: Required
Return Values
This is the result that will be passed back to you.
Success
Your current accounts are sent on a xml format. Example xml:
<?xml version="1.0" encoding="UTF-8"?> <accounts> <account> <id>1</id> <name>Oils LDA</name> <url>https://supra_oil.invoicexpress.net</url> <api_key>000111222333444</api_key> <state>active</state> </account> <account> <id>2</id> <name>Design & Code LDA</name> <url>https://moc.invoicexpress.net</url> <api_key>null</api_key> <state>active</state> </account> </accounts>
Error
HTTP: 401 Access denied
The API Key parameter is missing or is incorrectly entered.
The API Key parameter is missing or is incorrectly entered.