cancel
Showing results for 
Search instead for 
Did you mean: 

REST Call task support for mapping array elements in the JSON response

mallesh
Champ in-the-making
Champ in-the-making
Hi,
Does the REST call task support mapping of the array elements in the JSON Response?
For example if the REST service response is as below, what will be JSON property string to be used for mapping id to a variable while using the REST call task?
{
  "data": [ {
        "id": 100,
        "name": "asdf"
      },
      {
        "id": 101,
        "name": "lkjg"
      }
   ]
}

thanks
Mallesh
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
yes, it does data[0] for example should work.