Hello, in Survey Flow I have a web service where I am calling an API with a GET request. This works and returns JSON like this: Name:Color.
Susan:Purple
Bob:Green
Garett:Blue
etc. So the keys are dynamic.
Qualtrics will let you save values as embedded data if you know the keys.... but I don't. I need to save both keys and values as embedded data that I'm calling person like this:
person1name:Susan
person1color:Purple
person2name:Bob
person2color:Green
person3name:Garett
person3color:Blue
I can't figure this out? All the embedded data setting examples I find you have to know the key and you can only save the value.
Or if I could just save the whole response {"Susan":"Purple","Bob":"Green","Garett":"Blue"} and I can parse it in JS in the question I want to use it in.
Please help!
---
PS for anyone finding this in a search for trying to make basic authorization work in your web service, since I only found the answer in one buried post, it's, under custom headers, type Authorization on the left and then on the right it's Basic "base64encoded basic" So the right side will look like this Basic "asfaag22425"
Web Service: Saving JSON KEY as Embedded Data
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.