DomainTldInfo

From NETIM
(Difference between revisions)
Jump to: navigation, search
m (Text replace - "−>" to "->")
Line 51: Line 51:
 
try  
 
try  
 
{  
 
{  
       $idSession = $clientSOAP−>login("XXXX", "XXXX", "EN");  
+
       $idSession = $clientSOAP->login("XXXX", "XXXX", "EN");  
       $StructDomainTldInfo = $clientSOAP−>domainTldInfo($idSession, "com");  
+
       $StructDomainTldInfo = $clientSOAP->domainTldInfo($idSession, "com");  
 
       echo "<pre>";  
 
       echo "<pre>";  
 
       print_r($StructDomainTldInfo);  
 
       print_r($StructDomainTldInfo);  
Line 59: Line 59:
 
catch(SoapFault $fault)  
 
catch(SoapFault $fault)  
 
{  
 
{  
       echo "Exception : " .$fault−>getMessage(). "\n";  
+
       echo "Exception : " .$fault->getMessage(). "\n";  
 
}  
 
}  
  
 
if(isset($idSession))  
 
if(isset($idSession))  
 
{  
 
{  
       $clientSOAP−>logout($idSession);  
+
       $clientSOAP->logout($idSession);  
 
}  
 
}  
 
?>
 
?>
 
</source >
 
</source >

Revision as of 11:09, 2 October 2013

Release Runtime
API > 1.2 Synchronous


Description

Returns all available operations for a given TLD

StructDomainTldInfo domainTldInfo(string idSession, string tld)


Parameters

Format Variable Description Notes
string (32) idSession Session ID
string (255) tld Extension in uppercase without dot

The field Extension can take the following values: BE BF BI ......


Return

An object StructDomainTldInfo containing the Tld's informations


Notes

None


Examples

PHP

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{ 
      $idSession = $clientSOAP->login("XXXX", "XXXX", "EN"); 
      $StructDomainTldInfo = $clientSOAP->domainTldInfo($idSession, "com"); 
      echo "<pre>"; 
      print_r($StructDomainTldInfo); 
      echo "</pre>"; 
} 
catch(SoapFault $fault) 
{ 
      echo "Exception : " .$fault->getMessage(). "\n"; 
} 
 
if(isset($idSession)) 
{ 
      $clientSOAP->logout($idSession); 
} 
?>
Personal tools
Namespaces

Variants
Actions
Your account
Domain names
Shared Hosting
Old Hosting offers
SSL Certificates
Resellers
Affiliates
Contact Us
Miscellaneous