Dates and Times

[gte] = greater than or equal to

[lte] = less than or equal to

When using onlystartDate[gte] and/or startDate[lte]

When using startDate, if ScheduledSession'sstartDate is before/after the value in the given query parameter, the entire EventSeries will be returned

The whole EventSeries will be returned even if only one of its ScheduledSessions meet the startDate[gte]/onlystartDate[lte] value.

Example

"Show me all sessions starting at/after 11:45 on/after 27th"

The API call above will return all EventSeries that contain one or more ScheduledSessions starting on or after 11:45 on 27th February.

When using onlystartTime[gte] and/or startTime[lte]

When using startTime, the Platform will return any sessions that start at a specific time depending on the value of the parameters entered, regardless of the date of the sessions.

Example

"Show me all sessions starting at/after 08:30 or before/at 10:00 on any day"

The API call above will return all EventSeries that contain one or more ScheduledSessions starting at or after 08:30, but before or at 10:00. EventSeries returned may take place on the the date the API call is made and on any of the next 14 days.

When using startDate and startTime

It is possible to return items taking place before/after a specific date in the future and that start before/after a specific time on each day.

Example

"Show me all sessions starting after 11:45 on 27th, 28th, 1st, etc."

The API call above will return anything that takes place on 27th February and that starts at or after 11:45, on 28th February starting after 11:45, on the 1st Match starting after 11:45, etc. The inclusion of the startTime parameter means that only sessions that take place between 11:45:00 and 11:59:59 each day will be returned.

Due to the behaviour of the startDate parameter when it is used exclusively, all items taking place from 00:00 on 27th February would appear and also those taking place on subsequent days. This explains why the use of startDate and startTime returns less results than when the former is used by itself.

Last updated