Objective
This method is used to return all file information and also the path for a set of documents. DST must be provided.
Parameters
Parameter | Description | Type |
library | eDOCS library | String |
user | User name | String |
password | User password | String |
docNumbers | Document numbers separated by commas (“,”) or semicolon (“;”) | String |
dbSchema | Database schema. By default is set to “DOCSADM” if an empty string is passed. | String |
client | Optional parameter for the client code | String |
project | Optional parameter for the project code | String |
Rest Invoke
- http://localhost:port/GSService/xml/ or http://localhost:port/GSService/json/
- UriTemplate:
- “/GetDocFilenameExt/?library={library}&user={user}&password={password}&docNumbers={docNumbers}&dbSchema={dbSchema}&client={client}&project={project}”
- “/GetDocFilenameExtDST/?library={library}&user={user}&dst={dst}&docNumbers={docNumbers}&dbSchema={dbSchema}&client={client}&project={project}”
Example
http://localhost:8732/GSService/xml/GetDocFilenameExt/?library=DMTESTLEGAL&user=admin&password=owc123&docNumbers=754&dbSchema=DOCSADM
It returns a XML file with a node for each document and information about each version, subversion filenames and paths.
DST Example
http://localhost:8732/GSService/xml/GetDocFilenameExtDST/?library=DMTESTLEGAL&user=admin&dst=afd448a5d0f9b89f7c9fe2761d9...aa00dde14a8c677ad16b7540fe6f75a41e&docNumbers=754&dbSchema=DOCSADM
Error
It returns the application name or an error. Check the event.log file if you find errors.