RE: How to download Quote PDF using Restlet or Soap
I need to download quotes pdf using api. Is there any way to download using api
Rookie Asked on October 14, 2020 in SuiteScript.
If the file already exists in the file cabinet, then you can get the file contents via SOAP by treaing it as a File record.
If the file does not already exist, you probably want to use a restlet instead. Use N/render to create the file and then return the contents as a string as part of your JSON response. Keep in mind that the file contents will be base64 encoded