User Tools

Site Tools


api:get-logs-id

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
api:get-logs-id [2016/07/11 23:23]
Jochen Linnemann
api:get-logs-id [2016/07/12 09:51] (current)
Jochen Linnemann
Line 2: Line 2:
  
 Endpoint Address: ''​https://​campaign-logger.com/​gateway/​rest/​public/​logs/​{log-id}''​ Endpoint Address: ''​https://​campaign-logger.com/​gateway/​rest/​public/​logs/​{log-id}''​
 +
 +===== Example using jQuery =====
 +
 + $.ajax("​https://​campaign-logger.com/​gateway/​rest/​public/​logs/​...",​ {
 + dataType: "​json",​
 + headers: {
 + "​CL-Username":​ "​...",​
 + "​CL-Password":​ "​..."​
 + },
 + type: "​GET"​
 + }).then(function (data, status, jqXHR) {
 + // success
 + alert("​Found " + data.length + " entries"​);​
 + }, function (jqXHR, status, error) {
 + // failure
 + alert("​Error:​ " + error);
 + });
 +
 +
api/get-logs-id.txt ยท Last modified: 2016/07/12 09:51 by Jochen Linnemann