Retrieve the final report for a given accession

Retrieves the final report for a specific accession.
The accession must be received (status >= AWAITING_DATA_ENTRY).
The endpoint fetches the latest attachment of certain document types, downloads it from S3, encodes the file in Base64, and returns it.

Required Permission: Controller: api_v2_order_messaging, Action: final_report.

Language