Upload proposal PDF

POST /tenants/{tenant}/engagements/{code}/pdf/proposal

Uploads a PDF document for the proposal.

The PDF should be sent as a base64-encoded string in the request body.

Request body example:
{
"pdfContent": "JVBERi0xLjQKJeLj..." // Base64-encoded PDF content
}

The uploaded PDF will be stored in Azure Blob Storage and associated with this engagement.
The engagement's HasProposalPdf flag will be set to true upon successful upload.

You can retrieve this PDF later using the GET /{code}/pdf/proposal endpoint.

Note: Uploading a new PDF will replace any existing proposal PDF for this engagement.

Requires: Update on Engagements.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

code* path string
{
  "pdfContent": "string"
}

Responses

200 OK
400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found