Your UX is waiting ...interact, engage, explore in Las Vegas at CloudWorld 2023

Learn more
Download file via an API in Groovy Rule — Cloud Customer Connect
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

Download file via an API in Groovy Rule

Accepted answer

Summary: What is the location on a local computer while downloading a file via an API in Groovy rule ?

Content (required): I'm trying to download a file from my EPMEnvironment to a local computer via an API interop/rest/v2/files/download calling it in groovy rule. But I don't know where is the location ? And when I search it in my searchtool I don't find.

Version (include the version you are using, if applicable):

Code Snippet (add any code snippets that support your topic, if applicable):

HttpResponse<String> jsonResponse7 = operation.application.getConnection("LaunchJob").post()

.body(json(["fileName": ""]))

Howdy, Stranger!

Log In

To view full details, sign in.


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