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
String
required
Name of the filenet system configured in Link Enterprise .
whereClause
String
required
A where clause Used to query filenet to return a set of files depending on criteria set.
selectedCMS
String
required
Value should always be set to "filenet" to let Link Enterprise know which configured content system to search.
location
String
optional
filenet folder where the file exists.
repository
String
required
Filenet repository where the file exists.
domain
String
required
Filenet domain where the file exists.
selectClause
String
required
filenet metadata field on which search is performed.
fromClause
String
required
metadata Class name where the metadata fields and values are available.
recursive
String
required
enable it to check if the file exists inside a subfolder.
orderBy
String
required
filenet property that needs to be displayed in response. This can multiple values separated with ",".