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
Creating a client doesn't return the created client?
Maybe I’m missing something, but when you create a client by making a POST to /clients I’d assume that the new client would be returned in the response so that you wouldn’t have to get a new list of clients to determine the ID that was generated for it. Is there some way to figure out the ID without having to make another request for all the clients?
After creating the client, you will get the location to find the client in the Location header. It will look like this:
/clients/#{new_client_id}
A GET to that resource will get you the client information. Hope that helps!