Set to be renewed

				
					StructOperationResponse domainSetPreference(string idSession, string domain, string codePref, string value)
			

Define the “to be renewed” information on the domain name.

REQUIRED


  • idSession string (32)
    Session ID.
  • domain string (255)
    Domain name.
  • codePref string
    Set to: “to_be_renewed”.
  • value string (1)
    Set to: “0” to disable, “1” to enable.

An Object of type StructOperationResponse

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{ 
      $idSession = $clientSOAP->sessionOpen("XX000", "xxxxxxxx");
      $clientSOAP->domainSetPreference($idSession, "netim.com", "to_be_renewed", "1"); 
} 
catch(SoapFault $fault) 
{ 
      echo "Exception : " .$fault->getMessage(). "\n"; 
} 
 
if(isset($idSession)) 
{ 
      $clientSOAP->sessionClose($idSession); 
} 
?>