You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Groovy to save Json or csv in Data Management Inbox

edited Aug 10, 2021 7:23PM in Planning 13 comments

Summary

Groovy to save Json or csv in Data Management Inbox

Content

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:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!