QueryOpeList

From NETIM
Revision as of 14:59, 2 August 2017 by Netim (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Release
API >= 2.0


Description

Returns the status (opened/closed) for all operations for the extension

array queryOpeList(string idSession, string tld)


Parameters

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

The extension can take the following values : BE BF BI ......


Return

An associative array with (Name of the operation, boolean active);
Example: domainCreate 1, domainTransferIn 0


Notes

None


Examples

PHP

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


Description

Returns the status (opened/closed) for all operations for the extension

array queryOpeList(string idSession, string tld)


Parameters

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

The extension can take the following values : BE BF BI ......


Return

An associative array with (Name of the operation, boolean active);
Example: domainCreate 1, domainTransferIn 0


Notes

None


Examples

PHP

<?php 
$clientSOAP = new SoapClient("http://URL.wsdl");
 
try 
{ 
      $idSession = $clientSOAP->login("XXXX", "XXXX", "EN"); 
      $arr = $clientSOAP->queryOpeList($idSession, "COM"); 
 
      print_r($arr); 
} 
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