Get hosting information

				
					StructWebHostingInfo WebHostingInfo(string $IDsession, string $id, array $additionalData)
			

Return all information about a hosting.

REQUIRED

  • idSession string (32)
    Session ID
  • id string
    Hosting ID.
  • additionalData array
    Determines which values should be returned. Possible values are:
    • NONE
    • ALL
    • WEB
    • VHOSTS
    • SSL_CERTIFICATES
    • PROTECTED_DIRECTORIES
    • DATABASES
    • DATABASE_USERS
    • FTP_USERS
    • CRON_TASKS
    • MAIL
    • DOMAIN_MAIL

An Object of type StructWebHostingInfo

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{
    $additionalData = array("WEB","VHOSTS");
 
    $idSession = $clientSOAP->sessionOpen("XX000", "XX000", "EN"); 
    $clientSOAP->WebHostingInfo($idSession, "NW1024", $additionalData)); 
}
catch(SoapFault $fault) 
{
    echo "Exception : " .$fault->getMessage(). "\n"; 
}
 
if (isset($idSession)) 
{
    $clientSOAP->sessionClose($idSession); 
}