Objective

This method is used to return all file information and also the path for a set of documents. DST must be provided.

Parameters

ParameterDescriptionType
libraryeDOCS libraryString
userUser nameString
passwordUser passwordString
docNumbersDocument numbers separated by commas (“,”) or semicolon (“;”)String
dbSchemaDatabase schema. By default is set to “DOCSADM” if an empty string is passed.String
clientOptional parameter for the client codeString
projectOptional parameter for the project codeString

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.