REPORTS LoginExport API Version 1
Updated on 2014-04-01
Current Version: Version 1
Deprecated Version: NA
Requests Allowed: GET&SOAP
Summary:
Returns an array of logins, potentially filtered by role.
Resource/WSDL Page:
http://yourdomainhere/api/1/reports.asmx?op=LoginExport
Parameters
api_key | Must be a valid API key (existing and NOT expired) Example Values: Fo35NRAqvFLXoZxqB4aVMhh |
start_date | Allowed formats: "YYYY-mm-dd", "dd-mm-YYYY" Example Values: 2014-04-24, 24-04-2014 |
role_id | Must pass at least 0 as value. Max value is 255. Use GET Roles API Example Values: 123 |
**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 | role_id=0 |
Sample XML Response:
<ArrayOfLogin>
<Login>
<contact_id>41</contact_id>
<contact_email_address>dan@cakemarketing.com</contact_email_address>
<contact_first_name>John</contact_first_name>
<contact_last_name>Doe</contact_last_name>
<role_id>6</role_id>
<role_name>Affiliate</role_name>
<company_id>1864</company_id>
<company_name>I Network</company_name>
<ip_address>67.52.114.154</ip_address>
<login_date>2012-08-09T12:18:39.933</login_date>
</Login>
</ArrayOfLogin>
Example Error Messages:
Error Message | Likely Cause |
Invalid API Key | API key does not exist or is expired |