Calling IDM REST APIs from within workflows

Identity Manager since 4.5 provides REST APIs within the IDM Applications which has been used to develop the erstwhile dash/landing User Interface and the latest Identity Manager Dashboard since 4.6. The latest UI has been developed on top of these REST End Points. These REST End Points can be leveraged to get information about identities, their relationships, permissions. They can also be used to request access, or approve a request.

Sometimes (actually a lot of times), these APIs can be used from within the workflows or forms to get necessary information.

Couple of examples, build a user lookup widget in the forms can use the REST api to get users from the system (*&clientId=1&nextIndex=11&size=10&sortOrder=asc&sortBy=FirstName).

Similarly if you want to get information about logged in user in forms you can get that by using REST API to get logged in user's information (/IDMProv/rest/access/users/userDefaults).

You can get more information about the REST APIs available with the IDM Applications by referring to the REST API Documentation available within the product by referring to https://identity applications servername:8643/idmappsdoc URL.

Here is a sample PRD that gets the logged in user information using REST APIs in the approval form.

prd -- UserDefaults



How To-Best Practice
Comment List