QueryDomainPrice
From NETIM
Release |
---|
API >= 2.0 |
Description
Allows to know a domain's price
StructQueryDomainPrice queryDomainPrice(string idSession, string domain, string authID)
Parameters
Format | Variable | Description | Notes |
---|---|---|---|
string (32) | idSession | Session ID | |
string (255) | domain | Domain name | |
string (255) | authID | Authorization code / EPP code | Optional |
Return
An object StructQueryDomainPrice containing information about a domain's price
Notes
None
Examples
PHP
<?php $clientSOAP = new SoapClient("http://URL.wsdl"); try { $idSession = $clientSOAP->sessionOpen("XXXX", "XXXX","EN"); $StructQueryDomainPrice = $clientSOAP->queryDomainPrice($idSession, "netim.com"); print_r($StructQueryDomainPrice ); } catch(SoapFault $fault) { echo "Exception : " .$fault->getMessage(). "\n"; } if(isset($idSession)) { $clientSOAP->sessionClose($idSession); } ?>
Release | Runtime |
---|---|
API > 1.5 | Synchronous |
Description
Allows to know a domain's price
StructQueryDomainPrice queryDomainPrice(string idSession, string domain, string authID)
Parameters
Format | Variable | Description | Notes |
---|---|---|---|
string (32) | idSession | Session ID | |
string (255) | domain | Domain name | |
string (255) | authID | Authorization code / EPP code | Optional |
Return
An object StructQueryDomainPrice containing information about a domain's price
Notes
None
Examples
PHP
<?php $clientSOAP = new SoapClient("http://URL.wsdl"); try { $idSession = $clientSOAP->login("XXXX", "XXXX","EN"); $StructQueryDomainPrice = $clientSOAP->queryDomainPrice($idSession, "netim.com"); print_r($StructQueryDomainPrice ); } catch(SoapFault $fault) { echo "Exception : " .$fault->getMessage(). "\n"; } if(isset($idSession)) { $clientSOAP->logout($idSession); } ?>