Agnostic Guides
...
Developers Guide
SharePoint Endpoints
Search
1min
Link Enterprise provides a web service endpoint that will allow you to retrieve a subset of documents/folders 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 Params
Body Parameters
cmsName
required
String
Name of the sharepoint system configured in Link Enterprise .
whereClause
required
String
A where clause Used to query sharepoint to return a set of files/folders depending on criteria set.
selectedCMS
required
String
Value should always be set to "sp" to let Link Enterprise know which configured content system to search.
repository
required
String
Sharepoint repository Id. It consists of sharepoint domain name and root site name separated with "/sites/" or ":/teams/"
location
required
String
Sharepoint Document Library location (including any sub site present). Each field is separated with "/".