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
required
String
Name of the sharepoint system configured in Link Enterprise .
id
required
String
Unique id of sharepoint file or folder.
selectedCMS
required
String
Value should always be set to "sp" to let Link Enterprise know which configured content system to search.
getContent
optional
Boolean
true/false (will retrieve binary of file)
repo
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 "/".

Retrieve a files binary by using sharepoint one drive Id.
POST
Request
Body Parameters
cmsName
required
String
Name of the sharepoint system configured in Link Enterprise.
id
required
String
Unique id of sharepoint file or folder.
selectedCMS
required
String
Value should always be set to "sp" to let Link Enterprise know which configured content system to search.
repo
required
String
Sharepoint repository Id. It consists of sharepoint domain name and root site name.
location
required
String
Sharepoint Document Library location (including any sub site present). Each field is separated with "/".
tmpDirectory
optional
String
temporary directory where the retrieved the document is stored.
getContent
required
String
true/false (will retrieve binary of file)