Agnostic Guides
...
Developers Guide
SharePoint Endpoints
Read
1min
Link Enterprise provides a web service endpoint that will allow you to retrieve a file or folders metadata or binary content of a file.
Included below are examples of reading a files metadata and it's binary content. (Two separate calls)
Retrieve a file or folders metadata by using sharepoint unique one drive Id.
POST
Request
Body Parameters
cmsName
String
required
Name of the sharepoint system configured in Link Enterprise .
id
String
required
Unique id of sharepoint file or folder.
selectedCMS
String
required
Value should always be set to "sp" to let Link Enterprise know which configured content system to search.
getContent
Boolean
optional
true/false (will retrieve binary of file)
repo
String
required
Sharepoint repository Id. It consists of sharepoint domain name and root site name separated with "/sites/" or ":/teams/"
location
String
required
Sharepoint Document Library location (including any sub site present). Each field is separated with "/".
Retrieve a files binary by using sharepoint one drive Id.
POST
Request
Body Parameters
cmsName
String
required
Name of the sharepoint system configured in Link Enterprise.
id
String
required
Unique id of sharepoint file or folder.
selectedCMS
String
required
Value should always be set to "sp" to let Link Enterprise know which configured content system to search.
repo
String
required
Sharepoint repository Id. It consists of sharepoint domain name and root site name.
location
String
required
Sharepoint Document Library location (including any sub site present). Each field is separated with "/".
tmpDirectory
String
optional
temporary directory where the retrieved the document is stored.
getContent
String
required
true/false (will retrieve binary of file)