cancel
Showing results for 
Search instead for 
Did you mean: 

Access/Map entire response in REST Call Task

apita
Champ in-the-making
Champ in-the-making

In the REST Call Task response mapping, is it possible to map the entire response payload to a string variable, instead of a specific JSON property. We're calling endpoints that return JSON without root elements and I need the entire response. Is this possible? Is there another way to access the entire response payload for the REST Call? I know I can map each individual element, but these payloads can become huge and contain a lot of nested properties.

1 ACCEPTED ANSWER

bassam_al-saror
Star Collaborator
Star Collaborator

Try using a dot for the property name in the response mapping.

View answer in original post

3 REPLIES 3

bassam_al-saror
Star Collaborator
Star Collaborator

Try using a dot for the property name in the response mapping.

This worked, thanks!

What if I have a JSON array as a response, and for example I would like to access a property of the first JSON object?