documents

Generate And Download Work Order

Generate a work order as PDF and return it for download.

This endpoint generates a work order PDF from project data and returns it as a downloadable file.

Args: request: Work order generation request db_service: Injected database service

Returns: PDF file for download

Raises: HTTPException: If generation fails or WeasyPrint not available

post/documents/generate-work-order-pdf

Request

  • Base URL: https://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.jeevyfabrication.com/documents/generate-work-order-pdf
  • Auth: none declared

Request body

project_idinteger required
output_formatstring
document_namestring nullable
include_client_infoboolean

Response

Successful Response

Changes

No recorded changes to this operation across all 1 revision of this API.