Download a port document
port_download_documentDownload the raw bytes of a port document using its document ID and request UUID. Returns content in the original MIME type, such as PDF.
Instructions
Download one port document's raw bytes (Content-Type mirrors the stored document). Get document IDs from port_list_documents. Note: binary content (e.g. PDF) is returned inline and may not be readable as text. Errors (JSON): NOT_FOUND, TNIQ_VALIDATION, TNIQ_ERROR.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Port request UUID (from port_list_requests or port_create_request) | |
| doc_id | Yes | Document ID (from port_list_documents) |