Hello I have some services and I want to get their "uptime" with the API.
I have already the SLA with this code:

PHP Code:
$apiT = new ZabbixApi($apiurl$user$passwd);
    
$apiT->setDefaultParams(array(
        
'output' => 'extend',
        
'serviceids' 
...