QueryDomainClaim

From NETIM
Jump to: navigation, search


Release
API >= 2.0


Description

Allows to know if there is a claim on the domain name

int queryDomainClaim(string idSession, string domain)


Parameters

Format Variable Description Notes
string (32) idSession Session ID
string (255) domain Domain name


Return

0 : no claim
1 : at least one claim


Notes

None

Examples

PHP

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


Description

Allows to know if there is a claim on the domain name

int queryDomainClaim(string idSession, string domain)


Parameters

Format Variable Description Notes
string (32) idSession Session ID
string (255) domain Domain name


Return

0 : no claim
1 : at least one claim


Notes

None

Examples

PHP

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


Personal tools
Namespaces

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