Get domain web forwards list

				
					StructQueryWebFwdList[] queryWebFwdList(string idSession, string domain) 
			

Return all web forwards of a domain name.

REQUIRED


  • idSession string (32)
    Session ID.
  • domain string (255)
    Domain name.

An Array of Object of type StructQueryWebFwdList

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