Get all sessions

				
					StructSessionInfo[] queryAllSessions(string idSession)
				
			

Return all active sessions linked to the reseller account.

REQUIRED

  • idSession string (32)
    Session ID

An Array of StructSessionInfo

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