How to send Properly Evaluated Embedded Data to an API? | XM Community
Skip to main content

Hello,
Hoping someone has run into this problem.
I need to pass multiple embedded data variables in a JSON format to a 3rd party vendor, but I can't seem to get the embedded data to evaluated properly. I keep getting literal values passed to the API.
My current format looks like this:

[ {"StratificationID" : 1, "Level" : ${e://Field/StrataAge} ]

Anyone know how to get this to work?
Thanks.

 "SRC_COUNTRY": "${e://Field/SRC_COUNTRY}" -- Add double quotes around the embedded value that you're trying to pass


I will try this out, thanks!


Hello Aanurag,
You certainly do deserve the title of Qualtrics "guru". It worked exactly the way I needed. And I never would have guessed that quotes would evaluate a variable!
Thanks!
Todd


Leave a Reply