DomainTldInfo

From NETIM
(Difference between revisions)
Jump to: navigation, search
Line 10: Line 10:
 
'''Description'''
 
'''Description'''
  
Returns all available operations for a given tld
+
Returns all available operations for a given TLD
  
 
  [[StructDomainTldInfo]] domainTldInfo(string idSession, string tld)
 
  [[StructDomainTldInfo]] domainTldInfo(string idSession, string tld)
Line 25: Line 25:
 
|style="width: 100px;" | string (32)|| style="width: 150px;" | idSession || style="width: 150px" | Session ID  || style="width: 300px" |
 
|style="width: 100px;" | string (32)|| style="width: 150px;" | idSession || style="width: 150px" | Session ID  || style="width: 300px" |
 
|-
 
|-
|string (255)|| tld|| Extension || ''in upper case without dot''
+
|string (255)|| tld|| Extension || ''in uppercase without dot''
 
|}
 
|}
  
Line 47: Line 47:
 
<source lang="php">
 
<source lang="php">
 
<?php  
 
<?php  
$clientSOAP = new SoapClient("http://drs.netim.com/1.4/DRS.wsdl");  
+
$clientSOAP = new SoapClient("http://URL.wsdl");
 
        
 
        
 
try  
 
try  

Revision as of 18:09, 18 July 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