Download a Single Attached File in a BP

GET ws/rest/service/v1/bp/record/download/file/{file_id}

where the file_id is the file that you want to download.

Purpose

This web service enables the external application to download a specific attachment in a specific BP record, using the file id, in a:

If there is a revision performed on any attached files, the list API returns the latest revised file details.

If any of the attached files are revised (at the record level, or at the line item level), the API list will contain all those revised files.

Notes:

Input

All parameters should be URL encoded.

Path Parameter

file_id

Specify the file id.

Output

Octet-stream of the file along with JSON object containing 'status', 'data', 'message'

If the file id is valid, then the file content will come as a zip file, as a part of the response. To get the file, you must save the response.

Note: The output is in octet-stream format, which only has arbitrary binary data.

Related Topics

Business Processes

Fetch BP Record List

Get BP Record

Get BP Record With Attachments

Create BP Record

Update BP Record

Update BP Record with Attachment

Create BP Record with Attachment

Fetch BP Record List with filter_criteria

Payment Application with Auto-populate from SOV and Commits

Bulk Create Records

Bulk Update Records

Bulk Reverse Auto-populate Records

Asynchronous Bulk BP Operations

Asynchronous REST Call Status

Fetch List of Attached Files in a BP

Download Multipart or Large Files



Last Published Tuesday, July 1, 2025