Fetches the PDF or Word document version of a Quote. User settings determine which one is returned.



The ID of the Quote.


FM_api('Quotes_documentLink', ['id' => '1']);


On Success

These examples assume that the User has an ID of 123.

For a PDF file:


For a Word document file:


On Failure

If the User is not logged in:

{'error':'no logged in'}

If the specified Quote does not exist:

{'error':'quote does not exist'}

If an internal error occurs:

{'error':'error on database insert, please try again'}

Last updated