Sign in to participate
Be Kind, Be Helpful
Ask a question, answer a question, and get to know the fine people in the Harvest community.
This is a Topic in API and Developers
User Firstname and Lastname from API
I am facing a problem where I am trying to retrieve the Firstname and Lastname of the user from the API using GET /people/#{user_id}.
This call works fine when I execute it with an administrative user, however with a normal user I get a 404 error and the following header is returned: X-404-Reason: admin_required
I am assuming the user needs to be an admin to access the people API, but I am only trying to get the details for the authenticated user.
Calls to /account/who_am_i/ works, however this does not return first name or last name.
Does anyone know how to resolve this problem? Any help will be appreciated.
Johan.