GET AccountStatuses API V1
Updated on 2014-05-20
Current Version: Version 1
Deprecated Version: NA
Requests Allowed: GET&SOAP
Summary:
Returns an array of account statuses.
Resource/WSDL Page:
http://<your_domain_here>/api/1/get.asmx?op=AccountStatuses
Parameters
api_key | Must be a valid API key (existing and not expired) Example Values: Fo35NRAqvFLXoZxqB4aViaiYM7iVMhh |
**Note all optional parameters still need to be passed through in the actual call. These parameters do not need a value (therefore you can use a null value).
Example Request
GET | https://demo-new.cakemarketing.com/api/1/get.asmx/AccountStatuses?api_key=3YmDJeT3VHTFhDqAjr2OlQ |
Sample XML Response:
<account_statuses_response>
<success>true</success>
<row_count>3</row_count>
<account_statuses>
<account_status>
<account_status_id>1</account_status_id>
<account_status_name>Active</account_status_name>
</account_status>
<account_status>
<account_status_id>2</account_status_id>
<account_status_name>Inactive</account_status_name>
</account_status>
<account_status>
<account_status_id>3</account_status_id>
<account_status_name>Pending</account_status_name>
</account_status>
</account_statuses>
</account_statuses_response>
Example Error Messages:
Error Message | Likely Cause |
Invalid API Key | API key does not exist or is expired |