3 Document File Request

post

/api/v1/document-file

Organizations in the owner seat of a project are able to export documents via this API. The Document-meta API provides a listing of available documents for export, depending on parameters specified. This API allows for individual export of those available documents. Documents available to the Owner:
  • GC documents - all documents signed on TPM, including invoice attachments, are available when the invoice is fully approved.
  • Subcontractor documents - all documents signed on TPM, including invoice attachments, are available when the GC invoice is fully approved and Open Book is enabled.
This API can support the export of different document types. These document types can be specified in the request sent to the API. The following are examples of document types to be exported, if selected:
  • Invoice
  • Sworn Statement
  • Lien Waiver
  • Conditional Lien Waiver
This API allows the user to export the documents, using the URI provided by the Document-meta API. To view what documents are available for export, refer to the Document-meta API. If the user would like to export all available documents in a consolidated export, then the Export Documents API may offer a better option.

Request

Header Parameters
Supported Media Types
Request Body - application/json ()
  • application/json
Root Schema : schema
Type: object
Show Source
  • The document URI must be contained within the payload in order to pull the file from the API
    Example: /api/v1/documents/document-file/250010/invoice-id/20110
Examples

Back to Top

Response

Supported Media Types

200 Response

The document is included in response.
Examples

Default Response

Links to working URLs
Back to Top