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

$clientSOAP = new SoapClient('https://URL.wsdl');

try {
    $idSession = $clientSOAP->sessionOpen('XX000', 'xxxxxxxx');
    $arraySessionInfo = $clientSOAP->queryAllSessions($idSession);
    print_r($arraySessionInfo);

} catch (SoapFault $fault) {
      echo 'Exception : ' . $fault->getMessage() . "\n";
}

if (isset($idSession)) {
      $clientSOAP->sessionClose($idSession);
}