Click HERE to see how Saviynt Intelligence is transforming the industry. |
02/21/2024 06:58 AM
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
02/21/2024 07:16 AM - edited 02/21/2024 07:17 AM
This is not supported. create account does not expose entitlements
02/28/2024 10:09 PM - edited 02/28/2024 10:11 PM
@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
02/28/2024 10:12 PM
create dynamic attribute
02/28/2024 11:23 PM
Like I said, creating dynamic attribute is not a feasible option