REST GET snap
Hello Team,
I would like to know about a capability. Explaining below:
Lets assume i have a json object :
{“country”: “US”,
“event”: “CREATED”,
“OrderNumber”: “1125”
}
From the above JSON, i would like to pass the OrderNumber to REST GET snap.
The REST API is an inhouse API and is designed in such a way that , if we pass an order number , it send backs all relevant details like invoice date , billed by , billing number , order number etc
but when it does not find any match , it does not send any output .
I would like to build a case where if the match is found through the API , we would pass the billing number
but when the match is not found , we will provide a default number.
My issue is when the order number is not matched in the API , i do not get any output. Is there a way where we can enable pass through ?so that i get the original order number or schema passed ?