To Be more explicit (Edit 12/1/17): Is there an API to create Standard Quote PDF from standard quote template? It would appear not. So if not is there an Apex method to create standard quote pdf with templateId? If there is an apex method then we would build a custom API.
Original Post: We are creating the Quote data with the soap API happily. The quote is a "final quote" no need to be changed and hence while we are creating the quote we might as well generate the pdf and save it below the Quote. Or worst case retrieve it at the end of the generate process and then store wherever we please. Or do we need to build a web service within salesforce to handle the request? This may not even be possible, i.e. apex may not offer this either.
The key question is: Is there an API to create Quote PDF?
Visualforce
, and thePageReference
class has agetContentAsPdf
method that will allow you to save it as an attachment. Not clear from your question if that's what you're looking for.