Agnostic Guides
...
Developers Guide
FileNet Endpoints

Create

2min

Link Enterprise provides a web service endpoint that will allow you to create a document.

The following endpoint allows the following capabilities.

  1. Create a File
  2. Create a File with metadata



Create a file with no metadata
POST
Request
Body Parameters
selectedCMS
required
String
Value should always be set to "filenet" to let Link Enterprise know which configured content system to search.
cmsName
required
String
Name of the filenet system configured in docuflow.
fileLocation
required
String
file location in local system that needs to be stored in filenet.
repository
required
String
filenet repository Value
location
required
String
filenet folder where the document need to be created.
domain
required
String
Filenet Domain name
checkout
optional
String
If true, Enables file checkout
dateTimeFormat
required
String
Update datetime property in this provided format.
checkinAsMinor
optional
String
If true, The document is checkedIn as minor.
findCurrent
optional
String
Enable to search for the latest version of Document.

Create a file with metadata
POST
Request
Body Parameters
selectedCMS
required
String
Value should always be set to "filenet" to let Link Enterprise know which configured content system to search.
cmsName
required
String
Name of the filenet system configured in docuflow.
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.
fileLocation
required
String
file location in local system that needs to be stored in filenet.
location
optional
String
filenet folder where the document need to be created.
repository
required
String
filenet repository Value
domain
required
String
Filenet Domain name
type
optional
String
Filenet Class name attached to the document. Default is "Document"
checkinAsMinor
optional
String
If true, The document is checkedIn as minor.
findCurrent
optional
String
Enable to search for the latest version of Document.