Extract only certain parameters from JSON output
Content
Hi all,
With an API call I want to list all available files in EPBCS which are available for downloading. The JSON body is printed to the log, but it seems that there is a maximum of characters in the log file (when opening the Business Rule in Jobs). Would it be possible to only print a certain parameter from the Json output into the log? I would only need the names of the files in this case. Currently I use the following code:
HttpResponse<String> Listfile = operation.application
.getConnection("Local cloud instance")
.get("/interop/rest/11.1.2.3.600/applicationsnapshots")
.asString()
println Listfile.status
0