Home › Forums › Calendar Products › Events Calendar PRO › Custom fields not included in REST API
- This topic has 6 replies, 4 voices, and was last updated 6 years, 7 months ago by Courtney.
-
AuthorPosts
-
August 17, 2017 at 8:10 am #1336786woxx s.c.Participant
I’m currently building a workflow to generate a paper version of our events using TEC’s REST API. We need the custom fields to display essential details on paper.
The REST API, as far as I can tell, does not include the custom fields. Is there an option I’m missing to enable them, or is it a bug?
Thanks!
Guillaume Rischard
- This topic was modified 6 years, 8 months ago by woxx s.c..
August 18, 2017 at 5:37 am #1337282CourtneyMemberHi Guillaume
At this time, we have a limited read only Rest API integration. You can find the ones we support directly via wp-json/tribe/events/v1/doc (which you can in turn plug into http://petstore.swagger.io/).
In the meantime you could create your own custom endpoints for the Calendar with this great information here http://v2.wp-api.org/extending/adding/
We’d love more votes on this feature in our user suggestions area.
Thanks
Courtney 🙂August 18, 2017 at 6:53 am #1337310woxx s.c.ParticipantThank you for your reply, one vote more then. It is a disappointment that custom fields, for which we bought the Pro version, cannot be read in the API without more work for us. We need them to export our calendar to a printed copy of our newspaper, and the data model is not complete without them for our lay-out.
What we are worried about is two-fold before proceeding with our project, which is based on The Events Calendar:
1. If we develop our own workaround, we may have to work again once the feature becomes available – and that means further development costs.
2. To avoid this and choose to go or not to go at this point, we would need to understand some sort of timeframe for this feature to be available.Would you please have an estimate for #2?
August 18, 2017 at 7:22 am #1337324CourtneyMemberHi Guillaume
Unfortunately, I don’t have an ETA for increasing our REST-API integration. If you feel this is a feature you need in the near future, I think your option for developer support sounds reasonable.
The code above lives in the
bucket\full-rest-api
I hope this helps you get that feature working sooner for you.
Thanks
Courtney 🙂September 9, 2017 at 9:36 am #1347082Support DroidKeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support TeamSeptember 25, 2017 at 11:16 am #1354406CourtneyMemberHey there
Just posting a quick update that we’ve just launched The Events Calendar – Full REST Support. You can read the release notes at https://theeventscalendar.com/release-events-calendar-full-rest-support/.
We also published a helpful guide: Introduction to The Events Calendar REST API https://theeventscalendar.com/knowledgebase/introduction-events-calendar-rest-api/ .
We’re excited to provide this functionality for you.
Thanks
Courtney 🙂 -
AuthorPosts
- The topic ‘Custom fields not included in REST API’ is closed to new replies.