[midPoint] Object import / export between enviroments, with REST API
Pálos Gustáv
gustav.palos at evolveum.com
Thu Sep 28 12:10:15 CEST 2017
hi,
what version of MP do you use?
Please try to GET the user object, save it to user.xml and try to PUT the
same object back as update what happened.
Please send me your user.xml and appropriate part of error message from
idm.log when you try PUT.
Best regards,
Gustav
2017-09-27 12:38 GMT+02:00 Ismael Moreno <imoreno at corenetworks.es>:
> Hi,
>
> Thanks for the answer. I have tried use API - REST over curl with creating
> and delete operations successfully, but *update* operation with PATH or
> POST method doesn't work fine.
>
> For example, I have executed following operation with PATH, PUT and POST
> method multiple ways and I can't update object
>
> curl --user administrator:5ecr3t -H "Content-Type: application/xml" -X
> PATH http://localhost:8080/idm/ws/rest/users/eb81a23c-1007-403f-
> ab89-c23b95b872ac -d @<path>/user.xml -v
>
> and I obtain following response: 500 internal error
>
> I am following the documentation of update faithfully
>
> Regards
>
>
>
>
> --
>
> *Ismael Moreno Felipe* | Dpto. Soporte
>
> Tel: +34 91 767 10 65 <+34%20917%2067%2010%2065> | Fax: +34 91 766 20 20
> <+34%20917%2066%2020%2020>
> C. E. Parque Norte, Edificio Olmo, Planta 1
> Calle Serrano Galvache 56. 28033, Madrid
>
> <https://www.facebook.com/pages/Core-Networks/150695541723604>
> <https://twitter.com/corenetw>
> <http://www.linkedin.com/company/core-networks-sl>
>
> Segun el Articulo 5 de la L.O.P.D, le informamos que sus datos constan en
> un fichero titularidad de CORE NETWORKS, S.L., cuya finalidad es la gestion
> administrativa. Podra ejercer su derecho de acceso, rectificacion,
> cancelacion y oposicion mediante correo postal a C/ Serrano Galvache, 56,
> Edificio Olmo, 1 Planta - C.P. 28033 (MADRID), o enviando un correo
> electrónico a info at corenetworks.es.
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint
>
>
--
Gustáv Pálos
Identity Engineer
evolveum.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170928/5e744521/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bdfecdij.png
Type: image/png
Size: 479 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170928/5e744521/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: degajjjg.png
Type: image/png
Size: 490 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170928/5e744521/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ichchfia.png
Type: image/png
Size: 19341 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170928/5e744521/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jaidciec.png
Type: image/png
Size: 516 bytes
Desc: not available
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170928/5e744521/attachment-0003.png>
More information about the midPoint
mailing list