Search
1 min
Link Enterprise provides a web service endpoint that will allow you to retrieve a subset of documents based on a search criteria.
Search
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
https://localhost:82/scrud/search
Body Parameters
- cmsNameStringrequiredDescription
- whereClausestringrequiredDescription
- selectedCMSstringrequiredDescription
- locationstringDescription
- repositorystringrequiredDescription
- domainstringrequiredDescription
- selectClausestringrequiredDescription
- fromClausestringrequiredDescription
- recursivestringrequiredDescription
- orderBystringrequiredDescription
json
{
"cmsName":"insertProductionSystemName (located in Link Enterprise gui)",
"repository":"filenet_repository_name",
"domain":"filenet_Domain_Name",
"selectedCMS":"filenet",
"selectClause":"someMetadataField",
"whereClause":"This INFOLDER '/someFolderName' AND This = OBJECT('someMetadataValue')",
"fromClause":"metadataClassName",
"recursive":"True",
"orderBy":"someRequiredMetadataField",
"includeSubFolders":"True"
}200
[
{
"someRequiredMetadataField": "someRequiredMetadataValue"
}
]500