Hi again -
I'm making progress with my science project and have run up against the wall. I'm attepting to fetch items in my app based on a Category field where the value is set to 'Open'. I know I'm doing something wrong in the filter - it appears that it's honoring the field id since if I pass 'null' as the second member in the pair I successfully retrieve items with no value in that field. However if I pass the the value I'm looking for is get an error. I have also tried passing the optionId (1 or 2) with the same result.
Dictionary<string, string> filter = new Dictionary<string, string>();
filter.Add("23157745", "Open"); // Invalid value u'Open': Must not be basestring (at values)
//filter.Add("23157745", null); // works
var client = Podio.API.Client.ConnectAsApp(podioClientId, podioClientSecret, podioAppId.ToString(), podioAppToken, uri);
int limit = 100; // Max allowed is 500 items per request;
int offset = 0;
var items = client.ItemService.FilterItems(podioAppId, limit, offset, filter);
Please sign in to leave a comment.