Groovy to save Json or csv in Data Management Inbox
Summary
Groovy to save Json or csv in Data Management InboxContent
Are there anyway to use Groovy scripting within the application to save the HttpResponse<String> as a csv or json to Data Management Inbox?
Currently I'm exploring any possibility to use REST API through groovy to get data directly from cloud data storage. The HttpResponse<String> can get the json as string in Groovy.
HttpResponse<String> jsonResponse = operation.application.getConnection("Job Definitions").get().asString()
println ("Response: $jsonResponse.body")
However, the challenge is the following:
1. I can't find a way to save this json file to data management inbox.
Tagged:
1