This is an example for creating new OPSI Clients and setting ProductActionRequest's via PHP. You need the jsonRPCClient.php from [[http://jsonrpcphp.org/]] @:4447/rpc', "r"); $rpc = @new jsonRPCClient('https://administrator:@:4447/rpc', false, true); if($rpc) { try { $check = $rpc->authenticated(); if(!$check) { $loginerror=true; } else{ $info = $rpc->getOpsiInformation_hash(); $newclient = $rpc->createClient('','','','','', ''); $SetOS = $rpc->setProductActionRequest('win7', '','setup'); $SetSoftware = $rpc->setProductActionRequest('', '','setup'); } } catch (Exception $e) { $loginerror = true; } } ?>