November 8, 2016 at 12:41 pm #14108
Is there any REST API documentation available for adding new connectors and mapping to OpenIDM?November 8, 2016 at 2:29 pm #14109
Connectors and Mappings are both configuration objects in OpenIDM. You can interact with the openidm/config endpoint to manage these objects.
See section 6.4 (“Configuring OpenIDM Over REST”) in the OpenIDM Integrator’s Guide.November 9, 2016 at 4:56 am #14128
@Bill Nelson, Thanks for you valuable information.
Could you please give a little more clarification about my doubts. Here is my questions,
-Is it possible to to add a new ldap connection(Say openDJ) to my OpenIDM with one single REST API call?
-Is it possible to add a new mapping with a single REST API call?
Tubin ShajiNovember 9, 2016 at 10:13 am #14133
Yes it is possible to do both of them with two individual REST calls; one to create the ldap configuration and one to create the mapping.November 9, 2016 at 10:30 am #14135
Thanks for your quick response Nelson, As per your first comment, I had a research and found the API for connector.
One last question,
Do we need to pass the details of existing mapping data(in json) with the REST API call to create a new mapping? If not, which method we need to choose, PUT or POST?November 9, 2016 at 10:50 am #14138
If you use a PUT, you will need to pass existing mappings along with anything new you want to add. If you use a POST, you could try to do this with a PATCH operation, instead. That would only require the new information you are adding.November 9, 2016 at 12:38 pm #14142
That worked well!!!.
Hi Nelson, Thank you very much for your comments. I’ve got REST APIs for both connectors and mappings.
Tubin ShajiNovember 9, 2016 at 1:46 pm #14144
Cool. Glad I could help.November 15, 2016 at 5:03 am #14290
@bill-nelsonidentityfusion-com Is there any method to handle multiple manager relation in OpenIDM and Is it possible to fetch a particular managers details from the user details query?November 15, 2016 at 2:12 pm #14296
The default behavior in the OpenIDM Admin Console is for a user to have one and only one manager. Here is a screenshot of the Edit User page with a focus on the assignment of the manager to the user.
This effectively creates an entry in the relationship table between those two objects. This restriction is being enforced by the Admin Console – not the data model, however. I don’t see any reason why you can’t simply add additional associations to create the many to many relationships you are asking about. You would just need to interact with OpenIDM via your own WebUI or via REST in order to see those relationships.
November 15, 2016 at 2:14 pm #14298
- This reply was modified 5 years, 9 months ago by Bill Nelson.
As a side note, it would be better if you opened new posts in this forum rather than reusing the same one for multiple questions. This allows others to respond and gives others the ability to search/locate content much more easily.November 15, 2016 at 2:27 pm #14299
Okay Nelson,I will check on it. Also, I will follow your side note next time.November 15, 2016 at 2:39 pm #14301
You must be logged in to reply to this topic.