Hi All,
I have created “ADD Entitlement operation” for Web service Connector
Its Working fine in Postman, in UI(SailPoint) its showing error
I have created a API in Postman to GET Users, roles, users, roles products
There is an separate API for entitlement names and role ID’s
How can i Combined both APIS entitlement names to Role ID’s
Webservice Application
The error is Connector error “Exception while updating account.Url: https://SBEU.api.blackline.com/v1/users/728/roles-products, Message: 400 : Bad Request, HTTP Error Code: 400”
While doing Entitlement aggregation also iam getting error below
Exception during aggregation of Object Type Role Products on Application Blackline [source]. Reason: java.lang.RuntimeException: An error occurred while aggregating Application Blackline [source] sailpoint.connector.ConnectorException: No configuration found for ‘Group Aggregation-Role Products’. Please add at least one operation and try again
Iam using post to assign entitlemets for users , its working on Postman and its showing error on UI(SailPoint)
So In your get Roles Entitlement Operation you need to create a afterOperationRule and prepare a combination of role+product. From the rule you can return Map like this to get both role-product id and role-product names
→ First API call you get some data, which is referred as response
→ Use the response from 1st API call to make 2nd API call
Configure HTTP operation with type Group Aggregation, configure everything including response mapping
Configure one more HTTP operation with type as Group Aggregation, in API endpoint, use Role ID or whatever as $response.roleID$ to get details of that particular Role (Products), configure response mapping, in Parent endpoint select 1st HTTP operation.
1st HTTP operation runs first, get all the data. For every Role it will call 2nd HTTP operation to get additional data.