[midPoint] REST API - import shadow does not work

Nico paetni1 at gmail.com
Wed Aug 7 10:51:34 CEST 2019


Hello,
i'm trying to use the REST API to import shadows on different resources.
Midpoint is running on version 3.8

I got a list of shadow id's (existing on different resources). The shadows
are unlinked or disputed.

But i always get returncode 404. If i query the shadow itself via the
RestApi i get the shadow object.
Example:
GET REQUEST TO:
http://localhost:8080/midpoint/ws/rest/shadows/88bbbf9f-5915-4ff2-940b-41285b82c925

is working fine

Import:

POST REQUEST TO:
http://localhost:8080/midpoint/ws/rest/shadows/88bbbf9f-5915-4ff2-940b-41285b82c925/import
returns 404 immediately
Must there be any request body which is not mentioned in the docs?

Has anyone used shadow import via Rest API?

Greets
Nico Pätzelt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20190807/1f5be914/attachment.htm>


More information about the midPoint mailing list