Closed akhot09 closed 1 week ago
Hi @akhot09. Please use the following format when working with arrays [0].reference
[0] being the index of the array, reference being the key.
Please use the above format and let us know if it works.
Hi @launchiamenterprise -- Thanks for reply! Solution provided is working for example depicted in screen shots.
perfect , closing the issue for now. we will update the documentation
When we try to perform chaining of requests using “playground” option we are unable to tag query/path params of GET API request to JSON object which is part of JSON Array from previous API response in request flow. Below are detailed steps for the same.
I am using Key Runner Windows/Desktop Application - v1.0.45.0
a. One of GET API request need path param value from previous API call as depicted below.
b. The Previous API call has API response in JSON Array format, and we need a particular value from JSON array to be used as path param in next API call (which is failed in above screen shot) and we have mapped field against path param as shown in below screenshot.
The below screen shot shows -- Previous API call response:
The below screen shot shows -- Value Mapping to Path Param in next API call:
Further when we try to run requests in request flow via playground option, later API request (APIRequest-Get4) fails as it didn’t fetched value from previous API response (APIRequest-Get1) to mapped path parameters. So how this scenario can be achieved.