Initialize dns zone

				
					StructOperationResponse domainZoneInit(string idSession, string domain, int numTemplate) 
				
			

Reset all DNS settings with a template.

REQUIRED


  • idSession string (32)
    Session ID.
  • domain string (255)
    Domain name.
  • numTemplate integer
    Template number.

An Object of type StructOperationResponse

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