User Tools

Site Tools


api

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
api [2019/09/08 09:49] – [Quote Request API] flackapi [2019/09/08 14:54] – [Quote API] flack
Line 1318: Line 1318:
   * **updated**: The update datetime the quote.   * **updated**: The update datetime the quote.
   * **valid_until**: The datetime until the quote is valid.   * **valid_until**: The datetime until the quote is valid.
-   +   
 +==== Download quote as PDF  ==== 
 + 
 +You can download a quote as a PDF file. Please note that the PDF file generation can take some time, the more item it contains the more time it will take to generate the file. 
 + 
 +The HTTP response contains a //Content-Disposition attachment; filename="<filename>"// header indicating that it should be downloaded. 
 + 
 +<code> 
 +http https://mcule.com/api/v1/iquotes/15677/download-pdf/ "Authorization: Token <your_token>" --download 
 +</code> 
 + 
 +==== Download quote as Excel (.xlsx) file  ==== 
 + 
 +You can download a quote as an Excel file. Please note that the file generation can take some time, the more item it contains the more time it will take to generate the file. 
 + 
 +The HTTP response contains a //Content-Disposition attachment; filename="<filename>"// header indicating that it should be downloaded. 
 + 
 +<code> 
 +http https://mcule.com/api/v1/iquotes/15677/download-excel/ "Authorization: Token <your_token>" --download 
 +</code>
api.txt · Last modified: 2023/06/03 07:19 by flack