QueryOpeList
From NETIM
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); } ?>