Share all details about your problem, including any error messages you may have received.
Hi all, I am trying to add a group to a user account using the add entitlement operation. However, upon performing the add entitlement process, it will throw the error as shown above. I do not have a use case for update account how should I configure that?
Understand you point but I have configured groupName as entitlement now I am unsure how should I put each groupName into the api endpoint? If I were to raise request for 3 entitlements it should call the endpoint dynamically thrice.
The way you are referencing the groupName value is not correct. Instead you could reference that like: $plan.groupName$
So, your context URL should look like:
/iam/namespace/$plan.groupName$
If I were to raise request for 3 entitlements it should call the endpoint dynamically thrice.
That’s true, a request for 3 entitlements would call the API thrice.
There is a configuration parameter available for Web Service application, where instead of 3 requests(or any number of requests) it will only make one single call - addRemoveEntInSingleReq .
Looking at your configuration, I think for 3 entitlements you HAVE to call 3 different URLs (each with groupName included in the contextUrl). In that case, addRemoveEntInSingleReq might not be the thing you are looking.
If you check your ProvisioningPlan, you would see name of the AttributeRequest included in the plan. You could access all those AttributeRequest like: $plan.ATTRIBUTE_REQUEST_NAME$