QueryResellerAccount

From NETIM
Jump to: navigation, search


Release
API >= 2.0


Description

Returns the list of parameters reseller account

StructQueryResellerAccount queryResellerAccount(string idSession)


Parameters

Format Variable Description Notes
string (32) idSession Session ID


Return

A structure of StructQueryResellerAccount containing the information


Notes

None


Examples

PHP

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


Release Runtime
API >= 1.5 Synchrone


Description

Returns the list of parameters reseller account

StructQueryResellerAccount queryResellerAccount(string idSession)


Parameters

Format Variable Description Notes
string (32) idSession Session ID


Return

A structure of StructQueryResellerAccount containing the information


Notes

None


Examples

PHP

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


JAVA

DRSServiceLocator service = new DRSServiceLocator(); 
String idSession; 
StructQueryResellerAccount arrayStructQueryResellerAccount; 
 
try 
{ 
      DRSPortType port = service.getDRSPort(); 
      idSession = port.login("XXXX", "XXXX", "EN"); 
 
      arrayStructQueryResellerAccount = port.queryResellerAccount(idSession); 
 
      System.out.println(arrayStructQueryResellerAccount["BalanceAmount"]+" "+arrayStructQueryResellerAccount["BalanceLowLimit"]+" "+arrayStructQueryResellerAccount["BalanceHardLimit"]); 
 
      port.logout(idSession); 
} 
catch (RemoteException re) 
{ 
      System.out.println(re.getMessage()); 
} 
catch (ServiceException se) 
{ 
      se.printStackTrace(); 
}
Personal tools
Namespaces

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