download the pdf through REST API process design call | Community
Skip to main content
Level 3
January 8, 2025
Solved

download the pdf through REST API process design call

  • January 8, 2025
  • 1 reply
  • 652 views

Hi Team,

I have created process design that generate the pdf. The process design has 4 services

1- SetValue(execute)

2-ApplicationUtility(readApplicationAsset)

3-FormService(renderPDFForm)

4-OutputService(transformPDF)

When I am calling REST API (ex:) then the response Entity returning the url location where the pdf get stored temporarily not the actual pdf output. When I need the output pdf i need to call again the response entiry document url to get the pdf.

So, my question why we need to call 2 times to get the pdf. can we not download and save the pdf in one call

 

Best answer by Vijay_Katoch

Have you set the generated pdf as output variable?

1 reply

Vijay_Katoch
Community Advisor
Vijay_KatochCommunity AdvisorAccepted solution
Community Advisor
January 9, 2025

Have you set the generated pdf as output variable?

Khushwant_Singh
Adobe Employee
Adobe Employee
January 13, 2025

@amreen1 , Can you reply to @vijay_katoch's query? It would enable us to help you.

 

Let us know if you have already resolved the issue. Thanks!   

Amreen1Author
Level 3
January 13, 2025

I have setup the output variable.
Yes, we resolved it. We have added new step that giving the base64 string as pdf we haven't get