I try to use the getAllItems method but i can't use range option.
My code is :
`$client = new Glpi\Api\Rest\Client(URL_GLPI.'/apirest.php/', new GuzzleHttp\Client());
$client->setAppToken(GLPI_APPTOKEN);
$client->initSessionByCredentials(GLPI_USER, GLPI_PASS);
$itemHandler = new \Glpi\Api\Rest\ItemHandler($client);
Hi,
I try to use the getAllItems method but i can't use range option. My code is : `$client = new Glpi\Api\Rest\Client(URL_GLPI.'/apirest.php/', new GuzzleHttp\Client()); $client->setAppToken(GLPI_APPTOKEN); $client->initSessionByCredentials(GLPI_USER, GLPI_PASS); $itemHandler = new \Glpi\Api\Rest\ItemHandler($client);
$response = $itemHandler->getAllItems("user",array("'range'=>'0-500'")); `
If i use 0-500 range or 0-10 range, i always obtain the same result with statusCode 206 for partial result.
Any idea ?