cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
373
Views
0
Helpful
0
Replies

Rest Element CVP V11.5

PrasadCh
Level 1
Level 1

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
    },
0 Replies 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: