Call gf form entries by some filters via rest api!
-
Hi everyone!
I want to call gf form entries by specific filters in form fields via rest api. for example i want to get the entries for formID=12 and ip for 1.1.1.1.
To do this, In the postMan, i’ve create new request tab and follow these steps :
- Set request method to GET
- Set url to : mySite.com/wp-json/gf/v2/entries
- Set user and pass in Authorization tab
- in body section, i’ve these code :
{
“form_id”: 12,
“field_filters”: [
{
“key”: “ip”,
“value”: “1.1.1.1”
}
]
}And click on Send button. But still i’ve received all entries for all forms without any filter!! I think this filter not working!!
Can anybody help me which how to accomplish this task?
Thanks in advance
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Call gf form entries by some filters via rest api!’ is closed to new replies.