8 Replies Latest reply on Mar 3, 2016 1:22 PM by greg.wright@act-on.net

    using the API to retrieve UserID and Username for all users

    greg.wright@act-on.net

      We don't have Active Directory and I'm told that the only way we can 'import' our user information (employee and manager) to populate the Org Chart is via API.

      I've successfully connected to the API using cURL and run some basic commands. I've already used PUT /people/{personID}/@reports/{reportPersonID} to successfully update my user account with my manager.

       

      I'm looking for a simple way to get a list of all users with UserID and Username only. So far my results have been far too verbose even though I tried to specify only the fields I wanted. Here is what I tried:

       

      curl --user username:password -X GET "https://subdomain.jiveon.com/api/core/v3/people/@all?fields=ID"

       

      Hopefully someone out there can help me out.

      Thanks!