Search
1 min
Link Enterprise provides a web service endpoint that will allow you to retrieve a subset of documents/folders 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
- repositorystringrequiredDescription
- locationstringrequiredDescription
json
{
"cmsName":"insertProductionSystemName (located in Link Enterprise gui)",
"repository":"<domain_name>/sites/<rootSiteName>",
"whereClause":"insertMetaDataColumnName eq 'insertMetaDataValue'",
"location":"/<subsiteName>/<documentLibraryName>",
"selectedCMS":"sp"
}
200
[
{
"Modified": "2022-10-14T19:46:38Z",
"LinkFilename": "demo.txt",
"ContentType": "Document",
"Edit": "0",
"FileLeafRef": "demo.txt",
"_ComplianceTag": "",
"Created": "2022-10-14T19:44:57Z",
"_DisplayName": "",
"_UIVersionString": "1.0",
"DocIcon": "txt",
"ParentVersionString": "",
"LinkFilenameNoMenu": "demo.txt",
"id": "01CHITTN72QLKGJ5B3RREABCDEF3",
"SapLinkTrigger": "False",
"ParentLeafName": "",
"_ComplianceTagWrittenTime": "",
"_CommentCount": "",
"@odata.etag": "\"64d482fa-3bf4-498c-b628-f9fbRbf33efb,2\"",
"Title": "202",
"_CheckinComment": "",
"FileSizeDisplay": "33456",
"_ComplianceTagUserId": "",
"ItemChildCount": "0",
"Author": "",
"_ComplianceFlags": "",
"Id": "01CHITTN72QLKGJ5B3RREABCDEF3",
"Editor": "",
"_LikeCount": "",
"FolderChildCount": "0"
}
]500