How to download Quote PDF using Restlet or Soap
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