View Source

Use the {{getTaskHistoryLimit}} API to retrieve the current limit for your task history.
{code}
include('../common/parseargs.php');

$USAGE=" No arguments required ";

include('../common/basicargcheck.php');

#Retrieve the current limit for our task history.
try{

$client = new soapclient("https://$HOST:$PORT/Configuration?wsdl",
array('login'=>"$USER",
'password'=>"$PASS",
'trace'=>1
)
);

$response=$client->getTaskHistoryLimit() ;
var_dump($response);

echo "Successfully executed getTaskHistoryLimit\n";

exit(0);

}
catch (SoapFault $exception)
{
echo $exception;
exit(1);
}{code}