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
String
required
Value should always be set to "filenet" to let Link Enterprise know which configured content system to search.
cmsName
String
required
Name of the filenet system configured in docuflow.
fileLocation
String
required
file location in local system that needs to be stored in filenet.
repository
String
required
filenet repository Value
location
String
required
filenet folder where the document need to be created.
domain
String
required
Filenet Domain name
checkout
String
optional
If true, Enables file checkout
dateTimeFormat
String
required
Update datetime property in this provided format.
checkinAsMinor
String
optional
If true, The document is checkedIn as minor.
findCurrent
String
optional
Enable to search for the latest version of Document.

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