|
|
ACCOUNTS.LIST - get a list of customers or sub-accounts
|
|
Description
|
|
ACCOUNTS.LIST is used to get a list of customers or sub-accounts based on some search criteria.
|
|
Arguments
|
|
FILTER.ACCOUNT_NUMBER
Optional. Return customers/sub-accounts matching account number.
|
|
FILTER.NAME.FIRST
Optional. Return customers/sub-accounts matching first name.
|
|
FILTER.NAME.LAST
Optional. Return customers/sub-accounts matching last name.
|
|
FILTER.NOTES
Optional. Return customers/sub-accounts matching internal reference/notes/memo.
|
|
|
Example:
<PARAMETER NAME="SIGNATURE">8046f1ffee1a63ca98bf14d4280c73a2bbd30625</PARAMETER>
|
|
Example:
param[SIGNATURE]=8046f1ffee1a63ca98bf14d4280c73a2bbd30625
|
|
Each parameter value needs to be URL Encoded separately.
|
|
|
Response
|
|
Accounts matching filter criteria.
|
|
API Request Example
|
|
<?xml version="1.0" standalone="no" ?>
<REQUEST>
<USERTOKEN>
<USERKEY>YOURUSERKEY1891e2e883904b0b894dc5b679c1c1c13f6d</USERKEY>
</USERTOKEN>
<ACTION NAME="ACCOUNTS.LIST">
<PARAMETER NAME="SIGNATURE">8046f1ffee1a63ca98bf14d4280c73a2bbd30625</PARAMETER>
</ACTION>
</REQUEST>
|
|
https://www.anveo.com/api/v3.asp?userkey=YOURAPIKEY&action=ACCOUNTS.LIST¶m[SIGNATURE]=8046f1ffee1a63ca98bf14d4280c73a2bbd30625
|
|
Each parameter value needs to be URL Encoded separately.
|
|
|
Response Example
|
<?xml version="1.0" standalone="no" ?>
<RESPONSE>
<RESULT>SUCCESS</RESULT>
<ACCOUNT><ACCOUNT_NUMBER>0000000001</ACCOUNT_NUMBER><FIRST_NAME>NAME1</FIRST_NAME><LAST_NAME>NAME2</LAST_NAME><EMAIL>1@email.com</EMAIL><NOTES>1</NOTES></ACCOUNT>
<ACCOUNT><ACCOUNT_NUMBER>0000000002</ACCOUNT_NUMBER><FIRST_NAME>NAME2</FIRST_NAME><LAST_NAME>NAME2</LAST_NAME><EMAIL>2@email.com</EMAIL><NOTES>2</NOTES></ACCOUNT>
<ACCOUNT><ACCOUNT_NUMBER>0000000003</ACCOUNT_NUMBER><FIRST_NAME>NAME3</FIRST_NAME><LAST_NAME>NAME3</LAST_NAME><EMAIL>3@email.com</EMAIL><NOTES>3</NOTES></ACCOUNT>
</RESPONSE>
|
|