Answer the question
In order to leave comments, you need to log in
How to get all values from ***.list methods when working with Bitrix24 API?
REST API Bitrix24 returns 50 requested elements.
How can I get the rest of the records using PHP?
Something like the next() method
$queryUrl = 'https://' . HomeController::DOMAIN . '.bitrix24.ru/rest/71/' . $token . '/crm.company.list.json';
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_SSL_VERIFYPEER => 0,
CURLOPT_POST => 1,
CURLOPT_HEADER => 0,
CURLOPT_RETURNTRANSFER => 1,
CURLOPT_URL => $queryUrl,
));
$result = curl_exec($curl);
curl_close($curl);
$result = json_decode($result, 1);
dd($result);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question