SessionOpen

From NETIM
Jump to: navigation, search


Release
API >= 2.0

Description

Opens a session for the reseller

string sessionOpen(string idReseller, string password, string language)


Parameters

Format Variable Description Notes
string (8) IdReseller Reseller account
string password Password
string (2) language Language for messages FR / EN


Return

A session ID - string(32)


Notes

The session number must be kept for next function calls.


Examples

PHP

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

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