I want to get all latest data received from the host by host id. By the specs i try this one
$itemids=array("36361","36362","36363","36364","36365");
$groups = $api->historyGet(array(
"output"=> "extend",
"history"=> 0,
"hostids"=> "10657",
"itemids" => $itemids,
"limit"=> 1
));
In response receive data only for the first array element. Thanks in advance.