sitename.com/wp-json/frm/v2/entries/[display-frm-data id=view_id myparam="[field_id]"]When I hard code the entry to update via API, it works. When I test the View parameter, the filter works. When I use the View shortcode as the Notification URL as noted above, the update does not work and the logs say: "No route was found matching the URL and request method." It's like the shortcode as the end of the API Notification URL gets stripped out or ignored. Verified everything according to the Formidable docs here , and I've validated every possible way of dynamically retrieving an entry with that View and they all work. Can anyone shed some light on how I can update entries dynamically via API (or some other way :| )? Greatly appreciated.
Thanks for the suggestions, Chris. The entry ID is the crux and I appreciate the fact that you understood and reinforced the need to focus on solving that.
Since need to update entries in a form with 256 entries in it, the API route is my path to joy! Hopefully. I've re-verified and validated all the steps as suggested and have definitely discovered the failure, and am unable to fix it, since I'm not as skilled a coder as I'd need to be to code a workaround or a patch.
Good thing that Formidable provides multiple ways to achieve tasks, though. There's more than one way to build the Notification URL used by the API action. Yay!
Hi Chris,
Could you share how you overcame this problem? I need to obtain a dynamically created Entry ID from another form.
Hi Carlos,
If i need to update an entry via the API then i store the entry ID in a hidden field when the entry is created using this: https://formidableforms.com/knowledgebase/frm_after_create_entry/#kb-save-the-entry-id-in-a-field
Once you have the entry ID in a field you can use it in the same form in the API action or if you need to use it in another form you can pull it in with a Lookup field.
Hope that helps
Please login or Register to submit your answer