JSON Path issue in ListView

Hi,

I am using a ListView and using API call to load the List.

In the ListView there are multiple fields which I want to fetch from the API Response.

In Generate Dynamic Children in List View, I have attached JSON Body. And in the separate children, I am assigning the JSON Path as $.items[:].sCityName.

But it generates error. Where I am going wrong?

My JSON Response is as follows

{

"page": 1,

"perPage": 30,

"totalItems": 2,

"totalPages": 1,

"items": [

{

"id": 1,

"collectionName": "Cities",

"sCityName": "ABC",

"sPinCode": "101010"

},

{

"collectionName": "Cities",

"id": 2,

"sCityName": "PQR",

"sPinCode": "121212"

}

]

}

4
16 replies