Parsing external web service response | XM Community
Question

Parsing external web service response


Badge

We are calling an external web service in the survey flow and saving the response as embedded data. Here the response contains multiple records as array. We would like to know if there is any way to iterate through the response in qualtrics so that the embedded data can be saved in a specific format we require.


2 replies

Userlevel 3
Badge +2

The only way i can think of is to create a question in a block following the web service survey flow, and in the question, add javascript to pull the embedded data value and parse it and save it back into another embedded data field. And in block follows it, it can use the parsed values.

Userlevel 3
Badge +2

another thing you can try is try to use Spread Syntax in the web service survey flow block, i am not sure if Qualtircs support spread syntax, but it's worth a try:
Spread syntax

Leave a Reply