Filter by Key
AnsweredI've been trying to filter a request by key. Following the example described in the Podio API Doc and using the Sandbox I am setting as value in the key field the following "654321;6" where 654321 is the field_id and 6 the value. As a result I got the following: Invalid value "{key}" (string): Invalid filtering key.
I will appreciate anybody's advise.
-
Hi Andreas,
Sure the url it is https://api.podio.com/item/app/{app_id}/filter/ and the body it is
{filters:{"fecha": {"start":"2015-09-1 ","end":"2015-09-3 "}}} -
Is
fecha
a date field? If so, please try the keysfrom
andto
as described at the bottom of this page (under the date header): https://developers.podio.com/doc/filters -
Thanks Andreas for your message, my fault, I was able to solve it. One thing only, the response retrieve 20 items (default) how can I increase it to 50? I have done this:
{filters:{"created_on": {"start":"{date.startOfMonth}","end":"{date.endOfMonth}"}}},{"limit": 50}
but I continue getting 20 items instead 50. Appreciate your help
-
Here is a link to the response and I got only 20 items http://www.jsoneditoronline.org/?id=eb8fadaf70272352eeb45f82e22a5936
Please sign in to leave a comment.
Comments
12 comments