Skip to content

Developers - PDF

Velosity uses Word templates that are converted to PDF in various places:

  • Sales Quote
  • Sales Order
  • Production Order
  • Production Order Traveler

An example PDF of a Sales Quote is shown here: PDF

These templates are managed in the Documents section of Setup (ADMIN role). Each of these entities can have one or more Word templates to provide flexibility. In the user interface a dropdown is shown that lists these templates.

Detail

Note: document templates are different from Documents that are attached to an entity (Sales Quote, Sales Order, Production Order, Service Trouble Report). Documents attached to these entities are added (uploaded) by users.

How to Retrieve a PDF using the API

To retrieve a PDF using the API the DocumentID (Template) must be passed in as a parameter. Example:

GET: https://api.velosity.app/salesquotes/{salesquoteid}/pdf?DocumentID=ABC https://api.velosity.app/salesorders/{salesorderid}/pdf?DocumentID=ABC https://api.velosity.app/prodorders/{productionorderid}/pdf?DocumentID=ABC https://api.velosity.app/service/troublereports/{reportid}/pdf?DocumentID=ABC