podio - Get item references -
using get item references returns few fields of app item. if use get item app_item_id drill down of fields.
is there more efficient way of doing can use 1 call instead of multiple calls details of referenced object? @ moment, plan repeat same calls each of referenced items.
use case have 'invoice' item in podio, 1 or more referenced 'inventory' items. using data push items through xero seperate line items.
thanks
please bundle responses (that's super powerful technique reduce number of requests). can read more bundling responses here: https://developers.podio.com/index/api (scroll page down)
ruby example
item_id = <some item id> item = podio::item.find(item_id, {'fields' => 'refs'}) puts item['refs']
Comments
Post a Comment