Response Maps

Response Maps: You can map the response coming from the rest API call to your own custom variable. This works exactly like the Custom variables. You can use this anywhere in survey to display the response received or to make rules and branches based on response.
Example: Let’s say the response from your API is something like this: { “response”: {“status”:”OK”} }

To map responses, you have to click on Add response map In the Left text box, enter response.status and in right text box enter your own variable. Please make sure that your variable is unique.

In this case, I will name my variable Status. So, response.status will return OK which is mapped on to Status. {{Status}} will give the value OK which you can use like a Custom variable.