User Tools

Site Tools


api:get-logs

Get a list of all your logs

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 + " log(s)");
}, function (jqXHR, status, error) {
	// failure
	alert("Error: " + error);
});
api/get-logs.txt · Last modified: 2016/07/12 09:50 by Jochen Linnemann