Configuring Multiple Entitlement Requests

To enable the functionality of sending multiple entitlement request of different type of entitlements (role, permission, groups and so on) in a single request to the managed system, set the value of addRemoveEntInSingleReq parameter to true as follows:

Copy
<entry key="addRemoveEntInSingleReq">   
   <value>
       <Boolean>true</Boolean>
   </value>
</entry>

You can configure the values of the following attribute using the IdentityNow REST API, refer to IdentityNow REST API - Update Source (Partial).

The following is an example for the payload: 

Copy
{
  "addRoleIds": $plan.addRoleIds$
}
  1. If addRemoveEntInSingleReq is set to false, then the placeholder value for the attribute marked as an entitlement is passed in separate API requests.

    First request payload:

    Copy
    jsonBody={ "addRoleIds": "9dd23398-b905-4878-b7ad-bc02d22171d9" }

    Second request payload:

    Copy
    jsonBody={ "addRoleIds": "8defe39c0-54f6-47b4-8a15-fcc2622923sk" }
  2. If addRemoveEntInSingleReq is set to true, then the placeholder value for the attribute marked as an entitlement is passed as an array and is executed in a single request.

    Single request payload:

    Copy
    jsonBody={ "addRoleIds": ["97ee39c0-54f6-47b4-8a15-fcc262292386","8defe39c0-54f6-47b4-8a15-fcc2622923sk"] }