Agnostic Guides
...
Developers Guide
FileNet Endpoints

Search

1min

Link Enterprise provides a web service endpoint that will allow you to retrieve a subset of documents based on a search criteria.

Search for all documents using a where clause. If successful will return a JSON Array with a size greater then or equal to zero with status code of 200. Otherwise status code 500 is returned. If it's a known error returns 200 with error message in response.
POST
Request
Body Parameters
cmsName
required
String
Name of the filenet system configured in Link Enterprise .
whereClause
required
String
A where clause Used to query filenet to return a set of files depending on criteria set.
selectedCMS
required
String
Value should always be set to "filenet" to let Link Enterprise know which configured content system to search.
location
optional
String
filenet folder where the file exists.
repository
required
String
Filenet repository where the file exists.
domain
required
String
Filenet domain where the file exists.
selectClause
required
String
filenet metadata field on which search is performed.
fromClause
required
String
metadata Class name where the metadata fields and values are available.
recursive
required
String
enable it to check if the file exists inside a subfolder.
orderBy
required
String
filenet property that needs to be displayed in response. This can multiple values separated with ",".