Such a problem is solved, I draw conclusions from Bitrix24. The command for that is used by task.planner.getlist . All this wrapped in its class function:

 $url = 'https://'.$newObj->domain.'/rest/task.items.getlist?auth='.$newObj->access_token; $data = @file_get_contents($url); $response = $newObj->call_public($data); public function call_public($data) { $array_res = get_object_vars(json_decode($data)); return $array_res; } 

And for some reason, it displays only 50 records, no longer wants, although there are more than 200 of them. What is the problem? Who faced similar?

    1 answer 1

    PARAMS Array for call options. The element is an array NAV_PARAMS of the form {"call option": 'value' [, ...]}, which stores the following options:

    • nPageSize - the number of elements on the page. In order to limit the load on pagination navigation imposed a limit of 50 tasks.
    • iNumPage - page number when navigating by page.

    http://dev.1c-bitrix.ru/rest_help/tasks/task/item/list.php

    Obviously, you need to get the next page until you return 404, an empty array, or you type the required number of tasks in the buffer.