User Tools

Site Tools


api:get-logs-id

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