Initialize dns zone

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

Reset all DNS settings with a template.

REQUIRED


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

An Object of type StructOperationResponse

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