title: LogMeIn API - getSession?
body: <p>The LogMeIn API's "getSession" call is driving me a bit crazy. According to their documentation, you should be able to input an iNodeID either from the getHierarchy call or just the tech's ID# from the LogMeIn admin page and it will report their open session information, but no matter what I use, I get an error "stdClass Object ( [getSessionResult] => getSession_InvalaidParam_NodeID )" Has anyone ever seen this?</p>
  
  <p>Here is my code:</p>
  
  <pre><code>    &lt;?php
      require("/usr/local/lib/php/nusoap/nusoap.php");
      $loginParams = array(
            'sEmail' =&gt; *hidden*,
            'sPassword' =&gt; *hidden*
            );
      $soapclient = new soapclient("https://secure.logmeinrescue.com/API/API.asmx?WSDL");
      $loginResult = $soapclient-&gt;login($loginParams);
      $hierparams = array(""=&gt;"");
      $hierarchyResult = $soapclient-&gt;getHierarchy($hierparams);
      $hierarchy = $hierarchyResult-&gt;aHierarchy;
      $nodes = $hierarchy-&gt;HIERARCHY;
      $numberofnodes = count($nodes);
      echo "&lt;table border =\"0\" cellspacing = \"5\"&gt;";
      for ($iNodes = 0; $iNodes &lt; $numberofnodes; $iNodes += 1)
      {
        if($nodes[$iNodes]-&gt;eStatus == "Online" &amp;&amp; $nodes[$iNodes]-&gt;eType == "Technician"){
          print_r("&lt;tr&gt;");
          print_r("&lt;td&gt;Name: " . $nodes[$iNodes]-&gt;sName . "&lt;br /&gt;&lt;/td&gt;");
  
   ####This works
          print_r("&lt;td&gt;ID: " . $nodes[$iNodes]-&gt;iNodeID . "&lt;br /&gt;&lt;/td&gt;");.
   ###############
  
          print_r("&lt;td&gt;Email: " . $nodes[$iNodes]-&gt;sEmail . "&lt;br /&gt;&lt;/td&gt;");
  
   ####This doesn't.
          $sessioninfo = $soapclient-&gt;getSession($nodes[$iNodes]-&gt;iNodeID);
   ################
          print_r("&lt;td&gt;Session Dump: ". print_r($sessioninfo) . "&lt;/td&gt;");
          print_r("&lt;/td&gt;");
         }
      }
      print_r("&lt;/table&gt;");
      $soapclient-&gt;logout();
      ?&gt;
  </code></pre>