[midPoint] Object import / export between enviroments, with REST API

Ismael Moreno imoreno at corenetworks.es
Wed Sep 27 12:38:26 CEST 2017


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 | Fax: +34 91 766 20 20
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20170927/a45c019a/attachment.htm>
-------------- 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/20170927/a45c019a/attachment.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/20170927/a45c019a/attachment-0001.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/20170927/a45c019a/attachment-0002.png>
-------------- 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/20170927/a45c019a/attachment-0003.png>


More information about the midPoint mailing list