What is JotForm?
JotForm is a freeonline form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

Why do you not want to answer this thread?(Your answer will be sent to Jeanette and Aytekin)

How to filter requests? It seems that filtering doesn't work now

Asked by
lskjvbh
on November 24, 2015 at 06:46 AM

Please see the screenshot. This is a piece of response for "GET /user/submissions". The goal is to select ONLY those submissions that have "type: control_paypal" and/or "type: control_payment". And it seems that the filtering doesn't work. My request url is this: "https://api.jotform.com/user/submissions?apiKey=.....&limit=20&filter=%7B%22type%22%3A%22control_paypal%22%7D". I encode desired uri component like this "encodeURIComponent(JSON.stringify({"type":"control_paypal"}))" and append it to my request url. As you can see I do "limit=20". It means I have to get 20 entries with "type: control_paypal". But for some reason I get 20 entries and only 12 of them have "type: control_paypal". So the response is the same as without adding a filter, as if I only use "limit=20". My question is: How to filter? Does this feature work?here is much better markup http://developers.jotform.com/forum/post/56545743387b5d6518000015