Im trying to receive some items from a specific application based on a date range (start dates of the item).
Ive been trying a lot of options with filters for the filterItems() method bu without any luck.
$app_id = APP_ID;
$field_id = "date";
$filters = array(
'key' => $field_id,
'values' => array(
'from' => '2012-11-14',
'to' => '2012-11-17'
$items = $api->item->filterItems($app_id, $filters);
The API returns all items in the app, but a haven't had any luck with the date-range filtering.
Would be a great help of someone could point me in the right direction :)
Please sign in to leave a comment.