Support

Home Forums Event Espresso Premium JSON Event Category query?

JSON Event Category query?

Posted: June 6, 2014 at 9:02 am


Mike Heath

June 6, 2014 at 9:02 am

Hey guys,

On the EE JSON documentation, it says that using the /events/ endpoint I can query all of the data that is returned, but I’m having a hard time figuring out how to query the event categories.

I’ve tried these and variations of them:
/espresso-api/v1/events/session-key?Categories=3
/espresso-api/v1/events/session-key?Event.Categories=3
/espresso-api/v1/events/session-key?Category=3
/espresso-api/v1/events/session-key?Categories__like=3
/espresso-api/v1/events/session-key?Category.id=3

But nothing is working. I get the same error:
“status”: “Query parameter ‘Categories’ not a valid parameter of resource ‘Event'”,
“status_code”: 400

Little help?
Thanks!
Mike


Sidney Harrell

June 6, 2014 at 3:04 pm

The Categories controller was added in the 2.2 version. We are working on getting that pushed into the pre-release channel. I’ll go ahead and email you a copy.

The support post ‘JSON Event Category query?’ 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