Check domain claim

				
					int queryDomainClaim(string idSession, string domain)
			

Return if there is a claim on the domain name or not.

REQUIRED


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

An Integer

0 : no claim
1 : at least one claim

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