Web service Add Entitlement operation

We are trying to add entitlement to user through SailPoint IDN but it is not getting assigned. If similar way, we are trying through postman it is getting assigned, Moreover if we are hardcoding the entitlement ID in body instead on “$plan.id$” also it is working from SailPoint IDN.

This is the body we are passing in add entitlement operation, I believe it is not able to fetch the entitlement id.
Body:
" {
“role_id”:“$plan.id$”
} "

Get Object - Group: in URL we are also passing entitlement id
Context URL:
" /custom_roles/$plan.id$ "

Please let us know how to resolve this.

Thanks in advance.

The value of role id would be coming from the plan as groups/entitlement object that you’ve defined in the account and group schema.

Check out an example here:
https://documentation.sailpoint.com/connectors/webservices/help/integrating_webservices/json_add_entitlement.html

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.