2 Replies Latest reply on Jul 20, 2015 1:04 PM by jim.menard@c+i

    REST API create endpoints do not return newly-created thing ID --- how do I get it?

    jim.menard@c+i

      For example, when I create a place or a person, how do I obtain the ID needed to reference that place or person in the future? I have a solution for person: search by username or email. But we are creating spaces and groups corresponding to "teams" in our application. Let's say I want to create a group corresponding to a "team". It's easy to POST to /places to create the new group, but how do I get the placeID for the newly-created group? The POST to /places returns a 201 status but no data indicating what the placeID just created is.