Get domain price

				
					StructQueryDomainPrice queryDomainPrice(string idSession, string domain, string authID)
				
			

Return the prices of a given domain name.

REQUIRED

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

  • authID string (255)
    Authorization code / EPP code

An Object of type StructQueryDomainPrice

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