I am using rest_Client element and to set the data I am using Set_Values element.
My response is as below. I would like to filter by order. In each order there might be n number. I am seeing it correct in Jsonpath.com and in my loggers I only see the first match and rest are not showing up.
$[?(@.Order=='1')].OfficeCode
Can you please help me on this
{
"OfficeCode": "WCF",
"Order": 1
},
{
"OfficeCode": "LAPU",
"Order": 1
},
{
"OfficeCode": "BPF",
"Order": 1
},
{
"OfficeCode": "CNHL",
"Order": 1
},
{
"OfficeCode": "MTF",
"Order": 1
},
{
"OfficeCode": "EMF",
"Order": 2
},
{
"OfficeCode": "MONT",
"Order": 2
},