title: How to retrieve the list of positions including all the fields using the LinkedIn javascript sdk?
body: <p>I want to get the id, title, summary, start-date, end-date, is-current and company name for each position that a LinkedIn member has entered on its profile.</p>
  
  <p>I tested a query on the <a href="https://apigee.com/console/linkedin" rel="nofollow">REST Console</a> and I got the desired result. The query is "<a href="https://api.linkedin.com/v1/people/~/positions:(id,title,summary,start-date,end-date,is-current,company)?format=json" rel="nofollow">https://api.linkedin.com/v1/people/~/positions:(id,title,summary,start-date,end-date,is-current,company)?format=json</a>".</p>
  
  <p>The problem is that when I try to do the same thing using the LinkedIn javascript SDK I'm not getting the whole list of fields for each position. I'm getting the complete list of positions, but not all the fields for each position.</p>
  
  <p>This is the call that I'm doing with the javascript SDK:</p>
  
  <pre><code>//in this function I'm specifying the list of fields that I want to retrieve for each position
  //but I'm getting only some fields (id, start-date and end-date)
  function getProfileData() {
          IN.API.Raw("/people/~/positions:(id,title,summary,start-date,end-date,is-current,company)?format=json").result(onSuccess).error(onError);
  }
  </code></pre>
  
  <p>Somebody has any idea of what I need to do to get the same result than using the REST Console?</p>