getSchedule array maximum size
Posted: Fri Apr 24, 2015 10:10 am
I can get into the API and retrieve the schedule information using getSchedule. The problem is that the array maxes out at 50 even though there are more than 50 records to return. Does anyone know how I can fix this or point me to where I can find this within the API to fix it myself?
My code:
$schedule_obj = new TimeTrexClientAPI( 'Schedule' );
$schedule_filter = array(
'filter_data' => array(
'start_date' => strtotime('20150426'),
'end_date' => strtotime('20150502')
)
);
$result = $schedule_obj->getSchedule($schedule_filter);
$schedule_data = $result->getResult();
Any help would be much appreciated.
My code:
$schedule_obj = new TimeTrexClientAPI( 'Schedule' );
$schedule_filter = array(
'filter_data' => array(
'start_date' => strtotime('20150426'),
'end_date' => strtotime('20150502')
)
);
$result = $schedule_obj->getSchedule($schedule_filter);
$schedule_data = $result->getResult();
Any help would be much appreciated.