POST/ws/rest/dm/document
Purpose and Usage:
Provide a web service to retrieve all the documents (files) under a folder, by using the folder path.
Input:
Form Data
- Shortname (String) Required
Company short name.
- authcode (String) Required
Company authentication key.
- projectnumber (String) Optional
Project number for Project/Shell level DM. Empty for Company level DM.
- parentpath (String) Required
Path to a folder in DM
- iszip (String) Optional
The value "yes" is to retrieve all the files in a single zip file. The value "no" is to retrieve individual files. The default value is, "yes."
Output:
Output will be a multi-part response.
If iszip option is "yes", then the response file part will be a zip file containing all the documents. If iszip option is "no", then the output will be individual documents in the file part parameter.
Note: In order to finish the call successfully, users must put the parameters in the URL. This Web Service call does not permit users to put the parameters in the body as JSON.