export_pdf
Export REDCap instrument data as a PDF for one or all records, with options for event, instrument, and compact display.
Instructions
Export a PDF of one or all instruments for a record.
Args: record: Record ID to export. None exports all records (use with caution). event: Event name (longitudinal projects only). instrument: Specific instrument to export. None exports all instruments. repeat_instance: Repeat instance number for repeating instruments/events. compact_display: If True, uses compact PDF layout.
Returns: JSON object with base64-encoded PDF content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | No | ||
| record | No | ||
| instrument | No | ||
| compact_display | No | ||
| repeat_instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |