Get Document by File ID
GET /ws/rest/service/v1/dm/file/download/<file_id>
Purpose
Provide a web service to download the contents of a single document based on file id.
Input
Path Parameter
- file_id(Required) : The file id which needs to be downloaded
- Use “Get Folder or Document meta data by path” REST Service to get the file_id value for the document.
Output
Document file stream object.
Example
HTTP/1.1 200 OK
Date: Thu, 01 Sep 2016 15:35:07 GMT
Transfer-Encoding: chunked
Content-Type: application/octet-stream
Content-Disposition: attachment; filename=Autovue_reply.txt
<< Contents of the file being downloaded >>
Related Topics
Create Documents by Parent Folder ID
Update Documents Meta Data by Path
Update Document Meta Data by Document ID
Get Documents by Parent Folder ID
Last Published Tuesday, July 1, 2025