This topic has 12 replies, 2 voices, and was last updated 5 years, 9 months ago by Bill Nelson.

  • Author
    Posts
  • #14108
     Tubin Shaji
    Participant

    Is there any REST API documentation available for adding new connectors and mapping to OpenIDM?

    #14109
     Bill Nelson
    Participant

    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.

    #14128
     Tubin 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 Shaji

    #14133
     Bill Nelson
    Participant

    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.

    #14135
     Tubin Shaji
    Participant

    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?

    #14138
     Bill Nelson
    Participant

    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.

    #14142
     Tubin Shaji
    Participant

    That worked well!!!.

    Hi Nelson, Thank you very much for your comments. I’ve got REST APIs for both connectors and mappings.

    Thanks again,
    Tubin Shaji

    #14144
     Bill Nelson
    Participant

    Cool. Glad I could help.

    #14290
     Tubin 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?

    #14296
     Bill Nelson
    Participant

    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.

    Manager Relationship

    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.
    #14298
     Bill Nelson
    Participant

    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.

    #14299
     Tubin Shaji
    Participant

    Okay Nelson,I will check on it. Also, I will follow your side note next time.

    #14301
     Bill Nelson
    Participant

    Cool. Thanks.

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?