Show Or Create Document Markup Downloadable PDF
show_or_create_document_markup_downloadable_pdfFinds or creates a downloadable PDF with document markup for a Procore attachment. Submit project, item, and attachment IDs to get a download URL or async job handle.
Instructions
Find or Create Document Markup Downloadable PDF. Starts processing to create a downloadable PDF with markup. When completed, the same request will include a download URL for the PDF. item_id, item_type, and attachment_id paramters are the same parameters included in the URL when viewing the attachment in procore. Example: app.procore.com/161072/project/submittal_logs/document_viewer?attachment_id=43&item_id=42&item_type=SubmittalLog&project_id=161072. Use this to perform the show or action on Document Markup records. Generates the export and returns a download URL or async job handle. Required parameters: project_id, item_id, item_type, attachment_id. Procore API: Project Management > Document Markup. Endpoint: POST /rest/v1.0/document_markup_downloadable_pdfs/find_or_create
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version_datetime | No | Query string parameter — version Datetime of the Document | |
| project_id | Yes | JSON request body field — unique identifier for the Procore project | |
| item_id | Yes | JSON request body field — the ID of the parent item this document belongs to | |
| item_type | Yes | JSON request body field — the type of the parent item this document belongs to (eg SubmittalLog) | |
| attachment_id | Yes | JSON request body field — unique identifier of the attachment |