Procore.Api.ConstructionFinancialsCommitmentsRequisitionSubcontractorInvoiceSinglePDFCompilers (procore_sdk v0.3.0)

API calls for all endpoints tagged ConstructionFinancialsCommitmentsRequisitionSubcontractorInvoiceSinglePDFCompilers.

Summary

Functions

Merges one or more PDFs of a requisition into a single PDF Merges one or more PDFs of a requisition into a single PDF. There are two ways to use this endpoint. First to generate a cover sheet for the requisition. If you would like to receive a polling URL that will follow the job provide the polling option in the query params polling=true. If you would like the file emailed to you omit the polling param in the query params. You can use the following request payload as an example json { "files":[ {"type": "cover_sheet", "id": ""} ] } If you would like to include some attachments, you can use the following request payload as an example json { "files": [ { "id": "", "type": "cover_sheet" }, { "id": 1234, "url": "http://example.com/file_1.pdf", "type": "prostore_file" } ] }

Functions

Link to this function

rest_v10_requisitions_requisition_id_single_pdf_compilers_post(connection, procore_company_id, requisition_id, project_id, body23, opts \\ [])

Merges one or more PDFs of a requisition into a single PDF Merges one or more PDFs of a requisition into a single PDF. There are two ways to use this endpoint. First to generate a cover sheet for the requisition. If you would like to receive a polling URL that will follow the job provide the polling option in the query params polling=true. If you would like the file emailed to you omit the polling param in the query params. You can use the following request payload as an example json { "files":[ {"type": "cover_sheet", "id": ""} ] } If you would like to include some attachments, you can use the following request payload as an example json { "files": [ { "id": "", "type": "cover_sheet" }, { "id": 1234, "url": "http://example.com/file_1.pdf", "type": "prostore_file" } ] }

Parameters

  • connection (Procore.Connection): Connection to server
  • procore_company_id (integer()): Unique company identifier associated with the Procore User Account.
  • requisition_id (integer()): Requisition (Subcontractor Invoice) ID
  • project_id (integer()): Unique identifier for the project.
  • body23 (Body23):
  • opts (keyword): Optional parameters
    • :polling (boolean()): Determines if the PDF is emailed or a job URL is returned

Returns

  • {:ok, Procore.Model.RestV10RequisitionsRequisitionIdSinglePdfCompilersPost200Response.t} on success
  • {:error, Tesla.Env.t} on failure