02/15/2023 06:55 AM
Hi Team,
Can you please provide your input for Syntax to pass a multi value dynamically in JSON.
Postman:
In Saviynt created a dynamic attribute Country and trying to pass the value in JSON. Tried with below syntax and it's not working:
\"country\":[\"${requestAccessAttributes.get('Country')}\"]
Thank you
Geeta
02/15/2023 11:39 AM
Can you please try with the below syntax
\"country\":\"${Country}\"
02/16/2023 02:09 AM
I tried and it's not working. In JSON it's in array values.
1.> \"country\":\"${Country}\"
2.>\"${[requestAccessAttributes.get(\"Country\")]}\"
Thanks
Geeta
02/16/2023 01:55 AM
I appreciate you reaching out to the Saviynt forums.
please try with the below syntax
\"country\":\"${Country}\"
Secondly you can validate Json syntax on https://codebeautify.org/jsonviewer
02/16/2023 02:07 AM
I tried and it's not working. In JSON it's in array values.
1.> \"country\":\"${Country}\"
2.> \"${[requestAccessAttributes.get(\"Country\")]}\"
Thanks
Geeta
02/16/2023 02:07 AM
Hi,
I tried and it's not working. In JSON it's in array values.
1.> \"country\":\"${Country}\"
2.> \"${[requestAccessAttributes.get(\"Country\")]}\"
Thanks
Geeta