We are currently integrating Prisma with sailpoint ISC and we have problem getting group/entitlement ID for body in http request, the requirement for API create operation is getting group/entitlement ID and put in the parameter. The JSON raw structure is currently like this
defaultRoleId, and roleIds value is the group/entitlement ID that assigned to the user I have been using $plan.groups$ but its not working, any suggestion for this?
By default, the Web Services connector creates the account first and then sends entitlement requests separately. SailPoint documents createAccountWithEntReq as false by default, and says enabling it sends entitlements with the Create Account request in a single call: Additional Configuration Parameters
So for your case, enable Create Account with Ent Request / createAccountWithEntReq=true, then use the entitlement attribute name from your schema in the body. Since your entitlement attribute appears to be RoleId, test with something like:
"roleIds": [
"$plan.RoleId$"
]
This should work for a single role. If you are assigning multiple roles, or Prisma needs a different structure like defaultRoleId plus roleIds, use a Web Services Before Operation Rule to read the provisioning plan and update the request body before the call is sent. SailPoint’s Before Operation Rule doc confirms the rule receives the provisioningPlan and requestEndPoint, and can update the HTTP payload: Before Operation Rule
So I would do it in this order:
Enable createAccountWithEntReq.
Use $plan.RoleId$ since that matches your entitlement schema.
Use a Before Operation Rule only if you need to reshape the value into defaultRoleId / roleIds exactly as Prisma expects.