Support

Home Forums Community Forum Fetch event category using REST api in event-espresso-decaf

Fetch event category using REST api in event-espresso-decaf

Posted: February 3, 2017 at 3:08 am

Viewing 1 reply thread


sachintaware

February 3, 2017 at 3:08 am

Hello, we recently updated our system to the latest 4.9.* version and it worked fine. Now we are facing an issue with fetching the event category and metadata using the REST api for ee.

The earlier API request had a parameter meta which would return a response, using which we made another call to fetch the category. But the new API does not return the meta data.

The API url we are trying is http://events.mydomain.net/wp-json/ee/v4.8.29/events/114?include=EVT_name,EVT_desc,featured_image_url,link,EVT_slug,Datetime.DTT_EVT_start,Datetime.DTT_EVT_end,Datetime.Ticket.*,Venue.State.STA_name,Venue.Venues.*,Venue.Country.CNT_name,Term_Taxonomy

I tried adding EVT_slug and term taxonomy but even they did not return the expected result.

What should be the correct API endpoint to get the event category?


Josh

  • Support Staff

February 3, 2017 at 2:40 pm

What you have should work in that you’ll get a list of term taxonomies along with the term_taxonomy_id of each of the event categories assigned to the event.

Viewing 1 reply thread

The support post ‘Fetch event category using REST api in event-espresso-decaf’ 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