Hi,
I am using the code below to retrieve the entire database.
JavaScriptvar currentRes = function () {
var tmp = null;
$.ajax({
async: false,
type: 'GET',
url: 'https://dxsurvey.com/api/MySurveys/getSurveyResults/xxxxx?accessKey=1234',
dataType: 'json',
success: function (data) {
console.log(data);
tmp = data;
}
});
return tmp;
}();
How, if it is possible, can I modify it so that I only retrieve results after a certain date and time, so that I get only recent data?
Thanks!