Tagged: Connectors, mapping, openidm, REST
This topic has 12 replies, 2 voices, and was last updated 5 years, 9 months ago by Bill Nelson.
-
AuthorPosts
-
November 8, 2016 at 12:41 pm #14108
Tubin Shaji
ParticipantIs there any REST API documentation available for adding new connectors and mapping to OpenIDM?
November 8, 2016 at 2:29 pm #14109Bill Nelson
ParticipantConnectors 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 #14128Tubin Shaji
Participant@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?Thanks again,
Tubin ShajiNovember 9, 2016 at 10:13 am #14133Bill Nelson
ParticipantYes 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 #14135Tubin Shaji
ParticipantThanks 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 #14138Bill Nelson
ParticipantIf 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 #14142Tubin Shaji
ParticipantThat worked well!!!.
Hi Nelson, Thank you very much for your comments. I’ve got REST APIs for both connectors and mappings.
Thanks again,
Tubin ShajiNovember 9, 2016 at 1:46 pm #14144Bill Nelson
ParticipantCool. Glad I could help.
November 15, 2016 at 5:03 am #14290Tubin Shaji
Participant@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 #14296Bill Nelson
ParticipantThe 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.
-
This reply was modified 5 years, 9 months ago by
Bill Nelson.
November 15, 2016 at 2:14 pm #14298Bill Nelson
ParticipantAs 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 #14299Tubin Shaji
ParticipantOkay Nelson,I will check on it. Also, I will follow your side note next time.
November 15, 2016 at 2:39 pm #14301Bill Nelson
ParticipantCool. Thanks.
-
This reply was modified 5 years, 9 months ago by
-
AuthorPosts
You must be logged in to reply to this topic.