Post

2 followers Follow
0
Avatar

Podio Item Calculate & filter by view

Hi

https://developers.podio.com/doc/items/calculate-67633

My question: Can I use the APIs item:calculate function in combination with filter by view?

Basically I would like to use this one API request and filter by the view ID and calculate the Sum of all values stored in the field X and I would expect the Podio API to return the result of this calculation.

Is this possible? Or do I need to use separate filter rules when using the calculate call?

Thanks

Malte Ahl

Please sign in to leave a comment.

1 comment

0
Avatar

From the documentation it seems to me you would have to define a filter with the request. The filter API does not include view in the list of possible filters https://developers.podio.com/doc/filters. 

But perhaps you just should use filter_by_view to get the items and do the calculation yourself in the code?

 

Henrik Huhtinen 0 votes