Last modified 13 Mar 2024 13:32 +01:00
Import Shadow
curl --user administrator:y0uR_P455woR*d \
-H "Accept: application/json" \
-X POST http://localhost:8080/midpoint/ws/rest/shadows/062ac29f-f296-4824-aeab-9a0feb9e8bd3/import \
-v

The response is an HTTP 200 code in case of success with a response body containing the queried item.

Example Output of "Import shadow" example

The example is simplified, some properties were removed to keep the example output "short". This example does not contain all possible properties of this object type.

{
  "@ns" : "http://prism.evolveum.com/xml/ns/public/types-3",
  "object" : {
    "@type" : "c:OperationResultType",
    "operation" : "importShadow",
    "status" : "success",
    "importance" : "normal",
    "start" : "",
    "end" : "",
    "microseconds" : ,
    "invocationId" : ,
    "token" : ,
  "partialResults" : [ {} ]
}
Was this page helpful?
YES NO
Thanks for your feedback