Forum Discussion
nmrao
10 years agoCommunity Hero
Please provide sample data and mention which value needs to be extracted, so that the same can be used in the next step.
mbryan829
10 years agoNew Contributor
Sorry if I didn't make it clear, I get a JSON response from a REST Get. In this JSON response are several blocks of JSON data that look like this
{
"workorder_id": 2240256,
"workorder_number": "BNSF-5934-0060",
"workorder_reason": "FL",
"workorder_status_code": "300",
"workorder_location_id": 524,
}
I want to extract the "workorder_id" and use it to populate the "Value" field in the next GET request.
There are several blocks of JSON data that have unique workorder_id's. I would like to take each one of these ID's and iterate through the second GET using these.
Please let me know if this is still not clear enough. Thanks!