OP-DOWNLOAD-BY-TRACKING-ID: Download by tracking id¶
Looks up a tracking record by id and returns the associated output document only when the tracked status is Succeeded and an output file path is recorded.
Field
Value
Operation ID
OP-DOWNLOAD-BY-TRACKING-ID
Trigger
Client requests GET v1/legacy/download/{trackingId}
Caught exceptions are logged and returned as Ok(new PdfResult(message)) — HTTP 200; a missing/incomplete tracking record also returns 200 with a failure PdfResult
Tracking record not found, or status not Succeeded, or OutputFilePath null: not an exception — an explanatory failure PdfResult with HTTP 200 (BR-PDFAPI-013).
Any other exception (e.g. trackingId fails to parse as long — route does not match): produces the framework's default routing-failure response, not this operation's envelope.