Events API StartDate filtering only returning first event, not all events?
Hi, I have two events on a single date, yet calling the Events API and filtering on that date only returns one of the events?
The code snippet:
$("#listSessionButton").click(function(){
api.apiRequest({
apiUrl: api.apiUrls.events({
$filter: "StartDate eq 2020-03-01",
idsOnly: 1
}),
method: "GET",
success: function (data, textStatus, jqXhr) {
console.table(data)
alert(data.EventsIdentifiers);
The results:
EventsIdentifiers 3743709
Object
EventsIdentifiers: Array(1)
0: 3743709
length: 1
The events in the GUI attached.
Thanks very much
Kevin
-
Kevin Walton commented
FYI, Support have acknowledged this as a bug, have reported it to developers and have suggested I use:
`$filter = StartDate ge 2020-03-31 AND StartDate lt 2020-04-01`