QueryHostList

From NETIM
Jump to: navigation, search


Release
API >= 2.0


Description

Returns all hosts linked to the reseller account.

StructHostList[] queryHostList(string idSession, string filter)


Parameters

Format Variable Description
string (32) idSession Session ID
string filter The filter applies onto the host name


Return

An array of StructHostList


Notes

The character '*' is equivalent to the character '%' in SQL


Examples

PHP

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
$filter= "";
 
try 
{ 
      $idSession = $clientSOAP->sessionOpen("XXXX", "XXXX", "EN"); 
      $ArrayHostList = $clientSOAP->queryHostList($idSession, $filter); 
 
      print_r($ArrayDomainList); 
} 
catch(SoapFault $fault) 
{ 
      echo "Exception : " .$fault->getMessage(). "\n"; 
} 
 
if (isset($idSession)) 
{ 
      $clientSOAP->sessionClose($idSession); 
} 
?>
Personal tools
Namespaces

Variants
Actions
Your account
Domain names
Contact Us
Web Hosting
SSL Certificate
Email Hosting
Website Builder
Resellers
Affiliates
Miscellaneous