Support

Home Forums Event Espresso Premium API – where event != expired

API – where event != expired

Posted: June 26, 2018 at 2:02 pm

Viewing 2 reply threads


dassaultfalcon

June 26, 2018 at 2:02 pm

Hi !

Is there a way I can query the events that are not expired ? I see a status, but that is “Published” .. ?

Thanks,
Amit


Josh

  • Support Staff

June 26, 2018 at 2:10 pm

Hi Amit,

You could query the related Datetime model for the event’s Datetime end, then compare to today’s date.

See also:

https://github.com/eventespresso/event-espresso-core/blob/master/docs/C–REST-API/ee4-rest-api-GET-filtering-results.md#related-resources-fields-are-also-queryable


dassaultfalcon

June 26, 2018 at 2:14 pm

Ahhh .. Makes sense. Thanks !

Viewing 2 reply threads

The support post ‘API – where event != expired’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso