Download a file from a transaction
Method: GET
Path: /api/transaction/{transactionId}/file/{fileId}
Retrieves a specific file from a transaction. The file is returned as a PDF document. The user must be the creator of the transaction to access the file.
Parameters
Responses
200
File retrieved successfully
Content-Type: application/pdf
Type: string
401
Unauthorized - user not creator of transaction
Content-Type: application/json
Schema: ErrorResponse
Properties
403
Forbidden - user is not the creator of the transaction
Content-Type: application/json
Properties
404
File not found or not yet processed
Content-Type: application/json
Schema: ErrorResponse
Properties
Example:
410
Gone - the document is no longer available (archived or deleted)
Content-Type: application/json
Schema: ErrorResponse
Properties
Example:
500
Internal server error
Content-Type: application/json
Schema: ErrorResponse