Create
2 min
Link Enterprise provides a web service endpoint that will allow you to create a document.
The following endpoint allows the following capabilities.
- Create a File
- Create a File with metadata
Create a File
Create a file with no metadata
POST
https://localhost:82/scrud/create
Body Parameters
- selectedCMSstringrequiredDescription
- cmsNamestringrequiredDescription
- fileLocationstringrequiredDescription
- repositorystringrequiredDescription
- locationstringrequiredDescription
- domainstringrequiredDescription
- checkoutstringDescription
- dateTimeFormatstringrequiredDescription
- checkinAsMinorstringDescription
- findCurrentstringDescription
json
{
"cmsName":"Name of the filenet system configured in Link Enterpri.",
"repository":"Filenet_Repository",
"selectedCMS":"filenet",
"domain":"Domain_Name",
"checkout":false,
"dateTimeFormat":"MM/dd/yyyy hh:mm:ss a z",
"fileLocation":"C:\\someFolder\\someFile.txt",
"selectedCMS":"filenet",
"checkinAsMinor":false,
"findCurrent":false,
"location":"/folderName"
}200
{
"docId": [
"{18CFCD6C-FFBF-CC9C-8780-89272DA000}",
null,
null
]
}500
Create a File (metadata)
Create a file with metadata
POST
http://localhost:82/scrud/create
Body Parameters
- selectedCMSstringrequiredDescription
- cmsNamestringrequiredDescription
- mdArrayArrayrequiredDescription
- fileLocationstringrequiredDescription
- locationstringDescription
- repositorystringrequiredDescription
- domainstringrequiredDescription
- typestringDescription
- checkinAsMinorstringDescription
- findCurrentstringDescription
json
{
"cmsName":"Name of the sharepoint system configured in Link Enterpri.",
"repository":"Filenet_Repository",
"selectedCMS":"filenet",
"domain":"Domain_Name",
"checkout":false,
"dateTimeFormat":"MM/dd/yyyy hh:mm:ss a z",
"fileLocation":"C:\\someFolder\\someFile.txt",
"selectedCMS":"filenet",
"type":"MetadataClassName",
"checkinAsMinor":false,
"findCurrent":false,
"location":"/folderName",
"mdArray":[
{"md1": "metadataField", "md2": "metadataValue"}]
}200
{
"docId": [
"{18CFCD6C-FFBF-CC9C-8780-89272DA00}",
null,
null
]
}500