API Docs / Operations / Proposals / Download proposal PDF

Download proposal PDF

GET /api/tenants/{tenant}/proposals/{code}/pdf/proposal

Downloads the proposal PDF document.

  Returns the PDF file as binary content with appropriate headers for download.
  The response will include a Content-Disposition header with a filename in the format:
  proposal-{code}-{date}.pdf

  Prerequisites:
  - The proposal must exist
  - A PDF must have been previously uploaded (HasProposalPdf must be true)

  Returns:
  - 200: PDF file as application/pdf binary content
  - 404: If the proposal or PDF file is not found

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

code* path string

Responses

200 OK
application/pdf
401 Unauthorized - Invalid or missing API key
404 Not Found

Try it