Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Passing the entitlement value during createaccount

shivmano
Regular Contributor III
Regular Contributor III

Hi Team,

I have a requirement that I need to pass the entitlement selected by user as part of the CreateAccountJSON. Please can someone advise how this can be achieved. The target application requires the role to be sent as mandatory parameter during account creation. Here is my createaccountjson

{
"accountIdPath": "accountName",
"call": [
{
"name": "call1",
"connection": "userAuth",
"url": "xxxxxx",
"httpMethod": "POST",
"httpParams": "{\"userId\":\"${user.email}\",\"firstName\":\"${user.firstname}\",\"lastName\":\"${user.lastname}\",\"Roles\":[\"<entitlement>\"]}",
"httpHeaders": {
"contentType": "application/json",
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [200,201]
},
"unsuccessResponses": {
"statusCode": [
400,
401,
403,
404,
408,
500
]
}
}
]
}

I need to be able to send the entitlement selected by user during request for "Roles" 

Thank you

4 REPLIES 4

rushikeshvartak
All-Star
All-Star

This is not supported. create account does not expose entitlements

https://forums.saviynt.com/t5/identity-governance/fetching-selected-entitlement-value-in-dynamic-att...


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

shivmano
Regular Contributor III
Regular Contributor III

@rushikeshvartak is there any workaround to be able to send the entitlement selected by user during new account creation? Configuring those as dynamic attributes will cause additional issues with entitlement approvals 

create dynamic attribute


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

shivmano
Regular Contributor III
Regular Contributor III

Like I said, creating dynamic attribute is not a feasible option