How to get a list of items by item_ids
I have tow questions, I am currently working on integrating a click-to-call app on Podio with the capability to pop a record relating to the dialled
phone number using our VOIP APIs.
1) I have a set of item_ids and I am trying to retrieve a full list of items using these set of item_ids. Is this possible and how do i apply
the ids as filters in one call.
2) I noticed that searching <pre> /search/app/{app_id}/</pre> for a text or keyword does not return that fields and values of the returned record
What is the best way to retrieve the full item details for a search phrase.
-
Hi Christian,
I don't think that 1) is possible (ie. get a set of items by item_id), but maybe someone else knows better.
Regarding 2), did you have a look into https://developers.podio.com/doc/items/filter-items-4496747 ? Depending on your use case that might be a viable alternative since search does not return enough data in your case.
Best,
Stefan -
Hi Stefan,
Yeah I already had a go with the filtering method but it seem item_id is not a valid filtering key. ERROR "error_description": "Invalid value \"item_id\" (string): Invalid filtering key",
I find it amusing if your API does not simply allow one to fetch a set of item by ids f.ex SELECT * FROM items WHERE item_id IN (..., ..., ...)
I really need this to work, please point me to the right direction.
-
Hi Christian,
to clarify: I don't work for Podio, so there is nothing I can really do for you except trying to give advice. And I cannot find an API-call to fetch items by their id either, even though the bulk delete method has such an option. Maybe Podio could add this as an option for fetching items as well.
In the meantime you probably have to fetch each item one-by-one. :/
Best,
Stefan
Please sign in to leave a comment.
Comments
15 comments