Get panel logs
Using this method you can retrieve a CSV with a list of panel logs.
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/PanelLogs?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:
Id, Date, Url, Method, E-mail, Remote IP
Examples
Request:
GET https://api.esv2.com/v2/Api/PanelLogs?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
Id,Date,Url,Method,E-mail,Remote IP
561650,5/29/2019 12:05:20 AM,https://service2.esv2.com/Auditing/GetPanelLogs,POST,test@test.com,127.0.0.1
561649,5/29/2019 12:05:17 AM,https://service2.esv2.com/Auditing/Panel,GET,test@test.com,127.0.0.1
561648,5/29/2019 12:05:13 AM,https://service2.esv2.com/Newsletters/GetInProgress,POST,test2@test.com,127.0.0.1
561647,5/29/2019 12:05:13 AM,https://service2.esv2.com/Newsletters/GetScheduled,POST,test2@test.com,127.0.0.1