[midPoint] REST examples

Pertti Kellomäki pertti.kellomaki at datactica.fi
Thu Oct 27 13:44:39 CEST 2016


Ok, got that figured out by myself. I was just confused by the relatively complex xml files in the samples directory. Simply post something like

<user><name>newuser</name><fullName>New User</fullName><givenName>New</givenName><familyName>User</familyName></user>

My next question is, can I get the oid of the newly created object back somehow? The POST does not seem to return anything. Do I search with the name of the new object or something else?

Thanks, Pertti
________________________________________
Lähettäjä: midPoint <midpoint-bounces at lists.evolveum.com> käyttäjän  puolestaPertti Kellomäki <pertti.kellomaki at datactica.fi>
Lähetetty: 27. lokakuuta 2016 13:38
Vastaanottaja: midPoint General Discussion
Aihe: [midPoint] REST examples

Hi,

I am trying to use the REST interface, and I am able to run the examples
given in the midPoint wiki. However, I'm having a hard time formulating
queries myself. Can someone share for example the xml needed to create a
new user via the REST api? Pointers to more examples or documentation
would also be much appreciated.

Pertti


_______________________________________________
midPoint mailing list
midPoint at lists.evolveum.com
http://lists.evolveum.com/mailman/listinfo/midpoint



More information about the midPoint mailing list