How to get a list of items by item_ids

Comments

15 comments

  • Stefan Ukena

    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

    0
    Comment actions Permalink
  • Christian Augustine

    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.

    0
    Comment actions Permalink
  • Stefan Ukena

    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

    0
    Comment actions Permalink
  • Christian Augustine

    Thanks for your precious time Stefan. I hope someone from Podio give me some hope!

    0
    Comment actions Permalink
  • Andreas Haugstrup Pedersen

    Christian, I've noted your feature request. It's a good idea, but I can't make any promises as to how/when/etc.

    0
    Comment actions Permalink
  • James Trusler

    This would be awesome, please can we have this... Just came across the same issue... I have to make n requests rather than just the 1 beautiful awesome request :)

    0
    Comment actions Permalink
  • Pieterjan M.

    +1, will be useful for us the developers and less resources intensive for Podio. Doesn't that sound like a win/win :)?

    0
    Comment actions Permalink
  • Prashant Soni

    just came across same issue it would be nice to have this feature as we dont have to make repeated call to Get Items

    0
    Comment actions Permalink
  • Pieterjan M.

    Hi Andreas, do you already have an idea if the "filter app on item ids" will be available soon? This could save me a lot of individual Podio::Item.find calls. Thanks

    0
    Comment actions Permalink
  • Andreas Haugstrup Pedersen

    We don't have any estimate for this feature request.

    0
    Comment actions Permalink
  • Christian Augustine

    I had to stop working on my integration project due to lack of this feature. Please prioritize it as its deemed essential for developers.

    0
    Comment actions Permalink
  • Andreas Haugstrup Pedersen

    Just a short follow-up: We have updated the API so you can now filter by item_id (and app_item_id). Just use item_id or app_item_id as the filter key and give it an array of item ids (or app item ids).

    2
    Comment actions Permalink
  • Pieterjan M.

    Hi Andreas, works like a charm, thanks a lot! Just name the address and I'll send a box of Belgian chocolates ;).

    0
    Comment actions Permalink
  • Christian Augustine

    Fantastic! Well done team!

    0
    Comment actions Permalink
  • Christian Augustine

    Hi Andreas, I was expecting the results to include the fields in the returned results?

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk