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.
Add Comment
1 Answer(s)

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

Advanced Answered on October 14, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Become a Sponsor   Become a Sponsor