title: excatonline php contact list won't show all complete information from the created user account
body: <p>I tried to get data of "Contact" but i can't get these tags "AddressLine, City, FaxNumber, MiddelInitial, Note, State, ZipCode" </p>
  
  <p>When i looked in ExactOnline i saw that under "Contact" Voornaam, Tussenvoegsel, Achternaam, Functienaam, Telefoon, Mobiel, E-mail and these are the thing I only get a output of (if its filled in). </p>
  
  <p>Then I looked further and I saw "Relatie" over here are the parts i want but can't call it. </p>
  
  <p>How can i fix this?    </p>
  
  <pre><code> ================================
             Exactonline         
             Connection          
   ================================
  
  try {
          //Code
          for($i = 0; $i &lt;1;) {
          //AddressLine2
          for($o = 0; $o &lt;1;) {
          //BusinessPhone
          for($p = 0; $p &lt;1;) {
          //City 
          for($q = 0; $q &lt;1;) {
          //Country    
          for($w = 0; $w &lt;1;) {
          //Created
          for($e = 0; $e &lt;1;) {
          //Email
          for($r = 0; $r &lt;1;) {
          //BusinessFax
          for($t = 0; $t &lt;1;) {
          //FirstName
          for($y = 0; $y &lt;1;) {
          //LastName
          for($u = 0; $u &lt;1;) {
          //Initials
          for($a = 0; $a &lt;1;) {
          //Mobile
          for($s = 0; $s &lt;1;) {
          //Notes
          for($d = 0; $d &lt;1;) {
          //Phone
          for($f = 0; $f &lt;1;) {
          //State
          for($g = 0; $g &lt;1;) {
          //Postcode
          for($h = 0; $h &lt;1;) {
  
          $result = array();
          $contact = new \Picqer\Financials\Exact\Contact($connection);
          $result   = $contact-&gt;get();
          foreach ($result as $contact) {
          //Code
              ob_start();
              $i++;
              echo $result[]= $contact-&gt;Code;
              $filei[$i] = ob_get_contents();
              ob_end_clean();
              //echo $filei[$i]; //(Print available)
           //AddressLine2
              ob_start();
              $o++;
              echo $result[]= $contact-&gt;AddressLine2;
              $fileo[$o] = ob_get_contents();
              ob_end_clean();
              //echo $fileo[$o]; //(Print available)
            //BusinessPhone
              ob_start();
              $p++;
              echo $result[]= $contact-&gt;BusinessPhone;
              $filep[$p] = ob_get_contents();
              ob_end_clean();
              //echo $fileo[$p]; //(Print available)
            //City 
              ob_start();
              $q++;
              echo $result[]= $contact-&gt;City;
              $fileq[$q] = ob_get_contents();
              ob_end_clean();
              //echo $fileq[$q]; //(Print available)
            //Country
              ob_start();
              $w++;
              echo $result[]= $contact-&gt;Country;
              $filew[$w] = ob_get_contents();
              ob_end_clean();
              //echo $filea[$a]; //(Print available
           //Created
              ob_start();
              $e++;
              echo $result[]= $contact-&gt;Created;
              $filee[$e] = ob_get_contents();
              ob_end_clean();
              //echo $filee[$e]; //(Print available)  
          //Email
              ob_start();
              $r++;
              echo $result[]= $contact-&gt;Email;
              $filer[$r] = ob_get_contents();
              ob_end_clean();
              //echo $filer[$r]; //(Print available)
          //BusinessFax
              ob_start();
              $t++;
              echo $result[]= $contact-&gt;BusinessFax;
              $filet[$t] = ob_get_contents();
              ob_end_clean();
              //echo $filet[$t]; //(Print available)
         //FirstName
              ob_start();
              $y++;
              echo $result[]= $contact-&gt;FirstName;
              $filey[$y] = ob_get_contents();
              ob_end_clean();
              //echo $filey[$y]; //(Print available)
         //LastName
              ob_start();
              $u++;
              echo $result[]= $contact-&gt;LastName;
              $fileu[$u] = ob_get_contents();
              ob_end_clean();
              //echo $fileu[$u]; //(Print available)
         //Title
              ob_start();
              $a++;
              echo $result[]= $contact-&gt;Title;
              $filea[$a] = ob_get_contents();
              ob_end_clean();
              //echo $filea[$a]; //(Print available)
         //Mobile
              ob_start();
              $s++;
              echo $result[]= $contact-&gt;Mobile;
              $files[$s] = ob_get_contents();
              ob_end_clean();
              //echo $files[$s]; //(Print available)
         //Notes
              ob_start();
              $d++;
              echo $result[]= $contact-&gt;Notes;
              $filed[$d] = ob_get_contents();
              ob_end_clean();
              //echo $filed[$d]; //(Print available)
        //Phone
              ob_start();
              $f++;
              echo $result[]= $contact-&gt;Phone;
              $filef[$f] = ob_get_contents();
              ob_end_clean();
              //echo $filef[$f]; //(Print available)
         //State
              ob_start();
              $g++;
              echo $result[]= $contact-&gt;State;
              $fileg[$g] = ob_get_contents();
              ob_end_clean();
              //echo $fileg[$g]; //(Print available)
        //Postcode
              ob_start();
              $h++;
             echo $result[]= $contact-&gt;Postcode;
              $fileh[$h] = ob_get_contents();
              ob_end_clean();
              //echo $fileh[$h]; //(Print available)
                      }
                     }
                    }
                   }
                  }
                 }
                }
               }
              }
             }
            }   
           } 
          }
         } 
        }
       }  
      }
       //Witch contact 1,2,3,4,...
         $k = 1;
        //Code
         echo 'Code   = ' .$filei[1];
        //AddressLine2
        echo 'AddressLine   = ' .$fileo[$k];
        //BusinessPhone
        echo 'BusinessPhone = ' .$filep[$k];
        //City 
        echo 'City = ' .$fileq[$k];
        //Country
        echo 'Country = ' .$filew[$k];
        //Created
        echo 'created =  ' . $filee[$k];
        //Email
        echo 'Email = ' . $filer[$k];
        //BusinessFax
        echo 'BusinessFax  = ' . $filet[$k];
        //FirstName
        echo 'FirstName = ' .$filey[$k];
        //LastName
        echo 'Your last name = ' .$fileu[$k];
        //Initials
        echo 'Title = ' .$filea[$k];
        //Mobile
        echo 'Mobile = ' . $files[$k];
        //Notes
        echo 'Notes = ' .  $filed[$k];
        //Phone
        echo 'Phone = ' .  $filef[$k];
        //State
        echo 'State = ' .  $fileg[$k];
        //Postcode
        echo 'Postcode = ' . $fileh[$k];
  
  
  
          json_encode($result);
      } catch (\Exception $e) {
          json_encode(array(get_class($e) . ' : ' . $e-&gt;getMessage()));
      }
  
     =====================================
                     Autotask              
                   Connection            
      =====================================
      require_once 'C:\xampp\htdocs\Api\Autotask\vendor\autoload.php';
      $username = '++++++++++++++++++++++++++++++++++++++';
      $password = '++++++++++++++++';
  
      $contact= new ATWS\AutotaskObjects\Contact();
      $contact-&gt;id = 0; //0 for new and ID for update
      $contact-&gt;AccountID = 236;
      $contact-&gt;AlternatePhone = $filep[$k];
      $contact-&gt;Country = $filew[$k];
      $contact-&gt;CreatDate = $filee[$k];
      $contact-&gt;EMailAddress = $filer[$k];
      $contact-&gt;FirstName = $filey[$k];
      $contact-&gt;LastName = $fileu[$k];
      $contact-&gt;MobilePhone = $files[$k];
      $contact-&gt;Phone = $filef[$k];
      $contact-&gt;Active = '0';
  
      //$contact-&gt;AddressLine = $fileo[$k];+
      //$contact-&gt;City = $fileq[$k];+
      //$contact-&gt;FaxNumber = $filet[$k];+
      //$contact-&gt;MiddleInitial = $filea[$k];+
      //$contact-&gt;Note = $filed[$k];+
      //$contact-&gt;State = $fileg[$k];+
      //$contact-&gt;ZipCode = $fileh[$k];+
      echo "Auotask client created";
  
  
      $authWsdl = 'https://webservices.autotask.net/atservices/1.5/atws.wsdl';
      $opts = array('trace' =&gt; 1);
      $client = new ATWS\Client($authWsdl, $opts);
      $zoneInfo = $client-&gt;getZoneInfo($username);
  
      $authOpts = array(
          'login' =&gt; $username,
          'password' =&gt; $password,
          'trace' =&gt; 1,   // Allows us to debug by getting the XML requests sent
      );
      $wsdl = str_replace('.asmx', '.wsdl', $zoneInfo-&gt;getZoneInfoResult-&gt;URL);
      $client = new ATWS\Client($wsdl, $authOpts);
  
      print_r($client-&gt;create($contact));
  </code></pre>
  
  <p>This is the output i get if i run php script.</p>
  
  <pre><code>Code = 24
      AddressLine = 000000000
      BusinessPhone = 040-44445511
      City = 0000000
      Country = NL 
      created = /Date(1493085780497)/
      Email = test@sportmartbv.nl
      BusinessFax = 000000
      FirstName = Ellis
      Your last name = Renners
      Title = MEVR
      Mobile = 0682121519
      Notes = 000000000
      Phone = 040-444151151
      State = 000000000
      Postcode = 00000000
  </code></pre>
  
  <p>I would like to get full user information in the output. </p>
  
  <p>Any help would be greatly appreciated.</p>