Agnostic Guides
...
Developers Guide
SharePoint Endpoints

Update

1min

Link Enterprise provides a web service endpoint that will allow you to update a document or folders metadata.

Update a file or folder metadata
POST
Request
Body Parameters
id
required
String
Unique id of sharepoint file or folder.
cmsName
required
String
Name of the sharepoint system configured in Link Enterprise.
selectedCMS
required
String
Value should always be set to "sp" to let Link Enterprise know which configured content system to search.
type
required
String
Name of metadata template in sharepoint.
mdArray
required
Array
A JSON array where each index is a json object with the keys "md1" and "md2". Where md1 is the column name, and md2 is the value to be inserted in that column. Sharepoint allows multi value field. while updating multi value fields separate the field values with "!DFLOW!".
location
required
String
Sharepoint Document Library location (including any sub site present). Each field is separated with "/".
repository
required
String
Sharepoint repository Id. It consists of sharepoint domain name and root site name separated with "/sites/" or ":/teams/"