Set to be renewed

				
					StructOperationResponse sslSetPreference(string idSession, string IDSSL, string codePref, string value)
				
			

Define the “to be renewed” information on the certificate.

REQUIRED


  • IDSession string (32)
    Session ID.
  • IDSSL string
    SSL certificate ID (SSL-XXXX-XX).
  • codePref string
    Set to “to_be_renewed”.
  • value string
    Set to: “0” to disable, “1” to enable.

An Object of type StructOperationResponse

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
$IDSSL = 'SSL-XXXX-XX';
 
try 
{ 
      $idSession = $clientSOAP->sessionOpen("XXXX", "XXXX", "EN"); 
      $clientSOAP->sslSetPreference($idSession, $IDSSL, "to_be_renewed", "1"); 
} 
catch(SoapFault $fault) 
{ 
      echo "Exception : " .$fault->getMessage(). "\n"; 
} 
 
if(isset($idSession)) 
{ 
      $clientSOAP->sessionClose($idSession); 
} 
?>