The following example triggers a reconciliation operation based on
the systemLdapAccounts_managedUser mapping. The mapping
is defined in the file conf/sync.json.
$ curl
--header "X-OpenIDM-Username: openidm-admin"
--header "X-OpenIDM-Password: openidm-admin"
--request POST
"http://localhost:8080/openidm/recon?_action=recon&mapping=systemLdapAccounts_managedUser"
By default, an assigned reconciliation run ID is returned immediately when the reconciliation operation is initiated. Clients can make subsequent calls to the reconciliation service, using this reconciliation run ID to query its state and to call operations on it.
For example, the reconciliation run initiated previously would return something similar to the following:
{"_id":"0890ad62-4738-4a3f-8b8e-f3c83bbf212e"}To have the entire reconciliation run complete before the
reconciliation run ID is returned, set the
waitForCompletion property to true
when the reconciliation is initiated. For example:
$ curl
--header "X-OpenIDM-Username: openidm-admin"
--header "X-OpenIDM-Password: openidm-admin"
--request POST
"http://localhost:8080/openidm/recon?_action=recon&
mapping=systemLdapAccounts_managedUser&waitForCompletion=true"

