Get user logins details
Using this method you can retrieve a CSV with a list of user login logs details.
Request data format
Request URL parameters:
Parameter | Type | Notes |
---|---|---|
apiKey | string | Your API key, required for authentication. Required. |
Example URL:
https://api.esv2.com/v2/Api/UsersLogins?apiKey=test_api_key1
Response
The response from this method is always data in CSV format, rather than XML.
Response content type is „text/csv”. Returned data contains a header with column names in the first row.
CSV output is formatted using following settings:
Field separator: comma (,)
Quoting character: („)
Escape character: („)
Encoding: UTF-8
CSV response columns:
Date, Login, Name, Email, IP
Examples
Request:
GET https://api.esv2.com/v2/Api/UsersLogins?apiKey=test_api_key1 HTTP/1.1
Accept-Encoding: gzip,deflate
User-Agent: Jakarta Commons-HttpClient/3.1
Host: api.esv2.com
OK response:
HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/csv; charset=utf-8
Server: Microsoft-IIS/7.5
X-AspNetMvc-Version: 2.0
X-AspNet-Version: 2.0.50727
Set-Cookie: TIMEZONE=Central European Standard Time; path=/
X-Powered-By: ASP.NET
Date: Thu, 08 Dec 2011 12:02:14 GMT
Content-Length: 463
Date,Login,Name,Email,IP
5/29/2019 12:05:20 AM,Successful,test,test@test.com,127.0.0.1
5/29/2019 12:05:21 AM,Failed,test,test@test.com,127.0.0.1